iTwin / presentation

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

Hierarchies: Learning page for node labels' formatting #665

Closed grigasp closed 1 month ago

grigasp commented 1 month ago

Part of https://github.com/iTwin/presentation/issues/423

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 0aaf1048d2a70ddc66cfc22439691be5accbaea1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------------------------------- | ----- | | @itwin/presentation-hierarchies | Minor | | @itwin/presentation-hierarchies-react | Patch |

Not sure what this means? Click here to learn what changesets are.

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

github-actions[bot] commented 1 month ago

Unified selection benchmark

Benchmark suite Current: 0aaf1048d2a70ddc66cfc22439691be5accbaea1 Previous: b9598f6702bea0f466abae02378a0c958f8e5fe9 Deviation Status
hilite 50k elements 1261.64 ms 1197.81 ms 5.3289% 🚨
hilite 50k elements (P95 of main thread blocks) 45 ms 45 ms 0% 🟰
hilite 50k group elements 237.21 ms 241.39 ms -1.7316% ✅
hilite 50k group elements (P95 of main thread blocks) 31 ms 31 ms 0% 🟰
hilite 1k subjects 47948.88 ms 47428.79 ms 1.0966% 🚨
hilite 1k subjects (P95 of main thread blocks) 33 ms 26 ms 26.9231% 🚨
hilite 50k subcategories 281.25 ms 280.51 ms 0.2638% 🚨
hilite 50k subcategories (P95 of main thread blocks) 32 ms 33 ms -3.0303% ✅
hilite 50k functional 3D elements 25347.16 ms 26510.05 ms -4.3866% ✅
hilite 50k functional 3D elements (P95 of main thread blocks) 35 ms 39 ms -10.2564% ✅
hilite 50k functional 2D elements 6205.87 ms 6091.73 ms 1.8737% 🚨
hilite 50k functional 2D elements (P95 of main thread blocks) 45 ms 37 ms 21.6216% 🚨
compute selection for 50k elements 305.07 ms 309.3 ms -1.3676% ✅
compute selection for 50k elements (P95 of main thread blocks) 31 ms 31 ms 0% 🟰
compute parent selection for 50k elements 358.58 ms 348.94 ms 2.7627% 🚨
compute parent selection for 50k elements (P95 of main thread blocks) 31 ms 32 ms -3.1250% ✅
compute top ancestor selection for 50k elements 565.09 ms 561.28 ms 0.6788% 🚨
compute top ancestor selection for 50k elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
compute category selection for 50k elements 99.12 ms 91.6 ms 8.2096% 🚨
compute category selection for 50k elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
compute model selection for 50k elements 80.07 ms 90.55 ms -11.5737% ✅
compute model selection for 50k elements (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
compute functional selection for 50k 3D elements 443.18 ms 406.3 ms 9.0770% 🚨
compute functional selection for 50k 3D elements (P95 of main thread blocks) 36 ms 31 ms 16.1290% 🚨
compute parent functional selection for 50k 3D elements 443.3 ms 449.19 ms -1.3112% ✅
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 1175.6 ms 1147.78 ms 2.4238% 🚨
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 3153.25 ms 3034.42 ms 3.9161% 🚨
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 3138.63 ms 3011.11 ms 4.2350% 🚨
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 3232.65 ms 2995.01 ms 7.9345% 🚨
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 1 month ago

Hierarchies benchmark

Benchmark suite Current: 0aaf1048d2a70ddc66cfc22439691be5accbaea1 Previous: b9598f6702bea0f466abae02378a0c958f8e5fe9 Deviation Status
flat 50k elements list 4187.79 ms 4090.82 ms 2.3704% 🚨
flat 50k elements list (P95 of main thread blocks) 74 ms 70 ms 5.7143% 🚨
grouping by label 10100.67 ms 9810.32 ms 2.9596% 🚨
grouping by label (P95 of main thread blocks) 61 ms 57 ms 7.0175% 🚨
grouping by class 10153.79 ms 9948.61 ms 2.0624% 🚨
grouping by class (P95 of main thread blocks) 46 ms 39 ms 17.9487% 🚨
grouping by property 10611.61 ms 10461.93 ms 1.4307% 🚨
grouping by property (P95 of main thread blocks) 55 ms 83 ms -33.7349% ✅
grouping by base class (10 classes) 7422.34 ms 7184.68 ms 3.3079% 🚨
grouping by base class (10 classes) (P95 of main thread blocks) 77 ms 72 ms 6.9444% 🚨
grouping by multiple attributes 27711.26 ms 26658.02 ms 3.9509% 🚨
grouping by multiple attributes (P95 of main thread blocks) 52 ms 47 ms 10.6383% 🚨
hide if no children required to finalize root, w/o children 49119.28 ms 45797.8 ms 7.2525% 🚨
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 162.67 ms 152.33 ms 6.7879% 🚨
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.74 ms 38.34 ms 11.4763% 🚨
models tree initial (Baytown) (P95 of main thread blocks) 0 ms 0 ms NaN% 🚨
models tree full (Baytown) 7678.29 ms 7571.11 ms 1.4156% 🚨
models tree full (Baytown) (P95 of main thread blocks) 88 ms 87 ms 1.1494% 🚨

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