Skip to content

Commit

Permalink
Remove GC test skip for Tree
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins committed Aug 15, 2023
1 parent 66253be commit 97f9f68
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/integration/gc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ func TestGarbageCollection(t *testing.T) {
})

t.Run("garbage collection for tree type test", func(t *testing.T) {
t.Skip()
doc := document.New(helper.TestDocKey(t))

err := doc.Update(func(root *json.Object, p *presence.Presence) error {
Expand Down Expand Up @@ -245,7 +244,6 @@ func TestGarbageCollection(t *testing.T) {
})

t.Run("garbage collection for tree type test (multi clients)", func(t *testing.T) {
t.Skip()
ctx := context.Background()
d1 := document.New(helper.TestDocKey(t))
err := c1.Attach(ctx, d1)
Expand Down

1 comment on commit 97f9f68

@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: 97f9f68 Previous: 1f63722 Ratio
BenchmarkDocument/constructor_test - ns/op 1563 ns/op 1571 ns/op 0.99
BenchmarkDocument/constructor_test - B/op 984 B/op 984 B/op 1
BenchmarkDocument/constructor_test - allocs/op 16 allocs/op 16 allocs/op 1
BenchmarkDocument/status_test - ns/op 1424 ns/op 889.9 ns/op 1.60
BenchmarkDocument/status_test - B/op 952 B/op 952 B/op 1
BenchmarkDocument/status_test - allocs/op 14 allocs/op 14 allocs/op 1
BenchmarkDocument/equals_test - ns/op 9150 ns/op 8561 ns/op 1.07
BenchmarkDocument/equals_test - B/op 6192 B/op 6192 B/op 1
BenchmarkDocument/equals_test - allocs/op 106 allocs/op 106 allocs/op 1
BenchmarkDocument/nested_update_test - ns/op 23210 ns/op 23849 ns/op 0.97
BenchmarkDocument/nested_update_test - B/op 11689 B/op 11689 B/op 1
BenchmarkDocument/nested_update_test - allocs/op 248 allocs/op 248 allocs/op 1
BenchmarkDocument/delete_test - ns/op 31040 ns/op 30251 ns/op 1.03
BenchmarkDocument/delete_test - B/op 14914 B/op 14915 B/op 1.00
BenchmarkDocument/delete_test - allocs/op 327 allocs/op 327 allocs/op 1
BenchmarkDocument/object_test - ns/op 10900 ns/op 10605 ns/op 1.03
BenchmarkDocument/object_test - B/op 6448 B/op 6448 B/op 1
BenchmarkDocument/object_test - allocs/op 110 allocs/op 110 allocs/op 1
BenchmarkDocument/array_test - ns/op 37557 ns/op 40110 ns/op 0.94
BenchmarkDocument/array_test - B/op 11546 B/op 11545 B/op 1.00
BenchmarkDocument/array_test - allocs/op 264 allocs/op 264 allocs/op 1
BenchmarkDocument/text_test - ns/op 39966 ns/op 38207 ns/op 1.05
BenchmarkDocument/text_test - B/op 14618 B/op 14618 B/op 1
BenchmarkDocument/text_test - allocs/op 470 allocs/op 470 allocs/op 1
BenchmarkDocument/text_composition_test - ns/op 41054 ns/op 38782 ns/op 1.06
BenchmarkDocument/text_composition_test - B/op 18002 B/op 18002 B/op 1
BenchmarkDocument/text_composition_test - allocs/op 471 allocs/op 471 allocs/op 1
BenchmarkDocument/rich_text_test - ns/op 107836 ns/op 103540 ns/op 1.04
BenchmarkDocument/rich_text_test - B/op 36807 B/op 36807 B/op 1
BenchmarkDocument/rich_text_test - allocs/op 1131 allocs/op 1131 allocs/op 1
BenchmarkDocument/counter_test - ns/op 22669 ns/op 20994 ns/op 1.08
BenchmarkDocument/counter_test - B/op 9970 B/op 9970 B/op 1
BenchmarkDocument/counter_test - allocs/op 235 allocs/op 235 allocs/op 1
BenchmarkDocument/text_edit_gc_100 - ns/op 4329421 ns/op 3963886 ns/op 1.09
BenchmarkDocument/text_edit_gc_100 - B/op 1553148 B/op 1553087 B/op 1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op 17162 allocs/op 17161 allocs/op 1.00
BenchmarkDocument/text_edit_gc_1000 - ns/op 364760946 ns/op 313689090 ns/op 1.16
BenchmarkDocument/text_edit_gc_1000 - B/op 136683072 B/op 136631552 B/op 1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op 210956 allocs/op 210701 allocs/op 1.00
BenchmarkDocument/text_split_gc_100 - ns/op 4928751 ns/op 4598879 ns/op 1.07
BenchmarkDocument/text_split_gc_100 - B/op 2217738 B/op 2217588 B/op 1.00
BenchmarkDocument/text_split_gc_100 - allocs/op 16589 allocs/op 16589 allocs/op 1
BenchmarkDocument/text_split_gc_1000 - ns/op 381279836 ns/op 361375128 ns/op 1.06
BenchmarkDocument/text_split_gc_1000 - B/op 214853218 B/op 214859917 B/op 1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op 211384 allocs/op 211446 allocs/op 1.00
BenchmarkDocument/text_delete_all_10000 - ns/op 20989873 ns/op 19578579 ns/op 1.07
BenchmarkDocument/text_delete_all_10000 - B/op 5903203 B/op 5904621 B/op 1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op 41122 allocs/op 41128 allocs/op 1.00
BenchmarkDocument/text_delete_all_100000 - ns/op 256281457 ns/op 254618054 ns/op 1.01
BenchmarkDocument/text_delete_all_100000 - B/op 53827728 B/op 53839944 B/op 1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op 415934 allocs/op 415993 allocs/op 1.00
BenchmarkDocument/text_100 - ns/op 339187 ns/op 330774 ns/op 1.03
BenchmarkDocument/text_100 - B/op 118211 B/op 118213 B/op 1.00
BenchmarkDocument/text_100 - allocs/op 5074 allocs/op 5074 allocs/op 1
BenchmarkDocument/text_1000 - ns/op 3572347 ns/op 3639084 ns/op 0.98
BenchmarkDocument/text_1000 - B/op 1152820 B/op 1152823 B/op 1.00
BenchmarkDocument/text_1000 - allocs/op 50078 allocs/op 50078 allocs/op 1
BenchmarkDocument/array_1000 - ns/op 1799231 ns/op 1797916 ns/op 1.00
BenchmarkDocument/array_1000 - B/op 1102725 B/op 1102821 B/op 1.00
BenchmarkDocument/array_1000 - allocs/op 11867 allocs/op 11867 allocs/op 1
BenchmarkDocument/array_10000 - ns/op 20642468 ns/op 20787542 ns/op 0.99
BenchmarkDocument/array_10000 - B/op 9907005 B/op 9907150 B/op 1.00
BenchmarkDocument/array_10000 - allocs/op 120719 allocs/op 120719 allocs/op 1
BenchmarkDocument/array_gc_100 - ns/op 184208 ns/op 183158 ns/op 1.01
BenchmarkDocument/array_gc_100 - B/op 98145 B/op 98169 B/op 1.00
BenchmarkDocument/array_gc_100 - allocs/op 1243 allocs/op 1243 allocs/op 1
BenchmarkDocument/array_gc_1000 - ns/op 2038253 ns/op 1976201 ns/op 1.03
BenchmarkDocument/array_gc_1000 - B/op 1170387 B/op 1170344 B/op 1.00
BenchmarkDocument/array_gc_1000 - allocs/op 12906 allocs/op 12906 allocs/op 1
BenchmarkDocument/counter_1000 - ns/op 310318 ns/op 285428 ns/op 1.09
BenchmarkDocument/counter_1000 - B/op 198532 B/op 198534 B/op 1.00
BenchmarkDocument/counter_1000 - allocs/op 6503 allocs/op 6503 allocs/op 1
BenchmarkDocument/counter_10000 - ns/op 3243314 ns/op 3095974 ns/op 1.05
BenchmarkDocument/counter_10000 - B/op 2165459 B/op 2165456 B/op 1.00
BenchmarkDocument/counter_10000 - allocs/op 69510 allocs/op 69510 allocs/op 1
BenchmarkDocument/object_1000 - ns/op 1948279 ns/op 1901665 ns/op 1.02
BenchmarkDocument/object_1000 - B/op 1451109 B/op 1451351 B/op 1.00
BenchmarkDocument/object_1000 - allocs/op 9914 allocs/op 9915 allocs/op 1.00
BenchmarkDocument/object_10000 - ns/op 24084538 ns/op 23966450 ns/op 1.00
BenchmarkDocument/object_10000 - B/op 12371720 B/op 12371453 B/op 1.00
BenchmarkDocument/object_10000 - allocs/op 101227 allocs/op 101226 allocs/op 1.00
BenchmarkRPC/client_to_server - ns/op 435016300 ns/op 401201105 ns/op 1.08
BenchmarkRPC/client_to_server - B/op 12236674 B/op 12262480 B/op 1.00
BenchmarkRPC/client_to_server - allocs/op 176960 allocs/op 177181 allocs/op 1.00
BenchmarkRPC/client_to_client_via_server - ns/op 707047979 ns/op 685664009 ns/op 1.03
BenchmarkRPC/client_to_client_via_server - B/op 22595584 B/op 22584304 B/op 1.00
BenchmarkRPC/client_to_client_via_server - allocs/op 330737 allocs/op 330481 allocs/op 1.00
BenchmarkRPC/attach_large_document - ns/op 1595174003 ns/op 1473754095 ns/op 1.08
BenchmarkRPC/attach_large_document - B/op 1807748464 B/op 1819078872 B/op 0.99
BenchmarkRPC/attach_large_document - allocs/op 11436 allocs/op 9660 allocs/op 1.18
BenchmarkRPC/adminCli_to_server - ns/op 576592264 ns/op 559190893 ns/op 1.03
BenchmarkRPC/adminCli_to_server - B/op 20392408 B/op 20410700 B/op 1.00
BenchmarkRPC/adminCli_to_server - allocs/op 321616 allocs/op 321614 allocs/op 1.00
BenchmarkLocker - ns/op 131.3 ns/op 123.1 ns/op 1.07
BenchmarkLocker - B/op 16 B/op 16 B/op 1
BenchmarkLocker - allocs/op 1 allocs/op 1 allocs/op 1
BenchmarkLockerParallel - ns/op 125.2 ns/op 126.5 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 303.5 ns/op 440.8 ns/op 0.69
BenchmarkLockerMoreKeys - B/op 14 B/op 13 B/op 1.08
BenchmarkLockerMoreKeys - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkSync/memory_sync_10_test - ns/op 7715 ns/op 7461 ns/op 1.03
BenchmarkSync/memory_sync_10_test - B/op 1282 B/op 1283 B/op 1.00
BenchmarkSync/memory_sync_10_test - allocs/op 38 allocs/op 38 allocs/op 1
BenchmarkSync/memory_sync_100_test - ns/op 69945 ns/op 69442 ns/op 1.01
BenchmarkSync/memory_sync_100_test - B/op 8756 B/op 8763 B/op 1.00
BenchmarkSync/memory_sync_100_test - allocs/op 280 allocs/op 280 allocs/op 1
BenchmarkSync/memory_sync_1000_test - ns/op 690879 ns/op 699971 ns/op 0.99
BenchmarkSync/memory_sync_1000_test - B/op 81876 B/op 81716 B/op 1.00
BenchmarkSync/memory_sync_1000_test - allocs/op 2583 allocs/op 2579 allocs/op 1.00
BenchmarkSync/memory_sync_10000_test - ns/op 8362818 ns/op 7491717 ns/op 1.12
BenchmarkSync/memory_sync_10000_test - B/op 864144 B/op 850438 B/op 1.02
BenchmarkSync/memory_sync_10000_test - allocs/op 26840 allocs/op 26946 allocs/op 1.00
BenchmarkTextEditing - ns/op 28871591476 ns/op 27697786985 ns/op 1.04
BenchmarkTextEditing - B/op 8456831248 B/op 8457437952 B/op 1.00
BenchmarkTextEditing - allocs/op 20613897 allocs/op 20616814 allocs/op 1.00

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

Please sign in to comment.