Skip to content

Unindexed app detection is slow for nonstandard apps #1208

@tplobo

Description

@tplobo

Configuration

mas ▁▁▁▁ 5.2.0
slice ▁▁ arm64
slices ▁ arm64
dist ▁▁▁ homebrew/core/mas
origin ▁ https://github.com/mas-cli/mas.git
rev ▁▁▁▁ e84c0658e1dfff2fd1eaf0fc8ef338a2a99b8f67
swift ▁▁ 6.2.3 (swift-6.2.3-RELEASE)
driver ▁ unknown
store ▁▁ DE
region ▁ DE
macos ▁▁ 14.8.4 (23J319)
mac ▁▁▁▁ Mac15,9
cpu ▁▁▁▁ Apple M3 Max
arch ▁▁▁ arm64

mas ▁▁▁▁ 5.2.0
slice ▁▁ arm64
slices ▁ arm64
dist ▁▁▁ homebrew/core/mas
origin ▁ https://github.com/mas-cli/mas.git
rev ▁▁▁▁ e84c0658e1dfff2fd1eaf0fc8ef338a2a99b8f67
swift ▁▁ 6.2.3 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
driver ▁ 1.127.14.1
store ▁▁ DE
region ▁ DE
macos ▁▁ 26.3 (25D125)
mac ▁▁▁▁ Mac16,11
cpu ▁▁▁▁ Apple M4 Pro
arch ▁▁▁ arm64

Bug description

This is a branching of comments made in #1207.

For some time now, mas has started taking a long time to output anything (e.g. ~2min to start running upgrade, >1min to run list). Especially confusing when taking long to run mas upgrade even if it outputs nothing (i.e. nothing to update). This might have started after v5 was released, but this still needs to be confirmed. I'll try to install other versions with homebrew to see if I can isolate the version in which slowness sets in.

Issue is common for two machines running different macOS versions, so two outputs for mas config are given. In the same order as above, here follow the lists of apps (25 and 30 respectively) being used in each computer:

1617089333  AVIF Converter              (2.0.2)
 425264550  Blackmagic Disk Speed Test  (3.4.2)
1381004916  Discovery                   (2.1.0)
 971826370  Extractor                   (1.6)
1512570906  Flowchart Designer 3        (1.2.10)
1483172210  Free Ruler                  (2.0.6)
 682658836  GarageBand                  (10.4.13)
 668208984  GIPHY CAPTURE               (4.2)
1444383602  Goodnotes                   (7.0.36)
 408981434  iMovie                      (10.4.3)
 409183694  Keynote                     (14.5)
 462058435  Microsoft Excel             (16.106.3)
 784801555  Microsoft OneNote           (16.106.3)
 985367838  Microsoft Outlook           (16.106.3)
 462062816  Microsoft PowerPoint        (16.106.3)
 462054704  Microsoft Word              (16.106.3)
 409203825  Numbers                     (14.5)
 409201541  Pages                       (14.5)
 593341977  PDF Attributes              (2.1.2)
 545519333  Prime Video                 (10.120.1)
1477595241  QrScan                      (4.0.2)
1497435571  Simple Comic                (1.9.9)
 425424353  The Unarchiver              (4.3.9)
1295203466  Windows App                 (11.3.3)
1451685025  WireGuard                   (1.0.16)

1168254295  AmorphousDiskMark           (4.0.1)
6748853585  AppGrid                     (1.31)
1617089333  AVIF Converter              (2.0.2)
 425264550  Blackmagic Disk Speed Test  (3.4.2)
1381004916  Discovery                   (2.1.0)
 446243721  Disk Space Analyzer         (6.0)
 971826370  Extractor                   (1.6)
1512570906  Flowchart Designer 3        (1.2.10)
1483172210  Free Ruler                  (2.0.6)
 682658836  GarageBand                  (10.4.13)
 668208984  GIPHY CAPTURE               (4.2)
1444383602  Goodnotes                   (7.0.36)
 408981434  iMovie                      (10.4.4)
 409183694  Keynote                     (14.5)
 784801555  Microsoft OneNote           (16.106.3)
 985367838  Microsoft Outlook           (16.106.3)
 462062816  Microsoft PowerPoint        (16.106.3)
 462054704  Microsoft Word              (16.106.3)
 409203825  Numbers                     (14.5)
 823766827  OneDrive                    (26.002.0105)
 409201541  Pages                       (14.5)
 593341977  PDF Attributes              (2.1.2)
 545519333  Prime Video                 (10.120.1)
1497435571  Simple Comic                (1.9.9)
 425424353  The Unarchiver              (4.3.9)
 310633997  WhatsApp                    (26.8.75)
1295203466  Windows App                 (11.3.3)
1451685025  WireGuard                   (1.0.16)
 497799835  Xcode                       (26.3)
 562211012  Yomu                        (3.16.0)

Steps to reproduce

Run mas upgrade or mas list.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions