iTwin / presentation

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

Loads tests: Add Models tree first branch tests #651

Closed grigasp closed 2 months ago

grigasp commented 2 months ago

Also:

changeset-bot[bot] commented 2 months ago

⚠️ No Changeset found

Latest commit: b10d762993e3146622aa80a1c4076f2545fb132c

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: b10d762993e3146622aa80a1c4076f2545fb132c Previous: 913e0305841ac0be650b5b7db06df68297a2bedc Deviation Status
hilite 50k elements 1189.92 ms 1201.7 ms -0.9803%
hilite 50k elements (P95 of main thread blocks) 45 ms 47 ms -4.2553%
hilite 50k group elements 233.18 ms 231.28 ms 0.8215% 🚨
hilite 50k group elements (P95 of main thread blocks) 31 ms 31 ms 0% 🟰
hilite 1k subjects 51275.86 ms 47432.5 ms 8.1028% 🚨
hilite 1k subjects (P95 of main thread blocks) 26 ms 30 ms -13.3333%
hilite 50k subcategories 290.73 ms 271.04 ms 7.2646% 🚨
hilite 50k subcategories (P95 of main thread blocks) 31 ms 32 ms -3.1250%
hilite 50k functional 3D elements 25654.56 ms 25815.45 ms -0.6232%
hilite 50k functional 3D elements (P95 of main thread blocks) 35 ms 36 ms -2.7778%
hilite 50k functional 2D elements 6130.81 ms 6191.13 ms -0.9743%
hilite 50k functional 2D elements (P95 of main thread blocks) 31 ms 37 ms -16.2162%
compute selection for 50k elements 304.14 ms 308.31 ms -1.3525%
compute selection for 50k elements (P95 of main thread blocks) 31 ms 31 ms 0% 🟰
compute parent selection for 50k elements 338.88 ms 347.72 ms -2.5423%
compute parent selection for 50k elements (P95 of main thread blocks) 31 ms 31 ms 0% 🟰
compute top ancestor selection for 50k elements 579.06 ms 560.16 ms 3.3740% 🚨
compute top ancestor selection for 50k elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
compute category selection for 50k elements 94.48 ms 102.18 ms -7.5357%
compute category selection for 50k elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
compute model selection for 50k elements 75.08 ms 76.64 ms -2.0355%
compute model selection for 50k elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
compute functional selection for 50k 3D elements 406.72 ms 444.57 ms -8.5138%
compute functional selection for 50k 3D elements (P95 of main thread blocks) 31 ms 33 ms -6.0606%
compute parent functional selection for 50k 3D elements 447.01 ms 441.08 ms 1.3444% 🚨
compute parent functional selection for 50k 3D elements (P95 of main thread blocks) 31 ms 31 ms 0% 🟰
compute top ancestor functional selection for 50k 3D elements 1221.57 ms 1136.96 ms 7.4418% 🚨
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 3177.96 ms 2942.2 ms 8.0131% 🚨
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 3193.87 ms 3017.71 ms 5.8375% 🚨
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 3221.51 ms 3001.27 ms 7.3382% 🚨
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: b10d762993e3146622aa80a1c4076f2545fb132c Previous: 913e0305841ac0be650b5b7db06df68297a2bedc Deviation Status
flat 50k elements list 4061.62 ms 3995.81 ms 1.6470% 🚨
flat 50k elements list (P95 of main thread blocks) 72 ms 68 ms 5.8824% 🚨
grouping by label 9956.99 ms 9797.43 ms 1.6286% 🚨
grouping by label (P95 of main thread blocks) 61 ms 61 ms 0% 🟰
grouping by class 9945.45 ms 9891.41 ms 0.5463% 🚨
grouping by class (P95 of main thread blocks) 47 ms 41 ms 14.6341% 🚨
grouping by property 10484.62 ms 10326.34 ms 1.5328% 🚨
grouping by property (P95 of main thread blocks) 85 ms 84 ms 1.1905% 🚨
grouping by base class (10 classes) 7353.61 ms 7171.13 ms 2.5446% 🚨
grouping by base class (10 classes) (P95 of main thread blocks) 80 ms 73 ms 9.5890% 🚨
grouping by multiple attributes 26978.41 ms 27123.5 ms -0.5349%
grouping by multiple attributes (P95 of main thread blocks) 69 ms 70 ms -1.4286%
hide if no children required to finalize root, w/o children 45925.08 ms 44232.77 ms 3.8259% 🚨
hide if no children required to finalize root, w/o children (P95 of main thread blocks) 38 ms 38 ms 0% 🟰
hide if no children required to finalize root, w/ children 159.37 ms 153.29 ms 3.9663% 🚨
hide if no children required to finalize root, w/ children (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
models tree initial (Baytown) 39.34 ms 37.47 ms 4.9907% 🚨
models tree initial (Baytown) (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
models tree full (Baytown) 7606.61 ms 7498.58 ms 1.4407% 🚨
models tree full (Baytown) (P95 of main thread blocks) 89 ms 86 ms 3.4884% 🚨

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