-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
b0c1b84
commit 9a2dc46
Showing
3 changed files
with
26 additions
and
70 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
9a2dc46
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
1245
ns/op 752 B/op 12 allocs/op1340
ns/op 752 B/op 12 allocs/op0.93
BenchmarkDocument/status_test
625.1
ns/op 720 B/op 10 allocs/op712.7
ns/op 720 B/op 10 allocs/op0.88
BenchmarkDocument/equals_test
7475
ns/op 5072 B/op 85 allocs/op7713
ns/op 5072 B/op 85 allocs/op0.97
BenchmarkDocument/nested_update_test
21193
ns/op 11033 B/op 235 allocs/op22351
ns/op 11033 B/op 235 allocs/op0.95
BenchmarkDocument/delete_test
32231
ns/op 14162 B/op 310 allocs/op29943
ns/op 14162 B/op 310 allocs/op1.08
BenchmarkDocument/object_test
9853
ns/op 5792 B/op 97 allocs/op10310
ns/op 5792 B/op 97 allocs/op0.96
BenchmarkDocument/array_test
34788
ns/op 10889 B/op 251 allocs/op38517
ns/op 10889 B/op 251 allocs/op0.90
BenchmarkDocument/text_test
37834
ns/op 14058 B/op 456 allocs/op41513
ns/op 14058 B/op 456 allocs/op0.91
BenchmarkDocument/text_composition_test
37707
ns/op 17538 B/op 461 allocs/op40381
ns/op 17538 B/op 461 allocs/op0.93
BenchmarkDocument/rich_text_test
98904
ns/op 36005 B/op 1108 allocs/op105974
ns/op 36014 B/op 1108 allocs/op0.93
BenchmarkDocument/counter_test
20069
ns/op 9057 B/op 212 allocs/op21176
ns/op 9057 B/op 212 allocs/op0.95
BenchmarkDocument/text_edit_gc_100
3988970
ns/op 1552790 B/op 17147 allocs/op4235403
ns/op 1552772 B/op 17148 allocs/op0.94
BenchmarkDocument/text_edit_gc_1000
314124009
ns/op 136643044 B/op 210733 allocs/op345600036
ns/op 136649740 B/op 210758 allocs/op0.91
BenchmarkDocument/text_split_gc_100
4642166
ns/op 2217259 B/op 16576 allocs/op5017804
ns/op 2217295 B/op 16577 allocs/op0.93
BenchmarkDocument/text_split_gc_1000
373537231
ns/op 214879954 B/op 211531 allocs/op403719911
ns/op 214863165 B/op 211438 allocs/op0.93
BenchmarkDocument/text_delete_all_10000
15878681
ns/op 5904498 B/op 41122 allocs/op20215492
ns/op 5904946 B/op 41126 allocs/op0.79
BenchmarkDocument/text_delete_all_100000
188104115
ns/op 53827346 B/op 415922 allocs/op256564675
ns/op 53914644 B/op 416114 allocs/op0.73
BenchmarkDocument/text_100
299698
ns/op 117746 B/op 5064 allocs/op329749
ns/op 117749 B/op 5064 allocs/op0.91
BenchmarkDocument/text_1000
3247988
ns/op 1152348 B/op 50068 allocs/op3541237
ns/op 1152356 B/op 50068 allocs/op0.92
BenchmarkDocument/array_1000
1712751
ns/op 1102148 B/op 11854 allocs/op1873575
ns/op 1102022 B/op 11854 allocs/op0.91
BenchmarkDocument/array_10000
18606468
ns/op 9907452 B/op 120711 allocs/op20216385
ns/op 9906585 B/op 120707 allocs/op0.92
BenchmarkDocument/array_gc_100
177143
ns/op 97407 B/op 1226 allocs/op188009
ns/op 97404 B/op 1226 allocs/op0.94
BenchmarkDocument/array_gc_1000
1934911
ns/op 1169629 B/op 12889 allocs/op2039826
ns/op 1169787 B/op 12890 allocs/op0.95
BenchmarkDocument/counter_1000
270866
ns/op 197876 B/op 6490 allocs/op301226
ns/op 197879 B/op 6490 allocs/op0.90
BenchmarkDocument/counter_10000
2867668
ns/op 2164796 B/op 69497 allocs/op3428664
ns/op 2164800 B/op 69497 allocs/op0.84
BenchmarkDocument/object_1000
1831660
ns/op 1450552 B/op 9902 allocs/op2012194
ns/op 1450576 B/op 9902 allocs/op0.91
BenchmarkDocument/object_10000
20381911
ns/op 12370972 B/op 101214 allocs/op24305701
ns/op 12368628 B/op 101206 allocs/op0.84
BenchmarkRPC/client_to_server
741782608
ns/op 24737656 B/op 414665 allocs/op951991694
ns/op 24700956 B/op 414215 allocs/op0.78
BenchmarkRPC/client_to_client_via_server
4968251317
ns/op 44558872 B/op 720589 allocs/op4991291393
ns/op 44390144 B/op 718098 allocs/op1.00
BenchmarkRPC/attach_large_document
1546574895
ns/op 2125672176 B/op 13730 allocs/op1733731725
ns/op 2125791336 B/op 13951 allocs/op0.89
BenchmarkRPC/adminCli_to_server
519146836
ns/op 19075304 B/op 315184 allocs/op605932650
ns/op 19060772 B/op 314965 allocs/op0.86
BenchmarkLocker
113
ns/op 16 B/op 1 allocs/op135.9
ns/op 16 B/op 1 allocs/op0.83
BenchmarkLockerParallel
124.6
ns/op 0 B/op 0 allocs/op166.8
ns/op 0 B/op 0 allocs/op0.75
BenchmarkLockerMoreKeys
367.1
ns/op 14 B/op 0 allocs/op357.7
ns/op 14 B/op 0 allocs/op1.03
BenchmarkSync/memory_sync_10_test
7239
ns/op 1341 B/op 39 allocs/op7992
ns/op 1339 B/op 39 allocs/op0.91
BenchmarkSync/memory_sync_100_test
57607
ns/op 9105 B/op 299 allocs/op74876
ns/op 8772 B/op 279 allocs/op0.77
BenchmarkSync/memory_sync_1000_test
584716
ns/op 84173 B/op 2727 allocs/op743812
ns/op 81489 B/op 2564 allocs/op0.79
BenchmarkSync/memory_sync_10000_test
6239665
ns/op 862335 B/op 27636 allocs/op8018558
ns/op 865876 B/op 26886 allocs/op0.78
BenchmarkSync/etcd_sync_100_test
0.2647
ns/op 0 B/op 0 allocs/op0.2943
ns/op 0 B/op 0 allocs/op0.90
BenchmarkTextEditing
23824167185
ns/op 8436435512 B/op 19836599 allocs/op28894853557
ns/op 8436118528 B/op 19834840 allocs/op0.82
This comment was automatically generated by workflow using github-action-benchmark.