Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update iterations to protect against race #1927

Merged
merged 2 commits into from
Jul 10, 2023
Merged

Conversation

spiffcs
Copy link
Contributor

@spiffcs spiffcs commented Jul 10, 2023

No description provided.

spiffcs added 2 commits July 10, 2023 11:00
Signed-off-by: Christopher Phillips <[email protected]>
@github-actions
Copy link

github-actions bot commented Jul 10, 2023

Benchmark Test Results

Benchmark results from the latest changes vs base branch
goos: linux%0Agoarch: amd64%0Apkg: github.com/anchore/syft/test/integration%0Acpu: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz%0A                                                          │ ./.tmp/benchmark-56a3079.txt │%0A                                                          │            sec/op            │%0AImagePackageCatalogers/alpmdb-cataloger-2                                   14.46m ±  3%25%0AImagePackageCatalogers/apkdb-cataloger-2                                    880.3µ ±  2%25%0AImagePackageCatalogers/binary-cataloger-2                                   242.5µ ±  3%25%0AImagePackageCatalogers/dpkgdb-cataloger-2                                   732.6µ ±  4%25%0AImagePackageCatalogers/dotnet-deps-cataloger-2                              1.479m ±  3%25%0AImagePackageCatalogers/go-module-binary-cataloger-2                         112.8µ ±  1%25%0AImagePackageCatalogers/java-cataloger-2                                     16.26m ±  1%25%0AImagePackageCatalogers/graalvm-native-image-cataloger-2                     106.5µ ±  2%25%0AImagePackageCatalogers/javascript-package-cataloger-2                       502.8µ ±  2%25%0AImagePackageCatalogers/nix-store-cataloger-2                                336.9µ ±  4%25%0AImagePackageCatalogers/php-composer-installed-cataloger-2                   972.9µ ±  3%25%0AImagePackageCatalogers/portage-cataloger-2                                  552.0µ ±  4%25%0AImagePackageCatalogers/python-package-cataloger-2                           4.068m ±  6%25%0AImagePackageCatalogers/r-package-cataloger-2                                245.5µ ± 24%25%0AImagePackageCatalogers/rpm-db-cataloger-2                                   662.6µ ±  2%25%0AImagePackageCatalogers/ruby-gemspec-cataloger-2                             1.130m ±  3%25%0AImagePackageCatalogers/sbom-cataloger-2                                     142.2µ ±  1%25%0Ageomean                                                                     742.4µ%0A%0A                                                          │ ./.tmp/benchmark-56a3079.txt │%0A                                                          │             B/op             │%0AImagePackageCatalogers/alpmdb-cataloger-2                                   5.116Mi ± 0%25%0AImagePackageCatalogers/apkdb-cataloger-2                                    204.9Ki ± 0%25%0AImagePackageCatalogers/binary-cataloger-2                                   30.20Ki ± 0%25%0AImagePackageCatalogers/dpkgdb-cataloger-2                                   168.9Ki ± 0%25%0AImagePackageCatalogers/dotnet-deps-cataloger-2                              405.4Ki ± 0%25%0AImagePackageCatalogers/go-module-binary-cataloger-2                         9.906Ki ± 0%25%0AImagePackageCatalogers/java-cataloger-2                                     2.826Mi ± 0%25%0AImagePackageCatalogers/graalvm-native-image-cataloger-2                     8.594Ki ± 0%25%0AImagePackageCatalogers/javascript-package-cataloger-2                       100.9Ki ± 0%25%0AImagePackageCatalogers/nix-store-cataloger-2                                49.13Ki ± 0%25%0AImagePackageCatalogers/php-composer-installed-cataloger-2                   186.7Ki ± 0%25%0AImagePackageCatalogers/portage-cataloger-2                                  119.9Ki ± 0%25%0AImagePackageCatalogers/python-package-cataloger-2                           1.003Mi ± 0%25%0AImagePackageCatalogers/r-package-cataloger-2                                53.30Ki ± 0%25%0AImagePackageCatalogers/rpm-db-cataloger-2                                   180.9Ki ± 0%25%0AImagePackageCatalogers/ruby-gemspec-cataloger-2                             144.0Ki ± 0%25%0AImagePackageCatalogers/sbom-cataloger-2                                     14.20Ki ± 0%25%0Ageomean                                                                     132.7Ki%0A%0A                                                          │ ./.tmp/benchmark-56a3079.txt │%0A                                                          │          allocs/op           │%0AImagePackageCatalogers/alpmdb-cataloger-2                                    87.74k ± 0%25%0AImagePackageCatalogers/apkdb-cataloger-2                                     4.182k ± 0%25%0AImagePackageCatalogers/binary-cataloger-2                                     830.0 ± 0%25%0AImagePackageCatalogers/dpkgdb-cataloger-2                                    3.002k ± 0%25%0AImagePackageCatalogers/dotnet-deps-cataloger-2                               6.338k ± 0%25%0AImagePackageCatalogers/go-module-binary-cataloger-2                           281.0 ± 0%25%0AImagePackageCatalogers/java-cataloger-2                                      39.88k ± 0%25%0AImagePackageCatalogers/graalvm-native-image-cataloger-2                       228.0 ± 0%25%0AImagePackageCatalogers/javascript-package-cataloger-2                        1.404k ± 0%25%0AImagePackageCatalogers/nix-store-cataloger-2                                  895.0 ± 0%25%0AImagePackageCatalogers/php-composer-installed-cataloger-2                    4.079k ± 0%25%0AImagePackageCatalogers/portage-cataloger-2                                   2.268k ± 0%25%0AImagePackageCatalogers/python-package-cataloger-2                            16.44k ± 0%25%0AImagePackageCatalogers/r-package-cataloger-2                                  929.0 ± 0%25%0AImagePackageCatalogers/rpm-db-cataloger-2                                    3.989k ± 0%25%0AImagePackageCatalogers/ruby-gemspec-cataloger-2                              2.447k ± 0%25%0AImagePackageCatalogers/sbom-cataloger-2                                       394.0 ± 0%25%0Ageomean                                                                      2.583k

@spiffcs spiffcs merged commit d21fa84 into main Jul 10, 2023
@spiffcs spiffcs deleted the update-ui-unit-test branch July 10, 2023 15:44
spiffcs added a commit to luhring/syft that referenced this pull request Jul 10, 2023
* main:
  chore: update iterations to protect against race (anchore#1927)
  chore(deps): update bootstrap tools to latest versions (anchore#1922)
  fix: Don't use the actual redis or grpc CPEs for gems (anchore#1926)
spiffcs added a commit that referenced this pull request Jul 11, 2023
* main:
  feat: CLI flag for directory base (#1867)
  Fix CPE gen for k8s python client (#1921)
  chore: update iterations to protect against race (#1927)
  chore(deps): update bootstrap tools to latest versions (#1922)
  fix: Don't use the actual redis or grpc CPEs for gems (#1926)
  fix(install): return with right error code (#1915)
  Remove erroneous Java CPEs from generation (#1918)
  chore(deps): bump golang.org/x/net from 0.11.0 to 0.12.0 (#1916)
  Switch UI to bubbletea (#1888)
  fix: use filepath.EvalSymlinks if os.Readlink fails to evaluate the link (#1884)
  add file source digest support (#1914)
  chore(deps): update bootstrap tools to latest versions (#1908)
  chore(deps): bump golang.org/x/mod from 0.11.0 to 0.12.0 (#1912)
  chore(deps): bump golang.org/x/term from 0.9.0 to 0.10.0 (#1913)
  doc(readme): add installation section with scoop (#1909)
  Refactor source API (#1846)
  chore(deps): update bootstrap tools to latest versions (#1905)
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
* chore: update iterations to protect against race
---------

Signed-off-by: Christopher Phillips <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants