-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Showing
2 changed files
with
50 additions
and
4 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
c32193b
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
1277
ns/op 752 B/op 12 allocs/op1238
ns/op 752 B/op 12 allocs/op1.03
BenchmarkDocument/status_test
669.9
ns/op 720 B/op 10 allocs/op642.8
ns/op 720 B/op 10 allocs/op1.04
BenchmarkDocument/equals_test
7318
ns/op 5072 B/op 85 allocs/op9451
ns/op 5072 B/op 85 allocs/op0.77
BenchmarkDocument/nested_update_test
20908
ns/op 11033 B/op 235 allocs/op20269
ns/op 11033 B/op 235 allocs/op1.03
BenchmarkDocument/delete_test
27981
ns/op 14162 B/op 310 allocs/op27264
ns/op 14161 B/op 310 allocs/op1.03
BenchmarkDocument/object_test
9577
ns/op 5793 B/op 97 allocs/op9176
ns/op 5792 B/op 97 allocs/op1.04
BenchmarkDocument/array_test
34630
ns/op 10889 B/op 251 allocs/op33501
ns/op 10889 B/op 251 allocs/op1.03
BenchmarkDocument/text_test
47089
ns/op 14058 B/op 456 allocs/op36549
ns/op 14058 B/op 456 allocs/op1.29
BenchmarkDocument/text_composition_test
38935
ns/op 17538 B/op 461 allocs/op37583
ns/op 17538 B/op 461 allocs/op1.04
BenchmarkDocument/rich_text_test
101865
ns/op 36007 B/op 1108 allocs/op98345
ns/op 36013 B/op 1108 allocs/op1.04
BenchmarkDocument/counter_test
19862
ns/op 9058 B/op 212 allocs/op19394
ns/op 9057 B/op 212 allocs/op1.02
BenchmarkDocument/text_edit_gc_100
4032371
ns/op 1552543 B/op 17147 allocs/op3946133
ns/op 1552358 B/op 17148 allocs/op1.02
BenchmarkDocument/text_edit_gc_1000
325639951
ns/op 136641328 B/op 210715 allocs/op312808698
ns/op 136637108 B/op 210704 allocs/op1.04
BenchmarkDocument/text_split_gc_100
4581367
ns/op 2217232 B/op 16574 allocs/op4467701
ns/op 2217380 B/op 16578 allocs/op1.03
BenchmarkDocument/text_split_gc_1000
365566899
ns/op 214850509 B/op 211403 allocs/op365335058
ns/op 214848552 B/op 211374 allocs/op1.00
BenchmarkDocument/text_delete_all_10000
20089423
ns/op 5903800 B/op 41121 allocs/op19998314
ns/op 5904483 B/op 41124 allocs/op1.00
BenchmarkDocument/text_delete_all_100000
250404709
ns/op 53835764 B/op 415969 allocs/op284308384
ns/op 53841252 B/op 415996 allocs/op0.88
BenchmarkDocument/text_100
322839
ns/op 117749 B/op 5064 allocs/op308977
ns/op 117748 B/op 5064 allocs/op1.04
BenchmarkDocument/text_1000
3535210
ns/op 1152331 B/op 50068 allocs/op3369452
ns/op 1152304 B/op 50068 allocs/op1.05
BenchmarkDocument/array_1000
1767971
ns/op 1102048 B/op 11854 allocs/op1707947
ns/op 1102009 B/op 11854 allocs/op1.04
BenchmarkDocument/array_10000
20324492
ns/op 9907295 B/op 120710 allocs/op19911839
ns/op 9906610 B/op 120706 allocs/op1.02
BenchmarkDocument/array_gc_100
181032
ns/op 97408 B/op 1226 allocs/op179996
ns/op 97409 B/op 1226 allocs/op1.01
BenchmarkDocument/array_gc_1000
1996347
ns/op 1169620 B/op 12889 allocs/op1948565
ns/op 1169683 B/op 12889 allocs/op1.02
BenchmarkDocument/counter_1000
294942
ns/op 197876 B/op 6490 allocs/op283736
ns/op 197874 B/op 6490 allocs/op1.04
BenchmarkDocument/counter_10000
3182673
ns/op 2164802 B/op 69497 allocs/op3091646
ns/op 2164822 B/op 69497 allocs/op1.03
BenchmarkDocument/object_1000
1990404
ns/op 1450900 B/op 9903 allocs/op1861441
ns/op 1450626 B/op 9902 allocs/op1.07
BenchmarkDocument/object_10000
23647171
ns/op 12365849 B/op 101196 allocs/op22794332
ns/op 12367990 B/op 101205 allocs/op1.04
BenchmarkRPC/client_to_server
449863309
ns/op 18003133 B/op 310038 allocs/op449800486
ns/op 17981306 B/op 309606 allocs/op1.00
BenchmarkRPC/client_to_client_via_server
760108191
ns/op 32922588 B/op 567207 allocs/op725955530
ns/op 33252820 B/op 573278 allocs/op1.05
BenchmarkRPC/attach_large_document
1444005322
ns/op 2124483552 B/op 9911 allocs/op1522104707
ns/op 2134682048 B/op 9879 allocs/op0.95
BenchmarkRPC/adminCli_to_server
547017930
ns/op 19700612 B/op 321600 allocs/op543629324
ns/op 19666968 B/op 321599 allocs/op1.01
BenchmarkLocker
129.3
ns/op 16 B/op 1 allocs/op123.3
ns/op 16 B/op 1 allocs/op1.05
BenchmarkLockerParallel
142.8
ns/op 0 B/op 0 allocs/op149
ns/op 0 B/op 0 allocs/op0.96
BenchmarkLockerMoreKeys
359.4
ns/op 14 B/op 0 allocs/op365
ns/op 14 B/op 0 allocs/op0.98
BenchmarkSync/memory_sync_10_test
7590
ns/op 1338 B/op 39 allocs/op7479
ns/op 1338 B/op 39 allocs/op1.01
BenchmarkSync/memory_sync_100_test
68942
ns/op 8793 B/op 280 allocs/op68557
ns/op 8764 B/op 278 allocs/op1.01
BenchmarkSync/memory_sync_1000_test
684290
ns/op 81539 B/op 2566 allocs/op679318
ns/op 81781 B/op 2584 allocs/op1.01
BenchmarkSync/memory_sync_10000_test
7617809
ns/op 867891 B/op 26722 allocs/op7250097
ns/op 845969 B/op 26680 allocs/op1.05
BenchmarkTextEditing
26579560297
ns/op 8436195504 B/op 19835256 allocs/op26956311518
ns/op 8435971728 B/op 19834182 allocs/op0.99
This comment was automatically generated by workflow using github-action-benchmark.