-
-
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
f256b78
commit 1fda3a6
Showing
4 changed files
with
75 additions
and
87 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
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
Oops, something went wrong.
1fda3a6
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
1251
ns/op 752 B/op 12 allocs/op1545
ns/op 752 B/op 12 allocs/op0.81
BenchmarkDocument/status_test
640.1
ns/op 720 B/op 10 allocs/op1168
ns/op 720 B/op 10 allocs/op0.55
BenchmarkDocument/equals_test
7163
ns/op 5072 B/op 85 allocs/op8895
ns/op 5072 B/op 85 allocs/op0.81
BenchmarkDocument/nested_update_test
20958
ns/op 11033 B/op 235 allocs/op26694
ns/op 11033 B/op 235 allocs/op0.79
BenchmarkDocument/delete_test
27385
ns/op 14161 B/op 310 allocs/op34117
ns/op 14163 B/op 310 allocs/op0.80
BenchmarkDocument/object_test
9692
ns/op 5792 B/op 97 allocs/op11859
ns/op 5792 B/op 97 allocs/op0.82
BenchmarkDocument/array_test
34682
ns/op 10889 B/op 251 allocs/op42645
ns/op 10890 B/op 251 allocs/op0.81
BenchmarkDocument/text_test
37143
ns/op 14058 B/op 456 allocs/op45440
ns/op 14058 B/op 456 allocs/op0.82
BenchmarkDocument/text_composition_test
37793
ns/op 17541 B/op 461 allocs/op46261
ns/op 17538 B/op 461 allocs/op0.82
BenchmarkDocument/rich_text_test
99566
ns/op 36006 B/op 1108 allocs/op125421
ns/op 36016 B/op 1108 allocs/op0.79
BenchmarkDocument/counter_test
19393
ns/op 9057 B/op 212 allocs/op23699
ns/op 9057 B/op 212 allocs/op0.82
BenchmarkDocument/text_edit_gc_100
4044845
ns/op 1552475 B/op 17148 allocs/op4695110
ns/op 1552945 B/op 17150 allocs/op0.86
BenchmarkDocument/text_edit_gc_1000
315162167
ns/op 136627452 B/op 210676 allocs/op373729523
ns/op 136614104 B/op 210613 allocs/op0.84
BenchmarkDocument/text_split_gc_100
4647187
ns/op 2217127 B/op 16576 allocs/op5310214
ns/op 2217268 B/op 16575 allocs/op0.88
BenchmarkDocument/text_split_gc_1000
374239992
ns/op 214845629 B/op 211367 allocs/op456030707
ns/op 214829213 B/op 211274 allocs/op0.82
BenchmarkDocument/text_delete_all_10000
16336016
ns/op 5903922 B/op 41122 allocs/op20758627
ns/op 5903529 B/op 41120 allocs/op0.79
BenchmarkDocument/text_delete_all_100000
191406484
ns/op 53849352 B/op 416022 allocs/op277125629
ns/op 53842246 B/op 415985 allocs/op0.69
BenchmarkDocument/text_100
302282
ns/op 117748 B/op 5064 allocs/op386317
ns/op 117750 B/op 5064 allocs/op0.78
BenchmarkDocument/text_1000
3294365
ns/op 1152327 B/op 50068 allocs/op4349761
ns/op 1152368 B/op 50068 allocs/op0.76
BenchmarkDocument/array_1000
1699470
ns/op 1102035 B/op 11854 allocs/op2228492
ns/op 1102265 B/op 11855 allocs/op0.76
BenchmarkDocument/array_10000
18754874
ns/op 9905945 B/op 120704 allocs/op24525672
ns/op 9906337 B/op 120705 allocs/op0.76
BenchmarkDocument/array_gc_100
178954
ns/op 97414 B/op 1226 allocs/op223669
ns/op 97414 B/op 1226 allocs/op0.80
BenchmarkDocument/array_gc_1000
1976991
ns/op 1169512 B/op 12889 allocs/op2323875
ns/op 1169572 B/op 12889 allocs/op0.85
BenchmarkDocument/counter_1000
270892
ns/op 197876 B/op 6490 allocs/op330728
ns/op 197877 B/op 6490 allocs/op0.82
BenchmarkDocument/counter_10000
2935239
ns/op 2164817 B/op 69497 allocs/op3709166
ns/op 2164835 B/op 69497 allocs/op0.79
BenchmarkDocument/object_1000
1847159
ns/op 1450812 B/op 9902 allocs/op2176832
ns/op 1450706 B/op 9902 allocs/op0.85
BenchmarkDocument/object_10000
21797172
ns/op 12368756 B/op 101207 allocs/op25235487
ns/op 12366848 B/op 101199 allocs/op0.86
BenchmarkRPC/client_to_server
423986133
ns/op 18835013 B/op 306850 allocs/op531950074
ns/op 18897104 B/op 304291 allocs/op0.80
BenchmarkRPC/client_to_client_via_server
723887996
ns/op 34433488 B/op 563108 allocs/op915461624
ns/op 34319028 B/op 560752 allocs/op0.79
BenchmarkRPC/attach_large_document
1562174819
ns/op 2159513896 B/op 10508 allocs/op1680941992
ns/op 2155547248 B/op 9927 allocs/op0.93
BenchmarkRPC/adminCli_to_server
520585772
ns/op 20396500 B/op 322107 allocs/op672776222
ns/op 20400180 B/op 322105 allocs/op0.77
BenchmarkLocker
120.6
ns/op 16 B/op 1 allocs/op141.3
ns/op 16 B/op 1 allocs/op0.85
BenchmarkLockerParallel
108.7
ns/op 0 B/op 0 allocs/op180.8
ns/op 0 B/op 0 allocs/op0.60
BenchmarkLockerMoreKeys
328.6
ns/op 14 B/op 0 allocs/op479.8
ns/op 13 B/op 0 allocs/op0.68
BenchmarkSync/memory_sync_10_test
7276
ns/op 1340 B/op 39 allocs/op8725
ns/op 1338 B/op 39 allocs/op0.83
BenchmarkSync/memory_sync_100_test
60365
ns/op 9093 B/op 299 allocs/op82836
ns/op 8713 B/op 275 allocs/op0.73
BenchmarkSync/memory_sync_1000_test
610986
ns/op 84219 B/op 2732 allocs/op790827
ns/op 81867 B/op 2581 allocs/op0.77
BenchmarkSync/memory_sync_10000_test
6517364
ns/op 862181 B/op 27630 allocs/op8059162
ns/op 869299 B/op 27283 allocs/op0.81
BenchmarkTextEditing
24471320713
ns/op 8436056320 B/op 19834769 allocs/op30303944825
ns/op 8435794576 B/op 19834770 allocs/op0.81
This comment was automatically generated by workflow using github-action-benchmark.