Skip to content

Commit

Permalink
Remove unnecessary newline
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins committed Jan 17, 2024
1 parent bbe3f8c commit cee9b6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/gc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"

"github.com/yorkie-team/yorkie/pkg/document"
"github.com/yorkie-team/yorkie/pkg/document/json"
"github.com/yorkie-team/yorkie/pkg/document/presence"
Expand Down

1 comment on commit cee9b6d

@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: cee9b6d Previous: a8c58f9 Ratio
BenchmarkDocument/constructor_test - ns/op 1425 ns/op 1457 ns/op 0.98
BenchmarkDocument/constructor_test - B/op 1224 B/op 1224 B/op 1
BenchmarkDocument/constructor_test - allocs/op 21 allocs/op 21 allocs/op 1
BenchmarkDocument/status_test - ns/op 844 ns/op 849.5 ns/op 0.99
BenchmarkDocument/status_test - B/op 1192 B/op 1192 B/op 1
BenchmarkDocument/status_test - allocs/op 19 allocs/op 19 allocs/op 1
BenchmarkDocument/equals_test - ns/op 7412 ns/op 7524 ns/op 0.99
BenchmarkDocument/equals_test - B/op 6977 B/op 6977 B/op 1
BenchmarkDocument/equals_test - allocs/op 124 allocs/op 124 allocs/op 1
BenchmarkDocument/nested_update_test - ns/op 16708 ns/op 18601 ns/op 0.90
BenchmarkDocument/nested_update_test - B/op 12059 B/op 12059 B/op 1
BenchmarkDocument/nested_update_test - allocs/op 260 allocs/op 260 allocs/op 1
BenchmarkDocument/delete_test - ns/op 22527 ns/op 22335 ns/op 1.01
BenchmarkDocument/delete_test - B/op 15284 B/op 15284 B/op 1
BenchmarkDocument/delete_test - allocs/op 339 allocs/op 339 allocs/op 1
BenchmarkDocument/object_test - ns/op 10047 ns/op 8516 ns/op 1.18
BenchmarkDocument/object_test - B/op 6753 B/op 6753 B/op 1
BenchmarkDocument/object_test - allocs/op 118 allocs/op 118 allocs/op 1
BenchmarkDocument/array_test - ns/op 29000 ns/op 28781 ns/op 1.01
BenchmarkDocument/array_test - B/op 11883 B/op 11883 B/op 1
BenchmarkDocument/array_test - allocs/op 274 allocs/op 274 allocs/op 1
BenchmarkDocument/text_test - ns/op 30645 ns/op 30487 ns/op 1.01
BenchmarkDocument/text_test - B/op 14916 B/op 14828 B/op 1.01
BenchmarkDocument/text_test - allocs/op 470 allocs/op 470 allocs/op 1
BenchmarkDocument/text_composition_test - ns/op 28970 ns/op 28865 ns/op 1.00
BenchmarkDocument/text_composition_test - B/op 18430 B/op 18310 B/op 1.01
BenchmarkDocument/text_composition_test - allocs/op 479 allocs/op 479 allocs/op 1
BenchmarkDocument/rich_text_test - ns/op 79978 ns/op 80677 ns/op 0.99
BenchmarkDocument/rich_text_test - B/op 38677 B/op 38572 B/op 1.00
BenchmarkDocument/rich_text_test - allocs/op 1149 allocs/op 1149 allocs/op 1
BenchmarkDocument/counter_test - ns/op 17254 ns/op 16759 ns/op 1.03
BenchmarkDocument/counter_test - B/op 10466 B/op 10242 B/op 1.02
BenchmarkDocument/counter_test - allocs/op 238 allocs/op 238 allocs/op 1
BenchmarkDocument/text_edit_gc_100 - ns/op 2891354 ns/op 2887897 ns/op 1.00
BenchmarkDocument/text_edit_gc_100 - B/op 1658657 B/op 1655169 B/op 1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op 17095 allocs/op 17094 allocs/op 1.00
BenchmarkDocument/text_edit_gc_1000 - ns/op 228531511 ns/op 229415441 ns/op 1.00
BenchmarkDocument/text_edit_gc_1000 - B/op 144374083 B/op 144344868 B/op 1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op 200890 allocs/op 200908 allocs/op 1.00
BenchmarkDocument/text_split_gc_100 - ns/op 3390402 ns/op 3374708 ns/op 1.00
BenchmarkDocument/text_split_gc_100 - B/op 2316879 B/op 2313351 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 288995032 ns/op 287430465 ns/op 1.01
BenchmarkDocument/text_split_gc_1000 - B/op 228948672 B/op 228891160 B/op 1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op 204071 allocs/op 203934 allocs/op 1.00
BenchmarkDocument/text_delete_all_10000 - ns/op 11049117 ns/op 10779697 ns/op 1.02
BenchmarkDocument/text_delete_all_10000 - B/op 5811383 B/op 5809238 B/op 1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op 40679 allocs/op 40669 allocs/op 1.00
BenchmarkDocument/text_delete_all_100000 - ns/op 179345997 ns/op 188925896 ns/op 0.95
BenchmarkDocument/text_delete_all_100000 - B/op 81897960 B/op 81910706 B/op 1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op 411619 allocs/op 411662 allocs/op 1.00
BenchmarkDocument/text_100 - ns/op 228993 ns/op 229354 ns/op 1.00
BenchmarkDocument/text_100 - B/op 120139 B/op 118514 B/op 1.01
BenchmarkDocument/text_100 - allocs/op 5082 allocs/op 5082 allocs/op 1
BenchmarkDocument/text_1000 - ns/op 2439504 ns/op 2502759 ns/op 0.97
BenchmarkDocument/text_1000 - B/op 1169127 B/op 1153102 B/op 1.01
BenchmarkDocument/text_1000 - allocs/op 50086 allocs/op 50086 allocs/op 1
BenchmarkDocument/array_1000 - ns/op 1272340 ns/op 1262770 ns/op 1.01
BenchmarkDocument/array_1000 - B/op 1091392 B/op 1091147 B/op 1.00
BenchmarkDocument/array_1000 - allocs/op 11830 allocs/op 11829 allocs/op 1.00
BenchmarkDocument/array_10000 - ns/op 13300176 ns/op 13221008 ns/op 1.01
BenchmarkDocument/array_10000 - B/op 9799471 B/op 9799195 B/op 1.00
BenchmarkDocument/array_10000 - allocs/op 120292 allocs/op 120291 allocs/op 1.00
BenchmarkDocument/array_gc_100 - ns/op 155731 ns/op 172372 ns/op 0.90
BenchmarkDocument/array_gc_100 - B/op 132661 B/op 139899 B/op 0.95
BenchmarkDocument/array_gc_100 - allocs/op 1259 allocs/op 1472 allocs/op 0.86
BenchmarkDocument/array_gc_1000 - ns/op 1455379 ns/op 1651513 ns/op 0.88
BenchmarkDocument/array_gc_1000 - B/op 1159117 B/op 1241466 B/op 0.93
BenchmarkDocument/array_gc_1000 - allocs/op 12875 allocs/op 14897 allocs/op 0.86
BenchmarkDocument/counter_1000 - ns/op 218794 ns/op 210894 ns/op 1.04
BenchmarkDocument/counter_1000 - B/op 192917 B/op 192884 B/op 1.00
BenchmarkDocument/counter_1000 - allocs/op 5767 allocs/op 5767 allocs/op 1
BenchmarkDocument/counter_10000 - ns/op 2268445 ns/op 2217464 ns/op 1.02
BenchmarkDocument/counter_10000 - B/op 2087848 B/op 2087814 B/op 1.00
BenchmarkDocument/counter_10000 - allocs/op 59774 allocs/op 59774 allocs/op 1
BenchmarkDocument/object_1000 - ns/op 1430955 ns/op 1442631 ns/op 0.99
BenchmarkDocument/object_1000 - B/op 1427959 B/op 1428083 B/op 1.00
BenchmarkDocument/object_1000 - allocs/op 9847 allocs/op 9847 allocs/op 1
BenchmarkDocument/object_10000 - ns/op 15386861 ns/op 15149865 ns/op 1.02
BenchmarkDocument/object_10000 - B/op 12166497 B/op 12166338 B/op 1.00
BenchmarkDocument/object_10000 - allocs/op 100560 allocs/op 100562 allocs/op 1.00
BenchmarkDocument/tree_100 - ns/op 1066694 ns/op 1068412 ns/op 1.00
BenchmarkDocument/tree_100 - B/op 943781 B/op 943709 B/op 1.00
BenchmarkDocument/tree_100 - allocs/op 6102 allocs/op 6101 allocs/op 1.00
BenchmarkDocument/tree_1000 - ns/op 77450597 ns/op 79029252 ns/op 0.98
BenchmarkDocument/tree_1000 - B/op 86460437 B/op 86460602 B/op 1.00
BenchmarkDocument/tree_1000 - allocs/op 60116 allocs/op 60116 allocs/op 1
BenchmarkDocument/tree_10000 - ns/op 9641400437 ns/op 9661149264 ns/op 1.00
BenchmarkDocument/tree_10000 - B/op 8580653968 B/op 8580973784 B/op 1.00
BenchmarkDocument/tree_10000 - allocs/op 600225 allocs/op 600230 allocs/op 1.00
BenchmarkDocument/tree_delete_all_1000 - ns/op 77607472 ns/op 79816852 ns/op 0.97
BenchmarkDocument/tree_delete_all_1000 - B/op 87014194 B/op 86990889 B/op 1.00
BenchmarkDocument/tree_delete_all_1000 - allocs/op 67757 allocs/op 67750 allocs/op 1.00
BenchmarkDocument/tree_edit_gc_100 - ns/op 3789707 ns/op 3866691 ns/op 0.98
BenchmarkDocument/tree_edit_gc_100 - B/op 4121132 B/op 4121023 B/op 1.00
BenchmarkDocument/tree_edit_gc_100 - allocs/op 14359 allocs/op 14358 allocs/op 1.00
BenchmarkDocument/tree_edit_gc_1000 - ns/op 307548900 ns/op 326051394 ns/op 0.94
BenchmarkDocument/tree_edit_gc_1000 - B/op 383464128 B/op 383466086 B/op 1.00
BenchmarkDocument/tree_edit_gc_1000 - allocs/op 145396 allocs/op 145407 allocs/op 1.00
BenchmarkDocument/tree_split_gc_100 - ns/op 2561236 ns/op 2611696 ns/op 0.98
BenchmarkDocument/tree_split_gc_100 - B/op 2387017 B/op 2386898 B/op 1.00
BenchmarkDocument/tree_split_gc_100 - allocs/op 10344 allocs/op 10343 allocs/op 1.00
BenchmarkDocument/tree_split_gc_1000 - ns/op 195441950 ns/op 196739556 ns/op 0.99
BenchmarkDocument/tree_split_gc_1000 - B/op 221994269 B/op 221991590 B/op 1.00
BenchmarkDocument/tree_split_gc_1000 - allocs/op 112271 allocs/op 112260 allocs/op 1.00
BenchmarkRPC/client_to_server - ns/op 358276188 ns/op 356144469 ns/op 1.01
BenchmarkRPC/client_to_server - B/op 16388250 B/op 17801216 B/op 0.92
BenchmarkRPC/client_to_server - allocs/op 166811 allocs/op 166911 allocs/op 1.00
BenchmarkRPC/client_to_client_via_server - ns/op 614538487 ns/op 613079232 ns/op 1.00
BenchmarkRPC/client_to_client_via_server - B/op 35385000 B/op 31722656 B/op 1.12
BenchmarkRPC/client_to_client_via_server - allocs/op 312504 allocs/op 313048 allocs/op 1.00
BenchmarkRPC/attach_large_document - ns/op 1187374322 ns/op 1479934941 ns/op 0.80
BenchmarkRPC/attach_large_document - B/op 1888398552 B/op 1890029520 B/op 1.00
BenchmarkRPC/attach_large_document - allocs/op 7534 allocs/op 7567 allocs/op 1.00
BenchmarkRPC/adminCli_to_server - ns/op 542197319 ns/op 537051132 ns/op 1.01
BenchmarkRPC/adminCli_to_server - B/op 36794304 B/op 36806452 B/op 1.00
BenchmarkRPC/adminCli_to_server - allocs/op 289672 allocs/op 289659 allocs/op 1.00
BenchmarkLocker - ns/op 67.61 ns/op 65.34 ns/op 1.03
BenchmarkLocker - B/op 16 B/op 16 B/op 1
BenchmarkLocker - allocs/op 1 allocs/op 1 allocs/op 1
BenchmarkLockerParallel - ns/op 38 ns/op 38.48 ns/op 0.99
BenchmarkLockerParallel - B/op 0 B/op 0 B/op NaN
BenchmarkLockerParallel - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkLockerMoreKeys - ns/op 151.2 ns/op 145.1 ns/op 1.04
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 3779709 ns/op 3768343 ns/op 1.00
BenchmarkChange/Push_10_Changes - B/op 126291 B/op 126223 B/op 1.00
BenchmarkChange/Push_10_Changes - allocs/op 1254 allocs/op 1254 allocs/op 1
BenchmarkChange/Push_100_Changes - ns/op 13977685 ns/op 14005221 ns/op 1.00
BenchmarkChange/Push_100_Changes - B/op 643784 B/op 648654 B/op 0.99
BenchmarkChange/Push_100_Changes - allocs/op 6538 allocs/op 6539 allocs/op 1.00
BenchmarkChange/Push_1000_Changes - ns/op 111789729 ns/op 114047673 ns/op 0.98
BenchmarkChange/Push_1000_Changes - B/op 5980620 B/op 6036337 B/op 0.99
BenchmarkChange/Push_1000_Changes - allocs/op 62160 allocs/op 62157 allocs/op 1.00
BenchmarkChange/Pull_10_Changes - ns/op 2846687 ns/op 2839363 ns/op 1.00
BenchmarkChange/Pull_10_Changes - B/op 100493 B/op 100881 B/op 1.00
BenchmarkChange/Pull_10_Changes - allocs/op 952 allocs/op 952 allocs/op 1
BenchmarkChange/Pull_100_Changes - ns/op 4332057 ns/op 4308547 ns/op 1.01
BenchmarkChange/Pull_100_Changes - B/op 257336 B/op 258255 B/op 1.00
BenchmarkChange/Pull_100_Changes - allocs/op 3154 allocs/op 3154 allocs/op 1
BenchmarkChange/Pull_1000_Changes - ns/op 8471288 ns/op 8372656 ns/op 1.01
BenchmarkChange/Pull_1000_Changes - B/op 1394774 B/op 1396187 B/op 1.00
BenchmarkChange/Pull_1000_Changes - allocs/op 26869 allocs/op 26871 allocs/op 1.00
BenchmarkSnapshot/Push_3KB_snapshot - ns/op 16566525 ns/op 16777319 ns/op 0.99
BenchmarkSnapshot/Push_3KB_snapshot - B/op 800692 B/op 809995 B/op 0.99
BenchmarkSnapshot/Push_3KB_snapshot - allocs/op 6540 allocs/op 6542 allocs/op 1.00
BenchmarkSnapshot/Push_30KB_snapshot - ns/op 115612397 ns/op 117069671 ns/op 0.99
BenchmarkSnapshot/Push_30KB_snapshot - B/op 6340956 B/op 6250016 B/op 1.01
BenchmarkSnapshot/Push_30KB_snapshot - allocs/op 62170 allocs/op 62161 allocs/op 1.00
BenchmarkSnapshot/Pull_3KB_snapshot - ns/op 6701214 ns/op 6563310 ns/op 1.02
BenchmarkSnapshot/Pull_3KB_snapshot - B/op 904619 B/op 905174 B/op 1.00
BenchmarkSnapshot/Pull_3KB_snapshot - allocs/op 14887 allocs/op 14882 allocs/op 1.00
BenchmarkSnapshot/Pull_30KB_snapshot - ns/op 15085864 ns/op 15000336 ns/op 1.01
BenchmarkSnapshot/Pull_30KB_snapshot - B/op 6980554 B/op 6977754 B/op 1.00
BenchmarkSnapshot/Pull_30KB_snapshot - allocs/op 144118 allocs/op 144148 allocs/op 1.00
BenchmarkSync/memory_sync_10_test - ns/op 6908 ns/op 6824 ns/op 1.01
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 51920 ns/op 51635 ns/op 1.01
BenchmarkSync/memory_sync_100_test - B/op 8655 B/op 8659 B/op 1.00
BenchmarkSync/memory_sync_100_test - allocs/op 274 allocs/op 274 allocs/op 1
BenchmarkSync/memory_sync_1000_test - ns/op 585234 ns/op 582724 ns/op 1.00
BenchmarkSync/memory_sync_1000_test - B/op 74603 B/op 74925 B/op 1.00
BenchmarkSync/memory_sync_1000_test - allocs/op 2123 allocs/op 2141 allocs/op 0.99
BenchmarkSync/memory_sync_10000_test - ns/op 7192235 ns/op 7320373 ns/op 0.98
BenchmarkSync/memory_sync_10000_test - B/op 763749 B/op 761425 B/op 1.00
BenchmarkSync/memory_sync_10000_test - allocs/op 20594 allocs/op 20593 allocs/op 1.00
BenchmarkTextEditing - ns/op 19395968920 ns/op 18585017456 ns/op 1.04
BenchmarkTextEditing - B/op 9042081064 B/op 9037385240 B/op 1.00
BenchmarkTextEditing - allocs/op 19923723 allocs/op 19920435 allocs/op 1.00

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

Please sign in to comment.