-
-
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.
- Loading branch information
1 parent
1dda134
commit ded2576
Showing
2 changed files
with
12 additions
and
9 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
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
ded2576
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
1516
ns/op 752 B/op 12 allocs/op1545
ns/op 752 B/op 12 allocs/op0.98
BenchmarkDocument/status_test
787.5
ns/op 720 B/op 10 allocs/op1168
ns/op 720 B/op 10 allocs/op0.67
BenchmarkDocument/equals_test
8482
ns/op 5072 B/op 85 allocs/op8895
ns/op 5072 B/op 85 allocs/op0.95
BenchmarkDocument/nested_update_test
25350
ns/op 11033 B/op 235 allocs/op26694
ns/op 11033 B/op 235 allocs/op0.95
BenchmarkDocument/delete_test
31806
ns/op 14163 B/op 310 allocs/op34117
ns/op 14163 B/op 310 allocs/op0.93
BenchmarkDocument/object_test
13500
ns/op 5792 B/op 97 allocs/op11859
ns/op 5792 B/op 97 allocs/op1.14
BenchmarkDocument/array_test
40421
ns/op 10889 B/op 251 allocs/op42645
ns/op 10890 B/op 251 allocs/op0.95
BenchmarkDocument/text_test
43448
ns/op 14057 B/op 456 allocs/op45440
ns/op 14058 B/op 456 allocs/op0.96
BenchmarkDocument/text_composition_test
45036
ns/op 17538 B/op 461 allocs/op46261
ns/op 17538 B/op 461 allocs/op0.97
BenchmarkDocument/rich_text_test
117804
ns/op 36006 B/op 1108 allocs/op125421
ns/op 36016 B/op 1108 allocs/op0.94
BenchmarkDocument/counter_test
22559
ns/op 9058 B/op 212 allocs/op23699
ns/op 9057 B/op 212 allocs/op0.95
BenchmarkDocument/text_edit_gc_100
4936837
ns/op 1552512 B/op 17148 allocs/op4695110
ns/op 1552945 B/op 17150 allocs/op1.05
BenchmarkDocument/text_edit_gc_1000
400885826
ns/op 136619192 B/op 210641 allocs/op373729523
ns/op 136614104 B/op 210613 allocs/op1.07
BenchmarkDocument/text_split_gc_100
5337886
ns/op 2217188 B/op 16576 allocs/op5310214
ns/op 2217268 B/op 16575 allocs/op1.01
BenchmarkDocument/text_split_gc_1000
451275612
ns/op 214877816 B/op 211512 allocs/op456030707
ns/op 214829213 B/op 211274 allocs/op0.99
BenchmarkDocument/text_delete_all_10000
21026411
ns/op 5904180 B/op 41120 allocs/op20758627
ns/op 5903529 B/op 41120 allocs/op1.01
BenchmarkDocument/text_delete_all_100000
261939173
ns/op 53839886 B/op 415970 allocs/op277125629
ns/op 53842246 B/op 415985 allocs/op0.95
BenchmarkDocument/text_100
366394
ns/op 117747 B/op 5064 allocs/op386317
ns/op 117750 B/op 5064 allocs/op0.95
BenchmarkDocument/text_1000
4031888
ns/op 1152338 B/op 50068 allocs/op4349761
ns/op 1152368 B/op 50068 allocs/op0.93
BenchmarkDocument/array_1000
2041764
ns/op 1102139 B/op 11854 allocs/op2228492
ns/op 1102265 B/op 11855 allocs/op0.92
BenchmarkDocument/array_10000
23661258
ns/op 9907663 B/op 120711 allocs/op24525672
ns/op 9906337 B/op 120705 allocs/op0.96
BenchmarkDocument/array_gc_100
216312
ns/op 97424 B/op 1227 allocs/op223669
ns/op 97414 B/op 1226 allocs/op0.97
BenchmarkDocument/array_gc_1000
2357756
ns/op 1169800 B/op 12890 allocs/op2323875
ns/op 1169572 B/op 12889 allocs/op1.01
BenchmarkDocument/counter_1000
351676
ns/op 197877 B/op 6490 allocs/op330728
ns/op 197877 B/op 6490 allocs/op1.06
BenchmarkDocument/counter_10000
3790654
ns/op 2164808 B/op 69497 allocs/op3709166
ns/op 2164835 B/op 69497 allocs/op1.02
BenchmarkDocument/object_1000
2322675
ns/op 1450712 B/op 9902 allocs/op2176832
ns/op 1450706 B/op 9902 allocs/op1.07
BenchmarkDocument/object_10000
27096058
ns/op 12368352 B/op 101204 allocs/op25235487
ns/op 12366848 B/op 101199 allocs/op1.07
BenchmarkRPC/client_to_server
659531110
ns/op 18442052 B/op 295022 allocs/op531950074
ns/op 18897104 B/op 304291 allocs/op1.24
BenchmarkRPC/client_to_client_via_server
1107919431
ns/op 30052488 B/op 458925 allocs/op915461624
ns/op 34319028 B/op 560752 allocs/op1.21
BenchmarkRPC/attach_large_document
1573334286
ns/op 2147038832 B/op 10095 allocs/op1680941992
ns/op 2155547248 B/op 9927 allocs/op0.94
BenchmarkRPC/adminCli_to_server
777948516
ns/op 20401080 B/op 322119 allocs/op672776222
ns/op 20400180 B/op 322105 allocs/op1.16
BenchmarkLocker
149.7
ns/op 16 B/op 1 allocs/op141.3
ns/op 16 B/op 1 allocs/op1.06
BenchmarkLockerParallel
192.3
ns/op 0 B/op 0 allocs/op180.8
ns/op 0 B/op 0 allocs/op1.06
BenchmarkLockerMoreKeys
377.7
ns/op 14 B/op 0 allocs/op479.8
ns/op 13 B/op 0 allocs/op0.79
BenchmarkSync/memory_sync_10_test
8871
ns/op 1340 B/op 39 allocs/op8725
ns/op 1338 B/op 39 allocs/op1.02
BenchmarkSync/memory_sync_100_test
74912
ns/op 8989 B/op 292 allocs/op82836
ns/op 8713 B/op 275 allocs/op0.90
BenchmarkSync/memory_sync_1000_test
704058
ns/op 82786 B/op 2638 allocs/op790827
ns/op 81867 B/op 2581 allocs/op0.89
BenchmarkSync/memory_sync_10000_test
7440572
ns/op 872133 B/op 28099 allocs/op8059162
ns/op 869299 B/op 27283 allocs/op0.92
BenchmarkTextEditing
31646808057
ns/op 8436264192 B/op 19835457 allocs/op30303944825
ns/op 8435794576 B/op 19834770 allocs/op1.04
This comment was automatically generated by workflow using github-action-benchmark.