Skip to content

Commit

Permalink
Add permissions to test
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins committed Nov 22, 2023
1 parent 8dfe03c commit b14df85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
bench:
name: bench
runs-on: ubuntu-latest
permissions: write-all
steps:

- name: Set up Go ${{ env.GO_VERSION }}
Expand Down

1 comment on commit b14df85

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go Benchmark

Benchmark suite Current: b14df85 Previous: b70f6d2 Ratio
BenchmarkDocument/constructor_test - ns/op 1365 ns/op 1354 ns/op 1.01
BenchmarkDocument/constructor_test - B/op 1208 B/op 1208 B/op 1
BenchmarkDocument/constructor_test - allocs/op 20 allocs/op 20 allocs/op 1
BenchmarkDocument/status_test - ns/op 840.1 ns/op 767.8 ns/op 1.09
BenchmarkDocument/status_test - B/op 1176 B/op 1176 B/op 1
BenchmarkDocument/status_test - allocs/op 18 allocs/op 18 allocs/op 1
BenchmarkDocument/equals_test - ns/op 8092 ns/op 7004 ns/op 1.16
BenchmarkDocument/equals_test - B/op 6913 B/op 6913 B/op 1
BenchmarkDocument/equals_test - allocs/op 120 allocs/op 120 allocs/op 1
BenchmarkDocument/nested_update_test - ns/op 16203 ns/op 15961 ns/op 1.02
BenchmarkDocument/nested_update_test - B/op 11962 B/op 11962 B/op 1
BenchmarkDocument/nested_update_test - allocs/op 254 allocs/op 254 allocs/op 1
BenchmarkDocument/delete_test - ns/op 22141 ns/op 21832 ns/op 1.01
BenchmarkDocument/delete_test - B/op 15188 B/op 15188 B/op 1
BenchmarkDocument/delete_test - allocs/op 333 allocs/op 333 allocs/op 1
BenchmarkDocument/object_test - ns/op 8362 ns/op 8295 ns/op 1.01
BenchmarkDocument/object_test - B/op 6721 B/op 6721 B/op 1
BenchmarkDocument/object_test - allocs/op 116 allocs/op 116 allocs/op 1
BenchmarkDocument/array_test - ns/op 28910 ns/op 32448 ns/op 0.89
BenchmarkDocument/array_test - B/op 11819 B/op 11819 B/op 1
BenchmarkDocument/array_test - allocs/op 270 allocs/op 270 allocs/op 1
BenchmarkDocument/text_test - ns/op 30629 ns/op 30284 ns/op 1.01
BenchmarkDocument/text_test - B/op 14795 B/op 14795 B/op 1
BenchmarkDocument/text_test - allocs/op 468 allocs/op 468 allocs/op 1
BenchmarkDocument/text_composition_test - ns/op 28593 ns/op 28384 ns/op 1.01
BenchmarkDocument/text_composition_test - B/op 18278 B/op 18278 B/op 1
BenchmarkDocument/text_composition_test - allocs/op 477 allocs/op 477 allocs/op 1
BenchmarkDocument/rich_text_test - ns/op 82224 ns/op 80344 ns/op 1.02
BenchmarkDocument/rich_text_test - B/op 38540 B/op 38540 B/op 1
BenchmarkDocument/rich_text_test - allocs/op 1147 allocs/op 1147 allocs/op 1
BenchmarkDocument/counter_test - ns/op 16777 ns/op 16694 ns/op 1.00
BenchmarkDocument/counter_test - B/op 10210 B/op 10210 B/op 1
BenchmarkDocument/counter_test - allocs/op 236 allocs/op 236 allocs/op 1
BenchmarkDocument/text_edit_gc_100 - ns/op 2948532 ns/op 2870561 ns/op 1.03
BenchmarkDocument/text_edit_gc_100 - B/op 1655312 B/op 1655153 B/op 1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op 17093 allocs/op 17091 allocs/op 1.00
BenchmarkDocument/text_edit_gc_1000 - ns/op 233323963 ns/op 228777593 ns/op 1.02
BenchmarkDocument/text_edit_gc_1000 - B/op 144355496 B/op 144331915 B/op 1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op 200961 allocs/op 200840 allocs/op 1.00
BenchmarkDocument/text_split_gc_100 - ns/op 3396241 ns/op 3366071 ns/op 1.01
BenchmarkDocument/text_split_gc_100 - B/op 2313753 B/op 2313593 B/op 1.00
BenchmarkDocument/text_split_gc_100 - allocs/op 16196 allocs/op 16195 allocs/op 1.00
BenchmarkDocument/text_split_gc_1000 - ns/op 285987071 ns/op 287704416 ns/op 0.99
BenchmarkDocument/text_split_gc_1000 - B/op 228896940 B/op 228896704 B/op 1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op 203968 allocs/op 203991 allocs/op 1.00
BenchmarkDocument/text_delete_all_10000 - ns/op 12233218 ns/op 10295627 ns/op 1.19
BenchmarkDocument/text_delete_all_10000 - B/op 5809976 B/op 5810391 B/op 1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op 40672 allocs/op 40674 allocs/op 1.00
BenchmarkDocument/text_delete_all_100000 - ns/op 214042910 ns/op 180107032 ns/op 1.19
BenchmarkDocument/text_delete_all_100000 - B/op 81911372 B/op 81906560 B/op 1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op 411668 allocs/op 411654 allocs/op 1.00
BenchmarkDocument/text_100 - ns/op 225306 ns/op 218080 ns/op 1.03
BenchmarkDocument/text_100 - B/op 118483 B/op 118483 B/op 1
BenchmarkDocument/text_100 - allocs/op 5080 allocs/op 5080 allocs/op 1
BenchmarkDocument/text_1000 - ns/op 2485478 ns/op 2371024 ns/op 1.05
BenchmarkDocument/text_1000 - B/op 1153071 B/op 1153070 B/op 1.00
BenchmarkDocument/text_1000 - allocs/op 50084 allocs/op 50084 allocs/op 1
BenchmarkDocument/array_1000 - ns/op 1215185 ns/op 1171326 ns/op 1.04
BenchmarkDocument/array_1000 - B/op 1091320 B/op 1091295 B/op 1.00
BenchmarkDocument/array_1000 - allocs/op 11826 allocs/op 11826 allocs/op 1
BenchmarkDocument/array_10000 - ns/op 13564005 ns/op 12953277 ns/op 1.05
BenchmarkDocument/array_10000 - B/op 9799796 B/op 9799810 B/op 1.00
BenchmarkDocument/array_10000 - allocs/op 120290 allocs/op 120290 allocs/op 1
BenchmarkDocument/array_gc_100 - ns/op 157333 ns/op 140894 ns/op 1.12
BenchmarkDocument/array_gc_100 - B/op 132490 B/op 132494 B/op 1.00
BenchmarkDocument/array_gc_100 - allocs/op 1248 allocs/op 1248 allocs/op 1
BenchmarkDocument/array_gc_1000 - ns/op 1425313 ns/op 1348362 ns/op 1.06
BenchmarkDocument/array_gc_1000 - B/op 1158837 B/op 1158921 B/op 1.00
BenchmarkDocument/array_gc_1000 - allocs/op 12864 allocs/op 12864 allocs/op 1
BenchmarkDocument/counter_1000 - ns/op 213554 ns/op 197005 ns/op 1.08
BenchmarkDocument/counter_1000 - B/op 192853 B/op 192853 B/op 1
BenchmarkDocument/counter_1000 - allocs/op 5765 allocs/op 5765 allocs/op 1
BenchmarkDocument/counter_10000 - ns/op 2254141 ns/op 2176452 ns/op 1.04
BenchmarkDocument/counter_10000 - B/op 2087781 B/op 2087765 B/op 1.00
BenchmarkDocument/counter_10000 - allocs/op 59772 allocs/op 59772 allocs/op 1
BenchmarkDocument/object_1000 - ns/op 1424618 ns/op 1320567 ns/op 1.08
BenchmarkDocument/object_1000 - B/op 1427972 B/op 1427954 B/op 1.00
BenchmarkDocument/object_1000 - allocs/op 9845 allocs/op 9844 allocs/op 1.00
BenchmarkDocument/object_10000 - ns/op 14721536 ns/op 14397319 ns/op 1.02
BenchmarkDocument/object_10000 - B/op 12169376 B/op 12166360 B/op 1.00
BenchmarkDocument/object_10000 - allocs/op 100567 allocs/op 100558 allocs/op 1.00
BenchmarkDocument/tree_100 - ns/op 758865 ns/op 687396 ns/op 1.10
BenchmarkDocument/tree_100 - B/op 442890 B/op 442883 B/op 1.00
BenchmarkDocument/tree_100 - allocs/op 4506 allocs/op 4506 allocs/op 1
BenchmarkDocument/tree_1000 - ns/op 55190718 ns/op 45716843 ns/op 1.21
BenchmarkDocument/tree_1000 - B/op 35222941 B/op 35222774 B/op 1.00
BenchmarkDocument/tree_1000 - allocs/op 44118 allocs/op 44118 allocs/op 1
BenchmarkDocument/tree_10000 - ns/op 6663422361 ns/op 6117949326 ns/op 1.09
BenchmarkDocument/tree_10000 - B/op 3439194368 B/op 3438866576 B/op 1.00
BenchmarkDocument/tree_10000 - allocs/op 440207 allocs/op 440204 allocs/op 1.00
BenchmarkDocument/tree_delete_all_1000 - ns/op 51657776 ns/op 46365452 ns/op 1.11
BenchmarkDocument/tree_delete_all_1000 - B/op 35687577 B/op 35700208 B/op 1.00
BenchmarkDocument/tree_delete_all_1000 - allocs/op 51746 allocs/op 51746 allocs/op 1
BenchmarkDocument/tree_edit_gc_100 - ns/op 2728967 ns/op 2513151 ns/op 1.09
BenchmarkDocument/tree_edit_gc_100 - B/op 2099444 B/op 2099464 B/op 1.00
BenchmarkDocument/tree_edit_gc_100 - allocs/op 11165 allocs/op 11165 allocs/op 1
BenchmarkDocument/tree_edit_gc_1000 - ns/op 206765062 ns/op 187850824 ns/op 1.10
BenchmarkDocument/tree_edit_gc_1000 - B/op 180291833 B/op 180288878 B/op 1.00
BenchmarkDocument/tree_edit_gc_1000 - allocs/op 113353 allocs/op 113333 allocs/op 1.00
BenchmarkDocument/tree_split_gc_100 - ns/op 1988157 ns/op 1875084 ns/op 1.06
BenchmarkDocument/tree_split_gc_100 - B/op 1363467 B/op 1363404 B/op 1.00
BenchmarkDocument/tree_split_gc_100 - allocs/op 8735 allocs/op 8735 allocs/op 1
BenchmarkDocument/tree_split_gc_1000 - ns/op 136323091 ns/op 127221721 ns/op 1.07
BenchmarkDocument/tree_split_gc_1000 - B/op 120285068 B/op 120284225 B/op 1.00
BenchmarkDocument/tree_split_gc_1000 - allocs/op 96194 allocs/op 96194 allocs/op 1
BenchmarkRPC/client_to_server - ns/op 363189110 ns/op 356057074 ns/op 1.02
BenchmarkRPC/client_to_server - B/op 12292029 B/op 12321080 B/op 1.00
BenchmarkRPC/client_to_server - allocs/op 172372 allocs/op 172785 allocs/op 1.00
BenchmarkRPC/client_to_client_via_server - ns/op 619831841 ns/op 601304368 ns/op 1.03
BenchmarkRPC/client_to_client_via_server - B/op 22732164 B/op 22754312 B/op 1.00
BenchmarkRPC/client_to_client_via_server - allocs/op 324247 allocs/op 323952 allocs/op 1.00
BenchmarkRPC/attach_large_document - ns/op 1132387054 ns/op 1143357440 ns/op 0.99
BenchmarkRPC/attach_large_document - B/op 1796679808 B/op 1807150720 B/op 0.99
BenchmarkRPC/attach_large_document - allocs/op 10383 allocs/op 10642 allocs/op 0.98
BenchmarkRPC/adminCli_to_server - ns/op 513624055 ns/op 508421574 ns/op 1.01
BenchmarkRPC/adminCli_to_server - B/op 20217884 B/op 20193864 B/op 1.00
BenchmarkRPC/adminCli_to_server - allocs/op 320229 allocs/op 318214 allocs/op 1.01
BenchmarkLocker - ns/op 66.11 ns/op 65.88 ns/op 1.00
BenchmarkLocker - B/op 16 B/op 16 B/op 1
BenchmarkLocker - allocs/op 1 allocs/op 1 allocs/op 1
BenchmarkLockerParallel - ns/op 39.53 ns/op 38.72 ns/op 1.02
BenchmarkLockerParallel - B/op 0 B/op 0 B/op NaN
BenchmarkLockerParallel - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkLockerMoreKeys - ns/op 149.1 ns/op 148.7 ns/op 1.00
BenchmarkLockerMoreKeys - B/op 15 B/op 15 B/op 1
BenchmarkLockerMoreKeys - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkChange/Push_10_Changes - ns/op 3871896 ns/op 3808003 ns/op 1.02
BenchmarkChange/Push_10_Changes - B/op 125125 B/op 125499 B/op 1.00
BenchmarkChange/Push_10_Changes - allocs/op 1253 allocs/op 1254 allocs/op 1.00
BenchmarkChange/Push_100_Changes - ns/op 14343641 ns/op 14095954 ns/op 1.02
BenchmarkChange/Push_100_Changes - B/op 633946 B/op 648006 B/op 0.98
BenchmarkChange/Push_100_Changes - allocs/op 6538 allocs/op 6539 allocs/op 1.00
BenchmarkChange/Push_1000_Changes - ns/op 114340991 ns/op 112886901 ns/op 1.01
BenchmarkChange/Push_1000_Changes - B/op 6017979 B/op 6160493 B/op 0.98
BenchmarkChange/Push_1000_Changes - allocs/op 62155 allocs/op 62159 allocs/op 1.00
BenchmarkChange/Pull_10_Changes - ns/op 2941256 ns/op 2827924 ns/op 1.04
BenchmarkChange/Pull_10_Changes - B/op 100015 B/op 100321 B/op 1.00
BenchmarkChange/Pull_10_Changes - allocs/op 952 allocs/op 951 allocs/op 1.00
BenchmarkChange/Pull_100_Changes - ns/op 4413961 ns/op 4315625 ns/op 1.02
BenchmarkChange/Pull_100_Changes - B/op 255908 B/op 257473 B/op 0.99
BenchmarkChange/Pull_100_Changes - allocs/op 3154 allocs/op 3154 allocs/op 1
BenchmarkChange/Pull_1000_Changes - ns/op 8839456 ns/op 8368580 ns/op 1.06
BenchmarkChange/Pull_1000_Changes - B/op 1395829 B/op 1395225 B/op 1.00
BenchmarkChange/Pull_1000_Changes - allocs/op 26861 allocs/op 26873 allocs/op 1.00
BenchmarkSnapshot/Push_3KB_snapshot - ns/op 17260581 ns/op 16677188 ns/op 1.03
BenchmarkSnapshot/Push_3KB_snapshot - B/op 799830 B/op 796569 B/op 1.00
BenchmarkSnapshot/Push_3KB_snapshot - allocs/op 6542 allocs/op 6540 allocs/op 1.00
BenchmarkSnapshot/Push_30KB_snapshot - ns/op 119346414 ns/op 117587420 ns/op 1.01
BenchmarkSnapshot/Push_30KB_snapshot - B/op 6016541 B/op 6088512 B/op 0.99
BenchmarkSnapshot/Push_30KB_snapshot - allocs/op 62154 allocs/op 62159 allocs/op 1.00
BenchmarkSnapshot/Pull_3KB_snapshot - ns/op 6714304 ns/op 6545832 ns/op 1.03
BenchmarkSnapshot/Pull_3KB_snapshot - B/op 892406 B/op 894689 B/op 1.00
BenchmarkSnapshot/Pull_3KB_snapshot - allocs/op 14881 allocs/op 14877 allocs/op 1.00
BenchmarkSnapshot/Pull_30KB_snapshot - ns/op 15143605 ns/op 14224829 ns/op 1.06
BenchmarkSnapshot/Pull_30KB_snapshot - B/op 6896576 B/op 6890340 B/op 1.00
BenchmarkSnapshot/Pull_30KB_snapshot - allocs/op 144142 allocs/op 144142 allocs/op 1
BenchmarkSync/memory_sync_10_test - ns/op 7060 ns/op 6821 ns/op 1.04
BenchmarkSync/memory_sync_10_test - B/op 1286 B/op 1286 B/op 1
BenchmarkSync/memory_sync_10_test - allocs/op 38 allocs/op 38 allocs/op 1
BenchmarkSync/memory_sync_100_test - ns/op 52947 ns/op 52481 ns/op 1.01
BenchmarkSync/memory_sync_100_test - B/op 8649 B/op 8641 B/op 1.00
BenchmarkSync/memory_sync_100_test - allocs/op 273 allocs/op 273 allocs/op 1
BenchmarkSync/memory_sync_1000_test - ns/op 595559 ns/op 585443 ns/op 1.02
BenchmarkSync/memory_sync_1000_test - B/op 74463 B/op 74809 B/op 1.00
BenchmarkSync/memory_sync_1000_test - allocs/op 2115 allocs/op 2139 allocs/op 0.99
BenchmarkSync/memory_sync_10000_test - ns/op 7417541 ns/op 7164199 ns/op 1.04
BenchmarkSync/memory_sync_10000_test - B/op 757850 B/op 767462 B/op 0.99
BenchmarkSync/memory_sync_10000_test - allocs/op 20523 allocs/op 20659 allocs/op 0.99
BenchmarkTextEditing - ns/op 18861070916 ns/op 19304681350 ns/op 0.98
BenchmarkTextEditing - B/op 9037844608 B/op 9037646368 B/op 1.00
BenchmarkTextEditing - allocs/op 19922728 allocs/op 19921763 allocs/op 1.00

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.