-
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update data structure related to Tree
- Loading branch information
Showing
1 changed file
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a3170de
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go Benchmark
BenchmarkDocument/constructor_test - ns/op
1850
ns/op1631
ns/op1.13
BenchmarkDocument/constructor_test - B/op
984
B/op984
B/op1
BenchmarkDocument/constructor_test - allocs/op
16
allocs/op16
allocs/op1
BenchmarkDocument/status_test - ns/op
1045
ns/op1568
ns/op0.67
BenchmarkDocument/status_test - B/op
952
B/op952
B/op1
BenchmarkDocument/status_test - allocs/op
14
allocs/op14
allocs/op1
BenchmarkDocument/equals_test - ns/op
10540
ns/op9842
ns/op1.07
BenchmarkDocument/equals_test - B/op
6192
B/op6192
B/op1
BenchmarkDocument/equals_test - allocs/op
106
allocs/op106
allocs/op1
BenchmarkDocument/nested_update_test - ns/op
26133
ns/op25128
ns/op1.04
BenchmarkDocument/nested_update_test - B/op
11689
B/op11689
B/op1
BenchmarkDocument/nested_update_test - allocs/op
248
allocs/op248
allocs/op1
BenchmarkDocument/delete_test - ns/op
34526
ns/op33223
ns/op1.04
BenchmarkDocument/delete_test - B/op
14913
B/op14913
B/op1
BenchmarkDocument/delete_test - allocs/op
327
allocs/op327
allocs/op1
BenchmarkDocument/object_test - ns/op
12301
ns/op11854
ns/op1.04
BenchmarkDocument/object_test - B/op
6449
B/op6449
B/op1
BenchmarkDocument/object_test - allocs/op
110
allocs/op110
allocs/op1
BenchmarkDocument/array_test - ns/op
48870
ns/op40251
ns/op1.21
BenchmarkDocument/array_test - B/op
11546
B/op11546
B/op1
BenchmarkDocument/array_test - allocs/op
264
allocs/op264
allocs/op1
BenchmarkDocument/text_test - ns/op
46577
ns/op42988
ns/op1.08
BenchmarkDocument/text_test - B/op
14618
B/op14618
B/op1
BenchmarkDocument/text_test - allocs/op
470
allocs/op470
allocs/op1
BenchmarkDocument/text_composition_test - ns/op
45682
ns/op44497
ns/op1.03
BenchmarkDocument/text_composition_test - B/op
18002
B/op18002
B/op1
BenchmarkDocument/text_composition_test - allocs/op
471
allocs/op471
allocs/op1
BenchmarkDocument/rich_text_test - ns/op
119356
ns/op121385
ns/op0.98
BenchmarkDocument/rich_text_test - B/op
36807
B/op36807
B/op1
BenchmarkDocument/rich_text_test - allocs/op
1131
allocs/op1131
allocs/op1
BenchmarkDocument/counter_test - ns/op
25866
ns/op24778
ns/op1.04
BenchmarkDocument/counter_test - B/op
9969
B/op9971
B/op1.00
BenchmarkDocument/counter_test - allocs/op
235
allocs/op235
allocs/op1
BenchmarkDocument/text_edit_gc_100 - ns/op
4583946
ns/op4953916
ns/op0.93
BenchmarkDocument/text_edit_gc_100 - B/op
1553303
B/op1553154
B/op1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op
17162
allocs/op17162
allocs/op1
BenchmarkDocument/text_edit_gc_1000 - ns/op
366482110
ns/op415539332
ns/op0.88
BenchmarkDocument/text_edit_gc_1000 - B/op
136629474
B/op136654077
B/op1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op
210686
allocs/op210807
allocs/op1.00
BenchmarkDocument/text_split_gc_100 - ns/op
5289847
ns/op5163744
ns/op1.02
BenchmarkDocument/text_split_gc_100 - B/op
2217961
B/op2217867
B/op1.00
BenchmarkDocument/text_split_gc_100 - allocs/op
16591
allocs/op16589
allocs/op1.00
BenchmarkDocument/text_split_gc_1000 - ns/op
415439747
ns/op459261506
ns/op0.90
BenchmarkDocument/text_split_gc_1000 - B/op
214874269
B/op214825368
B/op1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op
211499
allocs/op211278
allocs/op1.00
BenchmarkDocument/text_delete_all_10000 - ns/op
21684538
ns/op21640628
ns/op1.00
BenchmarkDocument/text_delete_all_10000 - B/op
5903595
B/op5904350
B/op1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op
41123
allocs/op41125
allocs/op1.00
BenchmarkDocument/text_delete_all_100000 - ns/op
271782334
ns/op293915504
ns/op0.92
BenchmarkDocument/text_delete_all_100000 - B/op
53831596
B/op53849444
B/op1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op
415943
allocs/op416019
allocs/op1.00
BenchmarkDocument/text_100 - ns/op
379109
ns/op368364
ns/op1.03
BenchmarkDocument/text_100 - B/op
118211
B/op118211
B/op1
BenchmarkDocument/text_100 - allocs/op
5074
allocs/op5074
allocs/op1
BenchmarkDocument/text_1000 - ns/op
4174589
ns/op4020698
ns/op1.04
BenchmarkDocument/text_1000 - B/op
1152831
B/op1152828
B/op1.00
BenchmarkDocument/text_1000 - allocs/op
50078
allocs/op50078
allocs/op1
BenchmarkDocument/array_1000 - ns/op
2057883
ns/op1982625
ns/op1.04
BenchmarkDocument/array_1000 - B/op
1102649
B/op1102720
B/op1.00
BenchmarkDocument/array_1000 - allocs/op
11867
allocs/op11867
allocs/op1
BenchmarkDocument/array_10000 - ns/op
23647028
ns/op24133350
ns/op0.98
BenchmarkDocument/array_10000 - B/op
9906521
B/op9908265
B/op1.00
BenchmarkDocument/array_10000 - allocs/op
120716
allocs/op120725
allocs/op1.00
BenchmarkDocument/array_gc_100 - ns/op
221741
ns/op218206
ns/op1.02
BenchmarkDocument/array_gc_100 - B/op
98165
B/op98170
B/op1.00
BenchmarkDocument/array_gc_100 - allocs/op
1243
allocs/op1243
allocs/op1
BenchmarkDocument/array_gc_1000 - ns/op
2395364
ns/op2439002
ns/op0.98
BenchmarkDocument/array_gc_1000 - B/op
1170499
B/op1170334
B/op1.00
BenchmarkDocument/array_gc_1000 - allocs/op
12906
allocs/op12906
allocs/op1
BenchmarkDocument/counter_1000 - ns/op
355198
ns/op348837
ns/op1.02
BenchmarkDocument/counter_1000 - B/op
198535
B/op198533
B/op1.00
BenchmarkDocument/counter_1000 - allocs/op
6503
allocs/op6503
allocs/op1
BenchmarkDocument/counter_10000 - ns/op
3847450
ns/op3797783
ns/op1.01
BenchmarkDocument/counter_10000 - B/op
2165439
B/op2165466
B/op1.00
BenchmarkDocument/counter_10000 - allocs/op
69510
allocs/op69510
allocs/op1
BenchmarkDocument/object_1000 - ns/op
2189626
ns/op2176596
ns/op1.01
BenchmarkDocument/object_1000 - B/op
1451620
B/op1451413
B/op1.00
BenchmarkDocument/object_1000 - allocs/op
9916
allocs/op9915
allocs/op1.00
BenchmarkDocument/object_10000 - ns/op
27891239
ns/op29075180
ns/op0.96
BenchmarkDocument/object_10000 - B/op
12367596
B/op12368142
B/op1.00
BenchmarkDocument/object_10000 - allocs/op
101214
allocs/op101216
allocs/op1.00
BenchmarkRPC/client_to_server - ns/op
511210428
ns/op623741911
ns/op0.82
BenchmarkRPC/client_to_server - B/op
12482900
B/op12446728
B/op1.00
BenchmarkRPC/client_to_server - allocs/op
177308
allocs/op177074
allocs/op1.00
BenchmarkRPC/client_to_client_via_server - ns/op
843296038
ns/op1007493091
ns/op0.84
BenchmarkRPC/client_to_client_via_server - B/op
22612484
B/op22360952
B/op1.01
BenchmarkRPC/client_to_client_via_server - allocs/op
331064
allocs/op315734
allocs/op1.05
BenchmarkRPC/attach_large_document - ns/op
1768706460
ns/op1462175961
ns/op1.21
BenchmarkRPC/attach_large_document - B/op
1811296976
B/op1799019544
B/op1.01
BenchmarkRPC/attach_large_document - allocs/op
9888
allocs/op9450
allocs/op1.05
BenchmarkRPC/adminCli_to_server - ns/op
730511170
ns/op824637910
ns/op0.89
BenchmarkRPC/adminCli_to_server - B/op
20393376
B/op20415996
B/op1.00
BenchmarkRPC/adminCli_to_server - allocs/op
321613
allocs/op321647
allocs/op1.00
BenchmarkLocker - ns/op
148.6
ns/op144.4
ns/op1.03
BenchmarkLocker - B/op
16
B/op16
B/op1
BenchmarkLocker - allocs/op
1
allocs/op1
allocs/op1
BenchmarkLockerParallel - ns/op
149.1
ns/op142.7
ns/op1.04
BenchmarkLockerParallel - B/op
0
B/op0
B/opNaN
BenchmarkLockerParallel - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkLockerMoreKeys - ns/op
419.6
ns/op330.2
ns/op1.27
BenchmarkLockerMoreKeys - B/op
14
B/op15
B/op0.93
BenchmarkLockerMoreKeys - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkSync/memory_sync_10_test - ns/op
8766
ns/op8751
ns/op1.00
BenchmarkSync/memory_sync_10_test - B/op
1284
B/op1284
B/op1
BenchmarkSync/memory_sync_10_test - allocs/op
38
allocs/op38
allocs/op1
BenchmarkSync/memory_sync_100_test - ns/op
81294
ns/op79832
ns/op1.02
BenchmarkSync/memory_sync_100_test - B/op
8721
B/op8908
B/op0.98
BenchmarkSync/memory_sync_100_test - allocs/op
278
allocs/op289
allocs/op0.96
BenchmarkSync/memory_sync_1000_test - ns/op
800857
ns/op763146
ns/op1.05
BenchmarkSync/memory_sync_1000_test - B/op
81775
B/op82936
B/op0.99
BenchmarkSync/memory_sync_1000_test - allocs/op
2580
allocs/op2647
allocs/op0.97
BenchmarkSync/memory_sync_10000_test - ns/op
8666963
ns/op8311071
ns/op1.04
BenchmarkSync/memory_sync_10000_test - B/op
870397
B/op879987
B/op0.99
BenchmarkSync/memory_sync_10000_test - allocs/op
27088
allocs/op28295
allocs/op0.96
BenchmarkTextEditing - ns/op
31161618328
ns/op32727791991
ns/op0.95
BenchmarkTextEditing - B/op
8457658640
B/op8456442864
B/op1.00
BenchmarkTextEditing - allocs/op
20617743
allocs/op20611911
allocs/op1.00
This comment was automatically generated by workflow using github-action-benchmark.