iTwin / presentation

Monorepo for iTwin.js Presentation Library
https://www.itwinjs.org/presentation/
MIT License
4 stars 0 forks source link

Load tests: Accept `brotli` compressed data #653

Closed grigasp closed 2 months ago

grigasp commented 2 months ago

In response to https://github.com/iTwin/presentation/issues/601#issuecomment-2191902452

changeset-bot[bot] commented 2 months ago

⚠️ No Changeset found

Latest commit: d0335ef426be8c45224b9ae6e824082884449b3b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 2 months ago

Unified selection benchmark

Benchmark suite Current: d0335ef426be8c45224b9ae6e824082884449b3b Previous: 913e0305841ac0be650b5b7db06df68297a2bedc Deviation Status
hilite 50k elements 1226.46 ms 1201.7 ms 2.0604% 🚨
hilite 50k elements (P95 of main thread blocks) 65 ms 47 ms 38.2979% 🚨
hilite 50k group elements 236.23 ms 231.28 ms 2.1403% 🚨
hilite 50k group elements (P95 of main thread blocks) 31 ms 31 ms 0% 🟰
hilite 1k subjects 48018.33 ms 47432.5 ms 1.2351% 🚨
hilite 1k subjects (P95 of main thread blocks) 31 ms 30 ms 3.3333% 🚨
hilite 50k subcategories 280.11 ms 271.04 ms 3.3464% 🚨
hilite 50k subcategories (P95 of main thread blocks) 33 ms 32 ms 3.1250% 🚨
hilite 50k functional 3D elements 25209.82 ms 25815.45 ms -2.3460%
hilite 50k functional 3D elements (P95 of main thread blocks) 35 ms 36 ms -2.7778%
hilite 50k functional 2D elements 6060.27 ms 6191.13 ms -2.1137%
hilite 50k functional 2D elements (P95 of main thread blocks) 38 ms 37 ms 2.7027% 🚨
compute selection for 50k elements 359.48 ms 308.31 ms 16.5969% 🚨
compute selection for 50k elements (P95 of main thread blocks) 36 ms 31 ms 16.1290% 🚨
compute parent selection for 50k elements 341.81 ms 347.72 ms -1.6996%
compute parent selection for 50k elements (P95 of main thread blocks) 34 ms 31 ms 9.6774% 🚨
compute top ancestor selection for 50k elements 554.45 ms 560.16 ms -1.0194%
compute top ancestor selection for 50k elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
compute category selection for 50k elements 90.22 ms 102.18 ms -11.7048%
compute category selection for 50k elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
compute model selection for 50k elements 85.73 ms 76.64 ms 11.8606% 🚨
compute model selection for 50k elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
compute functional selection for 50k 3D elements 393.37 ms 444.57 ms -11.5167%
compute functional selection for 50k 3D elements (P95 of main thread blocks) 32 ms 33 ms -3.0303%
compute parent functional selection for 50k 3D elements 459.22 ms 441.08 ms 4.1126% 🚨
compute parent functional selection for 50k 3D elements (P95 of main thread blocks) 34 ms 31 ms 9.6774% 🚨
compute top ancestor functional selection for 50k 3D elements 1127.62 ms 1136.96 ms -0.8215%
compute top ancestor functional selection for 50k 3D elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
compute functional selection for 50k 2D elements 2958.49 ms 2942.2 ms 0.5537% 🚨
compute functional selection for 50k 2D elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
compute parent functional selection for 50k 2D elements 2957.71 ms 3017.71 ms -1.9883%
compute parent functional selection for 50k 2D elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
compute top ancestor functional selection for 50k 2D elements 2998.56 ms 3001.27 ms -0.0903%
compute top ancestor functional selection for 50k 2D elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨

This comment was automatically generated by workflow using github-action-benchmark.

github-actions[bot] commented 2 months ago

Hierarchies benchmark

Benchmark suite Current: d0335ef426be8c45224b9ae6e824082884449b3b Previous: 05658f5c7a32f0a5ea08e6727e6f2542a0125c51 Deviation Status
flat 50k elements list 4166.05 ms 4146.57 ms 0.4698% 🚨
flat 50k elements list (P95 of main thread blocks) 74 ms 74 ms 0% 🟰
grouping by label 10009.63 ms 10002.29 ms 0.0734% 🚨
grouping by label (P95 of main thread blocks) 58 ms 61 ms -4.9180%
grouping by class 10185.02 ms 10248.82 ms -0.6225%
grouping by class (P95 of main thread blocks) 51 ms 45 ms 13.3333% 🚨
grouping by property 10806.78 ms 10715.54 ms 0.8515% 🚨
grouping by property (P95 of main thread blocks) 51 ms 67 ms -23.8806%
grouping by base class (10 classes) 7520.06 ms 7474.15 ms 0.6143% 🚨
grouping by base class (10 classes) (P95 of main thread blocks) 82 ms 82 ms 0% 🟰
grouping by multiple attributes 27568.26 ms 27052.99 ms 1.9047% 🚨
grouping by multiple attributes (P95 of main thread blocks) 52 ms 54 ms -3.7037%
hide if no children required to finalize root, w/o children 47997.38 ms 45774.59 ms 4.8559% 🚨
hide if no children required to finalize root, w/o children (P95 of main thread blocks) 41 ms 38 ms 7.8947% 🚨
hide if no children required to finalize root, w/ children 161.99 ms 157.97 ms 2.5448% 🚨
hide if no children required to finalize root, w/ children (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
models tree initial (Baytown) 42.27 ms 40.93 ms 3.2739% 🚨
models tree initial (Baytown) (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
models tree full (Baytown) 7777.04 ms 7645.58 ms 1.7194% 🚨
models tree full (Baytown) (P95 of main thread blocks) 88 ms 84 ms 4.7619% 🚨

This comment was automatically generated by workflow using github-action-benchmark.