Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnaya committed Jun 4, 2021
1 parent ea0857a commit 847b9d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"sandboxes": [
"/codesandbox-examples/sort-array-on-webworker-no-data-copy"
"/codesandbox-examples/sort-array-on-webworker-no-data-copy",
"/codesandbox-examples/comlink-demo-sort-array-on-webworker-no-data-copy"
]
}

3 comments on commit 847b9d3

@Bnaya
Copy link
Owner Author

@Bnaya Bnaya commented on 847b9d3 Jun 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'benchmarkjs, node 16'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.10.

Benchmark suite Current: 847b9d3 Previous: 707695d Ratio
create with 2500 comments. size: 2e6 101 ops/sec (±1.80%) 117 ops/sec (±0.10%) 1.16
save 2500 comments into pre-created OB, size: 2e6 93.24 ops/sec (±3.33%) 111 ops/sec (±2.94%) 1.19
create with all mock data rows. size: 2e6 106 ops/sec (±0.42%) 123 ops/sec (±0.28%) 1.16
A-Z object keys 23213 ops/sec (±0.20%) 28507 ops/sec (±0.25%) 1.23
A-Z object prop Lookup in operator - non-existing 6614636 ops/sec (±0.26%) 8038884 ops/sec (±0.19%) 1.22
A-Z object prop Lookup in operator - existing 1307404 ops/sec (±0.36%) 1902145 ops/sec (±0.58%) 1.45
A-Z object prop access T 1260797 ops/sec (±0.21%) 1850388 ops/sec (±0.37%) 1.47
A-Z object prop access Z 1272768 ops/sec (±0.26%) 1808468 ops/sec (±0.51%) 1.42
OB_WITH_NA2Z_KEYS object keys 13580 ops/sec (±0.17%) 17480 ops/sec (±0.10%) 1.29
OB_WITH_NA2Z_KEYS object prop Lookup in operator - non-existing 777489 ops/sec (±0.23%) 1055052 ops/sec (±0.14%) 1.36
OB_WITH_NA2Z_KEYS object prop Lookup in operator - existing 784572 ops/sec (±0.69%) 1019159 ops/sec (±0.15%) 1.30
OB_WITH_NA2Z_KEYS object prop access 14ABCDEFGHIJKLMNOPQRSTUVWXYZ 797586 ops/sec (±0.28%) 1007630 ops/sec (±0.22%) 1.26
OB_WITH_NA2Z_KEYS object prop access 3ABCDEFGHIJKLMNOPQRSTUVWXYZ 813746 ops/sec (±0.23%) 1021690 ops/sec (±0.22%) 1.26
Array access. length: 1000 2143976 ops/sec (±0.21%) 2404292 ops/sec (±0.20%) 1.12
object memory free. K1000RowsMockData, pre-created OB, size: 2e6 12.36 ops/sec (±1.43%) 14.1 ops/sec (±1.61%) 1.14

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

CC: @Bnaya

@Bnaya
Copy link
Owner Author

@Bnaya Bnaya commented on 847b9d3 Jun 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

benchmarkjs, node 14

Benchmark suite Current: 847b9d3 Previous: 707695d Ratio
create empty, size: 2e6 6017 ops/sec (±2.88%) 7981 ops/sec (±1.97%) 1.33
create with 2500 comments. size: 2e6 87.81 ops/sec (±0.82%) 101 ops/sec (±0.54%) 1.15
save 2500 comments into pre-created OB, size: 2e6 83.7 ops/sec (±0.76%) 95.79 ops/sec (±2.01%) 1.14
create with all mock data rows. size: 2e6 89.34 ops/sec (±1.03%) 105 ops/sec (±0.86%) 1.18
A-Z object keys 18383 ops/sec (±1.19%) 24007 ops/sec (±0.36%) 1.31
A-Z object prop Lookup in operator - non-existing 6541604 ops/sec (±1.06%) 7451743 ops/sec (±0.34%) 1.14
A-Z object prop Lookup in operator - existing 1212983 ops/sec (±0.78%) 1565541 ops/sec (±0.41%) 1.29
A-Z object prop access T 1133465 ops/sec (±0.58%) 1514263 ops/sec (±0.35%) 1.34
A-Z object prop access Z 1118748 ops/sec (±0.79%) 1505365 ops/sec (±0.26%) 1.35
OB_WITH_NA2Z_KEYS object keys 11351 ops/sec (±0.78%) 13970 ops/sec (±0.39%) 1.23
OB_WITH_NA2Z_KEYS object prop Lookup in operator - non-existing 690589 ops/sec (±0.88%) 854889 ops/sec (±0.35%) 1.24
OB_WITH_NA2Z_KEYS object prop Lookup in operator - existing 666921 ops/sec (±1.00%) 841263 ops/sec (±0.42%) 1.26
OB_WITH_NA2Z_KEYS object prop access 14ABCDEFGHIJKLMNOPQRSTUVWXYZ 651154 ops/sec (±0.81%) 815519 ops/sec (±0.36%) 1.25
OB_WITH_NA2Z_KEYS object prop access 3ABCDEFGHIJKLMNOPQRSTUVWXYZ 662667 ops/sec (±0.63%) 826043 ops/sec (±0.42%) 1.25
Array access. length: 1000 1886104 ops/sec (±0.77%) 2302339 ops/sec (±0.59%) 1.22
object memory free. K1000RowsMockData, pre-created OB, size: 2e6 8.84 ops/sec (±1.94%) 12.51 ops/sec (±1.84%) 1.42

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

@Bnaya
Copy link
Owner Author

@Bnaya Bnaya commented on 847b9d3 Jun 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'benchmarkjs, node 14'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.10.

Benchmark suite Current: 847b9d3 Previous: 707695d Ratio
create empty, size: 2e6 6017 ops/sec (±2.88%) 7981 ops/sec (±1.97%) 1.33
create with 2500 comments. size: 2e6 87.81 ops/sec (±0.82%) 101 ops/sec (±0.54%) 1.15
save 2500 comments into pre-created OB, size: 2e6 83.7 ops/sec (±0.76%) 95.79 ops/sec (±2.01%) 1.14
create with all mock data rows. size: 2e6 89.34 ops/sec (±1.03%) 105 ops/sec (±0.86%) 1.18
A-Z object keys 18383 ops/sec (±1.19%) 24007 ops/sec (±0.36%) 1.31
A-Z object prop Lookup in operator - non-existing 6541604 ops/sec (±1.06%) 7451743 ops/sec (±0.34%) 1.14
A-Z object prop Lookup in operator - existing 1212983 ops/sec (±0.78%) 1565541 ops/sec (±0.41%) 1.29
A-Z object prop access T 1133465 ops/sec (±0.58%) 1514263 ops/sec (±0.35%) 1.34
A-Z object prop access Z 1118748 ops/sec (±0.79%) 1505365 ops/sec (±0.26%) 1.35
OB_WITH_NA2Z_KEYS object keys 11351 ops/sec (±0.78%) 13970 ops/sec (±0.39%) 1.23
OB_WITH_NA2Z_KEYS object prop Lookup in operator - non-existing 690589 ops/sec (±0.88%) 854889 ops/sec (±0.35%) 1.24
OB_WITH_NA2Z_KEYS object prop Lookup in operator - existing 666921 ops/sec (±1.00%) 841263 ops/sec (±0.42%) 1.26
OB_WITH_NA2Z_KEYS object prop access 14ABCDEFGHIJKLMNOPQRSTUVWXYZ 651154 ops/sec (±0.81%) 815519 ops/sec (±0.36%) 1.25
OB_WITH_NA2Z_KEYS object prop access 3ABCDEFGHIJKLMNOPQRSTUVWXYZ 662667 ops/sec (±0.63%) 826043 ops/sec (±0.42%) 1.25
Array access. length: 1000 1886104 ops/sec (±0.77%) 2302339 ops/sec (±0.59%) 1.22
object memory free. K1000RowsMockData, pre-created OB, size: 2e6 8.84 ops/sec (±1.94%) 12.51 ops/sec (±1.84%) 1.42

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

CC: @Bnaya

Please sign in to comment.