Skip to content

Commit

Permalink
Remove GC test skip of GC 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 2fe3da9
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 2fe3da9

@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: 2fe3da9 Previous: 1f63722 Ratio
BenchmarkDocument/constructor_test - ns/op 1824 ns/op 1571 ns/op 1.16
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 1118 ns/op 889.9 ns/op 1.26
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 10731 ns/op 8561 ns/op 1.25
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 26257 ns/op 23849 ns/op 1.10
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 40925 ns/op 30251 ns/op 1.35
BenchmarkDocument/delete_test - B/op 14915 B/op 14915 B/op 1
BenchmarkDocument/delete_test - allocs/op 327 allocs/op 327 allocs/op 1
BenchmarkDocument/object_test - ns/op 11969 ns/op 10605 ns/op 1.13
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 43557 ns/op 40110 ns/op 1.09
BenchmarkDocument/array_test - B/op 11545 B/op 11545 B/op 1
BenchmarkDocument/array_test - allocs/op 264 allocs/op 264 allocs/op 1
BenchmarkDocument/text_test - ns/op 47847 ns/op 38207 ns/op 1.25
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 47516 ns/op 38782 ns/op 1.23
BenchmarkDocument/text_composition_test - B/op 18006 B/op 18002 B/op 1.00
BenchmarkDocument/text_composition_test - allocs/op 471 allocs/op 471 allocs/op 1
BenchmarkDocument/rich_text_test - ns/op 124357 ns/op 103540 ns/op 1.20
BenchmarkDocument/rich_text_test - B/op 36806 B/op 36807 B/op 1.00
BenchmarkDocument/rich_text_test - allocs/op 1131 allocs/op 1131 allocs/op 1
BenchmarkDocument/counter_test - ns/op 26056 ns/op 20994 ns/op 1.24
BenchmarkDocument/counter_test - B/op 9969 B/op 9970 B/op 1.00
BenchmarkDocument/counter_test - allocs/op 235 allocs/op 235 allocs/op 1
BenchmarkDocument/text_edit_gc_100 - ns/op 4793006 ns/op 3963886 ns/op 1.21
BenchmarkDocument/text_edit_gc_100 - B/op 1553209 B/op 1553087 B/op 1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op 17161 allocs/op 17161 allocs/op 1
BenchmarkDocument/text_edit_gc_1000 - ns/op 374468907 ns/op 313689090 ns/op 1.19
BenchmarkDocument/text_edit_gc_1000 - B/op 136662690 B/op 136631552 B/op 1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op 210842 allocs/op 210701 allocs/op 1.00
BenchmarkDocument/text_split_gc_100 - ns/op 5678419 ns/op 4598879 ns/op 1.23
BenchmarkDocument/text_split_gc_100 - B/op 2217590 B/op 2217588 B/op 1.00
BenchmarkDocument/text_split_gc_100 - allocs/op 16587 allocs/op 16589 allocs/op 1.00
BenchmarkDocument/text_split_gc_1000 - ns/op 424922628 ns/op 361375128 ns/op 1.18
BenchmarkDocument/text_split_gc_1000 - B/op 214823672 B/op 214859917 B/op 1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op 211259 allocs/op 211446 allocs/op 1.00
BenchmarkDocument/text_delete_all_10000 - ns/op 23198010 ns/op 19578579 ns/op 1.18
BenchmarkDocument/text_delete_all_10000 - B/op 5903118 B/op 5904621 B/op 1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op 41120 allocs/op 41128 allocs/op 1.00
BenchmarkDocument/text_delete_all_100000 - ns/op 259239070 ns/op 254618054 ns/op 1.02
BenchmarkDocument/text_delete_all_100000 - B/op 53863696 B/op 53839944 B/op 1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op 416088 allocs/op 415993 allocs/op 1.00
BenchmarkDocument/text_100 - ns/op 383000 ns/op 330774 ns/op 1.16
BenchmarkDocument/text_100 - B/op 118214 B/op 118213 B/op 1.00
BenchmarkDocument/text_100 - allocs/op 5074 allocs/op 5074 allocs/op 1
BenchmarkDocument/text_1000 - ns/op 4232263 ns/op 3639084 ns/op 1.16
BenchmarkDocument/text_1000 - B/op 1152830 B/op 1152823 B/op 1.00
BenchmarkDocument/text_1000 - allocs/op 50078 allocs/op 50078 allocs/op 1
BenchmarkDocument/array_1000 - ns/op 2179709 ns/op 1797916 ns/op 1.21
BenchmarkDocument/array_1000 - B/op 1102834 B/op 1102821 B/op 1.00
BenchmarkDocument/array_1000 - allocs/op 11867 allocs/op 11867 allocs/op 1
BenchmarkDocument/array_10000 - ns/op 24488402 ns/op 20787542 ns/op 1.18
BenchmarkDocument/array_10000 - B/op 9906615 B/op 9907150 B/op 1.00
BenchmarkDocument/array_10000 - allocs/op 120718 allocs/op 120719 allocs/op 1.00
BenchmarkDocument/array_gc_100 - ns/op 225290 ns/op 183158 ns/op 1.23
BenchmarkDocument/array_gc_100 - B/op 98174 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 2460901 ns/op 1976201 ns/op 1.25
BenchmarkDocument/array_gc_1000 - B/op 1170563 B/op 1170344 B/op 1.00
BenchmarkDocument/array_gc_1000 - allocs/op 12907 allocs/op 12906 allocs/op 1.00
BenchmarkDocument/counter_1000 - ns/op 347144 ns/op 285428 ns/op 1.22
BenchmarkDocument/counter_1000 - B/op 198534 B/op 198534 B/op 1
BenchmarkDocument/counter_1000 - allocs/op 6503 allocs/op 6503 allocs/op 1
BenchmarkDocument/counter_10000 - ns/op 3797023 ns/op 3095974 ns/op 1.23
BenchmarkDocument/counter_10000 - B/op 2165464 B/op 2165456 B/op 1.00
BenchmarkDocument/counter_10000 - allocs/op 69510 allocs/op 69510 allocs/op 1
BenchmarkDocument/object_1000 - ns/op 2292597 ns/op 1901665 ns/op 1.21
BenchmarkDocument/object_1000 - B/op 1451133 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 26758016 ns/op 23966450 ns/op 1.12
BenchmarkDocument/object_10000 - B/op 12368612 B/op 12371453 B/op 1.00
BenchmarkDocument/object_10000 - allocs/op 101217 allocs/op 101226 allocs/op 1.00
BenchmarkRPC/client_to_server - ns/op 502232309 ns/op 401201105 ns/op 1.25
BenchmarkRPC/client_to_server - B/op 12462164 B/op 12262480 B/op 1.02
BenchmarkRPC/client_to_server - allocs/op 177248 allocs/op 177181 allocs/op 1.00
BenchmarkRPC/client_to_client_via_server - ns/op 817246350 ns/op 685664009 ns/op 1.19
BenchmarkRPC/client_to_client_via_server - B/op 22618372 B/op 22584304 B/op 1.00
BenchmarkRPC/client_to_client_via_server - allocs/op 330883 allocs/op 330481 allocs/op 1.00
BenchmarkRPC/attach_large_document - ns/op 1725088842 ns/op 1473754095 ns/op 1.17
BenchmarkRPC/attach_large_document - B/op 1799128096 B/op 1819078872 B/op 0.99
BenchmarkRPC/attach_large_document - allocs/op 9542 allocs/op 9660 allocs/op 0.99
BenchmarkRPC/adminCli_to_server - ns/op 725084050 ns/op 559190893 ns/op 1.30
BenchmarkRPC/adminCli_to_server - B/op 20396724 B/op 20410700 B/op 1.00
BenchmarkRPC/adminCli_to_server - allocs/op 321612 allocs/op 321614 allocs/op 1.00
BenchmarkLocker - ns/op 149.8 ns/op 123.1 ns/op 1.22
BenchmarkLocker - B/op 16 B/op 16 B/op 1
BenchmarkLocker - allocs/op 1 allocs/op 1 allocs/op 1
BenchmarkLockerParallel - ns/op 155.6 ns/op 126.5 ns/op 1.23
BenchmarkLockerParallel - B/op 0 B/op 0 B/op NaN
BenchmarkLockerParallel - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkLockerMoreKeys - ns/op 392.6 ns/op 440.8 ns/op 0.89
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 9320 ns/op 7461 ns/op 1.25
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 81696 ns/op 69442 ns/op 1.18
BenchmarkSync/memory_sync_100_test - B/op 8725 B/op 8763 B/op 1.00
BenchmarkSync/memory_sync_100_test - allocs/op 278 allocs/op 280 allocs/op 0.99
BenchmarkSync/memory_sync_1000_test - ns/op 790843 ns/op 699971 ns/op 1.13
BenchmarkSync/memory_sync_1000_test - B/op 81936 B/op 81716 B/op 1.00
BenchmarkSync/memory_sync_1000_test - allocs/op 2586 allocs/op 2579 allocs/op 1.00
BenchmarkSync/memory_sync_10000_test - ns/op 8529299 ns/op 7491717 ns/op 1.14
BenchmarkSync/memory_sync_10000_test - B/op 868495 B/op 850438 B/op 1.02
BenchmarkSync/memory_sync_10000_test - allocs/op 27061 allocs/op 26946 allocs/op 1.00
BenchmarkTextEditing - ns/op 30681333811 ns/op 27697786985 ns/op 1.11
BenchmarkTextEditing - B/op 8457213848 B/op 8457437952 B/op 1.00
BenchmarkTextEditing - allocs/op 20615542 allocs/op 20616814 allocs/op 1.00

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

Please sign in to comment.