-
-
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.
Add conditions for document change updates
- Loading branch information
1 parent
2fc95f0
commit 4cb509b
Showing
4 changed files
with
16 additions
and
14 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
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
4cb509b
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
1271
ns/op 752 B/op 12 allocs/op1715
ns/op 752 B/op 12 allocs/op0.74
BenchmarkDocument/status_test
670
ns/op 720 B/op 10 allocs/op945.7
ns/op 720 B/op 10 allocs/op0.71
BenchmarkDocument/equals_test
9560
ns/op 5072 B/op 85 allocs/op10483
ns/op 5072 B/op 85 allocs/op0.91
BenchmarkDocument/nested_update_test
20733
ns/op 11033 B/op 235 allocs/op45513
ns/op 11033 B/op 235 allocs/op0.46
BenchmarkDocument/delete_test
27360
ns/op 14161 B/op 310 allocs/op43889
ns/op 14163 B/op 310 allocs/op0.62
BenchmarkDocument/object_test
9388
ns/op 5792 B/op 97 allocs/op14347
ns/op 5792 B/op 97 allocs/op0.65
BenchmarkDocument/array_test
34017
ns/op 10889 B/op 251 allocs/op49575
ns/op 10889 B/op 251 allocs/op0.69
BenchmarkDocument/text_test
37256
ns/op 14058 B/op 456 allocs/op56477
ns/op 14058 B/op 456 allocs/op0.66
BenchmarkDocument/text_composition_test
37044
ns/op 17538 B/op 461 allocs/op57640
ns/op 17538 B/op 461 allocs/op0.64
BenchmarkDocument/rich_text_test
100455
ns/op 36013 B/op 1108 allocs/op153935
ns/op 36018 B/op 1108 allocs/op0.65
BenchmarkDocument/counter_test
19609
ns/op 9057 B/op 212 allocs/op28259
ns/op 9057 B/op 212 allocs/op0.69
BenchmarkDocument/text_edit_gc_100
4050939
ns/op 1552667 B/op 17148 allocs/op5762911
ns/op 1552572 B/op 17147 allocs/op0.70
BenchmarkDocument/text_edit_gc_1000
322856572
ns/op 136624428 B/op 210630 allocs/op470217323
ns/op 136648738 B/op 210759 allocs/op0.69
BenchmarkDocument/text_split_gc_100
4674760
ns/op 2217536 B/op 16576 allocs/op6457107
ns/op 2217085 B/op 16576 allocs/op0.72
BenchmarkDocument/text_split_gc_1000
389852169
ns/op 214845096 B/op 211358 allocs/op552665040
ns/op 214882328 B/op 211533 allocs/op0.71
BenchmarkDocument/text_delete_all_10000
20202367
ns/op 5903498 B/op 41119 allocs/op26992781
ns/op 5904120 B/op 41121 allocs/op0.75
BenchmarkDocument/text_delete_all_100000
261979646
ns/op 53857084 B/op 416033 allocs/op350749426
ns/op 53822676 B/op 415887 allocs/op0.75
BenchmarkDocument/text_100
311233
ns/op 117744 B/op 5064 allocs/op449181
ns/op 117751 B/op 5064 allocs/op0.69
BenchmarkDocument/text_1000
3383507
ns/op 1152350 B/op 50068 allocs/op4795250
ns/op 1152384 B/op 50068 allocs/op0.71
BenchmarkDocument/array_1000
1702403
ns/op 1102011 B/op 11854 allocs/op2418252
ns/op 1101935 B/op 11853 allocs/op0.70
BenchmarkDocument/array_10000
20067276
ns/op 9907762 B/op 120712 allocs/op28456609
ns/op 9907835 B/op 120711 allocs/op0.71
BenchmarkDocument/array_gc_100
195051
ns/op 97411 B/op 1226 allocs/op267426
ns/op 97419 B/op 1226 allocs/op0.73
BenchmarkDocument/array_gc_1000
1958660
ns/op 1169684 B/op 12889 allocs/op2958902
ns/op 1169613 B/op 12889 allocs/op0.66
BenchmarkDocument/counter_1000
285465
ns/op 197876 B/op 6490 allocs/op419936
ns/op 197875 B/op 6490 allocs/op0.68
BenchmarkDocument/counter_10000
3113055
ns/op 2164801 B/op 69497 allocs/op4321256
ns/op 2164813 B/op 69497 allocs/op0.72
BenchmarkDocument/object_1000
1895451
ns/op 1450713 B/op 9902 allocs/op2749506
ns/op 1450710 B/op 9902 allocs/op0.69
BenchmarkDocument/object_10000
22348334
ns/op 12368348 B/op 101207 allocs/op32556405
ns/op 12369933 B/op 101213 allocs/op0.69
BenchmarkRPC/client_to_server
917806880
ns/op 24788408 B/op 415645 allocs/op1424898202
ns/op 26022616 B/op 423502 allocs/op0.64
BenchmarkRPC/client_to_client_via_server
4969608561
ns/op 44501384 B/op 719674 allocs/op5085859446
ns/op 51599272 B/op 821949 allocs/op0.98
BenchmarkRPC/attach_large_document
1660173847
ns/op 2133922240 B/op 14844 allocs/op1945862016
ns/op 2135913704 B/op 14057 allocs/op0.85
BenchmarkRPC/adminCli_to_server
559861983
ns/op 19085800 B/op 315355 allocs/op864599752
ns/op 19076676 B/op 315169 allocs/op0.65
BenchmarkLocker
123.6
ns/op 16 B/op 1 allocs/op163.3
ns/op 16 B/op 1 allocs/op0.76
BenchmarkLockerParallel
124.5
ns/op 0 B/op 0 allocs/op160.5
ns/op 0 B/op 0 allocs/op0.78
BenchmarkLockerMoreKeys
325.1
ns/op 14 B/op 0 allocs/op395.9
ns/op 14 B/op 0 allocs/op0.82
BenchmarkSync/memory_sync_10_test
7114
ns/op 1339 B/op 39 allocs/op10146
ns/op 1339 B/op 39 allocs/op0.70
BenchmarkSync/memory_sync_100_test
69575
ns/op 8790 B/op 280 allocs/op88867
ns/op 8977 B/op 291 allocs/op0.78
BenchmarkSync/memory_sync_1000_test
690717
ns/op 82166 B/op 2600 allocs/op851301
ns/op 83403 B/op 2676 allocs/op0.81
BenchmarkSync/memory_sync_10000_test
7391013
ns/op 856596 B/op 27148 allocs/op8739772
ns/op 863574 B/op 28081 allocs/op0.85
BenchmarkSync/etcd_sync_100_test
0.289
ns/op 0 B/op 0 allocs/op0.4978
ns/op 0 B/op 0 allocs/op0.58
BenchmarkTextEditing
27744636945
ns/op 8435736176 B/op 19833083 allocs/op38127137052
ns/op 8436027112 B/op 19835735 allocs/op0.73
This comment was automatically generated by workflow using github-action-benchmark.