-
-
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.
Change multiple docs to single in DocEvent
- Loading branch information
1 parent
1713c2c
commit 2285241
Showing
10 changed files
with
245 additions
and
256 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
2285241
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
1235
ns/op 752 B/op 12 allocs/op1340
ns/op 752 B/op 12 allocs/op0.92
BenchmarkDocument/status_test
617
ns/op 720 B/op 10 allocs/op712.7
ns/op 720 B/op 10 allocs/op0.87
BenchmarkDocument/equals_test
7225
ns/op 5072 B/op 85 allocs/op7713
ns/op 5072 B/op 85 allocs/op0.94
BenchmarkDocument/nested_update_test
20830
ns/op 11033 B/op 235 allocs/op22351
ns/op 11033 B/op 235 allocs/op0.93
BenchmarkDocument/delete_test
27703
ns/op 14161 B/op 310 allocs/op29943
ns/op 14162 B/op 310 allocs/op0.93
BenchmarkDocument/object_test
9743
ns/op 5793 B/op 97 allocs/op10310
ns/op 5792 B/op 97 allocs/op0.95
BenchmarkDocument/array_test
40240
ns/op 10889 B/op 251 allocs/op38517
ns/op 10889 B/op 251 allocs/op1.04
BenchmarkDocument/text_test
37356
ns/op 14058 B/op 456 allocs/op41513
ns/op 14058 B/op 456 allocs/op0.90
BenchmarkDocument/text_composition_test
37822
ns/op 17538 B/op 461 allocs/op40381
ns/op 17538 B/op 461 allocs/op0.94
BenchmarkDocument/rich_text_test
98232
ns/op 36007 B/op 1108 allocs/op105974
ns/op 36014 B/op 1108 allocs/op0.93
BenchmarkDocument/counter_test
19781
ns/op 9058 B/op 212 allocs/op21176
ns/op 9057 B/op 212 allocs/op0.93
BenchmarkDocument/text_edit_gc_100
3949069
ns/op 1552608 B/op 17149 allocs/op4235403
ns/op 1552772 B/op 17148 allocs/op0.93
BenchmarkDocument/text_edit_gc_1000
320004722
ns/op 136630164 B/op 210677 allocs/op345600036
ns/op 136649740 B/op 210758 allocs/op0.93
BenchmarkDocument/text_split_gc_100
4658348
ns/op 2217451 B/op 16579 allocs/op5017804
ns/op 2217295 B/op 16577 allocs/op0.93
BenchmarkDocument/text_split_gc_1000
375972154
ns/op 214835282 B/op 211313 allocs/op403719911
ns/op 214863165 B/op 211438 allocs/op0.93
BenchmarkDocument/text_delete_all_10000
15879047
ns/op 5904955 B/op 41124 allocs/op20215492
ns/op 5904946 B/op 41126 allocs/op0.79
BenchmarkDocument/text_delete_all_100000
193506273
ns/op 53845528 B/op 415997 allocs/op256564675
ns/op 53914644 B/op 416114 allocs/op0.75
BenchmarkDocument/text_100
299702
ns/op 117748 B/op 5064 allocs/op329749
ns/op 117749 B/op 5064 allocs/op0.91
BenchmarkDocument/text_1000
3237190
ns/op 1152348 B/op 50068 allocs/op3541237
ns/op 1152356 B/op 50068 allocs/op0.91
BenchmarkDocument/array_1000
1676152
ns/op 1102049 B/op 11854 allocs/op1873575
ns/op 1102022 B/op 11854 allocs/op0.89
BenchmarkDocument/array_10000
18375021
ns/op 9906236 B/op 120705 allocs/op20216385
ns/op 9906585 B/op 120707 allocs/op0.91
BenchmarkDocument/array_gc_100
177302
ns/op 97414 B/op 1226 allocs/op188009
ns/op 97404 B/op 1226 allocs/op0.94
BenchmarkDocument/array_gc_1000
1949193
ns/op 1169834 B/op 12890 allocs/op2039826
ns/op 1169787 B/op 12890 allocs/op0.96
BenchmarkDocument/counter_1000
266671
ns/op 197878 B/op 6490 allocs/op301226
ns/op 197879 B/op 6490 allocs/op0.89
BenchmarkDocument/counter_10000
2871664
ns/op 2164795 B/op 69497 allocs/op3428664
ns/op 2164800 B/op 69497 allocs/op0.84
BenchmarkDocument/object_1000
1822731
ns/op 1450589 B/op 9902 allocs/op2012194
ns/op 1450576 B/op 9902 allocs/op0.91
BenchmarkDocument/object_10000
19817731
ns/op 12368372 B/op 101204 allocs/op24305701
ns/op 12368628 B/op 101206 allocs/op0.82
BenchmarkRPC/client_to_server
788360772
ns/op 24775600 B/op 415406 allocs/op951991694
ns/op 24700956 B/op 414215 allocs/op0.83
BenchmarkRPC/client_to_client_via_server
5023277001
ns/op 44364640 B/op 717689 allocs/op4991291393
ns/op 44390144 B/op 718098 allocs/op1.01
BenchmarkRPC/attach_large_document
1681180637
ns/op 2135297208 B/op 13976 allocs/op1733731725
ns/op 2125791336 B/op 13951 allocs/op0.97
BenchmarkRPC/adminCli_to_server
521054130
ns/op 19073776 B/op 315173 allocs/op605932650
ns/op 19060772 B/op 314965 allocs/op0.86
BenchmarkLocker
123.4
ns/op 16 B/op 1 allocs/op135.9
ns/op 16 B/op 1 allocs/op0.91
BenchmarkLockerParallel
106.2
ns/op 0 B/op 0 allocs/op166.8
ns/op 0 B/op 0 allocs/op0.64
BenchmarkLockerMoreKeys
373.7
ns/op 14 B/op 0 allocs/op357.7
ns/op 14 B/op 0 allocs/op1.04
BenchmarkSync/memory_sync_10_test
6889
ns/op 1341 B/op 39 allocs/op7992
ns/op 1339 B/op 39 allocs/op0.86
BenchmarkSync/memory_sync_100_test
59191
ns/op 9125 B/op 301 allocs/op74876
ns/op 8772 B/op 279 allocs/op0.79
BenchmarkSync/memory_sync_1000_test
606386
ns/op 84535 B/op 2753 allocs/op743812
ns/op 81489 B/op 2564 allocs/op0.82
BenchmarkSync/memory_sync_10000_test
6368434
ns/op 866354 B/op 27993 allocs/op8018558
ns/op 865876 B/op 26886 allocs/op0.79
BenchmarkSync/etcd_sync_100_test
0.2874
ns/op 0 B/op 0 allocs/op0.2943
ns/op 0 B/op 0 allocs/op0.98
BenchmarkTextEditing
23959594901
ns/op 8436397728 B/op 19836390 allocs/op28894853557
ns/op 8436118528 B/op 19834840 allocs/op0.83
This comment was automatically generated by workflow using github-action-benchmark.