Skip to content

Commit

Permalink
Apply VersionVector to GC
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins committed Mar 29, 2024
1 parent 03928f9 commit 0fbab52
Show file tree
Hide file tree
Showing 13 changed files with 999 additions and 786 deletions.
41 changes: 41 additions & 0 deletions api/docs/yorkie/v1/admin.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,12 @@ components:
- type: string
- type: number
title: server_seq
versionVector:
$ref: '#/components/schemas/yorkie.v1.VersionVector'
additionalProperties: false
description: ""
title: version_vector
type: object
title: ChangeID
type: object
yorkie.v1.CreateProjectRequest:
Expand Down Expand Up @@ -734,6 +740,12 @@ components:
format: byte
title: snapshot
type: string
versionVector:
$ref: '#/components/schemas/yorkie.v1.VersionVector'
additionalProperties: false
description: ""
title: version_vector
type: object
title: GetSnapshotMetaResponse
type: object
yorkie.v1.JSONElementSimple:
Expand Down Expand Up @@ -1932,6 +1944,35 @@ components:
- 13
title: ValueType
type: string
yorkie.v1.VersionVector:
additionalProperties: false
description: ""
properties:
vector:
additionalProperties: false
description: ""
title: vector
type: object
title: VersionVector
type: object
yorkie.v1.VersionVector.VectorEntry:
additionalProperties: false
description: ""
properties:
key:
additionalProperties: false
description: ""
title: key
type: string
value:
additionalProperties: false
description: ""
oneOf:
- type: string
- type: number
title: value
title: VectorEntry
type: object
securitySchemes:
ApiKeyAuth:
in: header
Expand Down
47 changes: 47 additions & 0 deletions api/docs/yorkie/v1/resources.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,12 @@ components:
- type: string
- type: number
title: server_seq
versionVector:
$ref: '#/components/schemas/yorkie.v1.VersionVector'
additionalProperties: false
description: ""
title: version_vector
type: object
title: ChangeID
type: object
yorkie.v1.ChangePack:
Expand Down Expand Up @@ -256,12 +262,24 @@ components:
description: ""
title: min_synced_ticket
type: object
minSyncedVersionVector:
$ref: '#/components/schemas/yorkie.v1.VersionVector'
additionalProperties: false
description: ""
title: min_synced_version_vector
type: object
snapshot:
additionalProperties: false
description: ""
format: byte
title: snapshot
type: string
snapshotVersionVector:
$ref: '#/components/schemas/yorkie.v1.VersionVector'
additionalProperties: false
description: ""
title: snapshot_version_vector
type: object
title: ChangePack
type: object
yorkie.v1.Checkpoint:
Expand Down Expand Up @@ -1688,6 +1706,35 @@ components:
- 13
title: ValueType
type: string
yorkie.v1.VersionVector:
additionalProperties: false
description: ""
properties:
vector:
additionalProperties: false
description: ""
title: vector
type: object
title: VersionVector
type: object
yorkie.v1.VersionVector.VectorEntry:
additionalProperties: false
description: ""
properties:
key:
additionalProperties: false
description: ""
title: key
type: string
value:
additionalProperties: false
description: ""
oneOf:
- type: string
- type: number
title: value
title: VectorEntry
type: object
securitySchemes:
ApiKeyAuth:
in: header
Expand Down
47 changes: 47 additions & 0 deletions api/docs/yorkie/v1/yorkie.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,12 @@ components:
- type: string
- type: number
title: server_seq
versionVector:
$ref: '#/components/schemas/yorkie.v1.VersionVector'
additionalProperties: false
description: ""
title: version_vector
type: object
title: ChangeID
type: object
yorkie.v1.ChangePack:
Expand Down Expand Up @@ -464,12 +470,24 @@ components:
description: ""
title: min_synced_ticket
type: object
minSyncedVersionVector:
$ref: '#/components/schemas/yorkie.v1.VersionVector'
additionalProperties: false
description: ""
title: min_synced_version_vector
type: object
snapshot:
additionalProperties: false
description: ""
format: byte
title: snapshot
type: string
snapshotVersionVector:
$ref: '#/components/schemas/yorkie.v1.VersionVector'
additionalProperties: false
description: ""
title: snapshot_version_vector
type: object
title: ChangePack
type: object
yorkie.v1.Checkpoint:
Expand Down Expand Up @@ -1485,6 +1503,35 @@ components:
- 13
title: ValueType
type: string
yorkie.v1.VersionVector:
additionalProperties: false
description: ""
properties:
vector:
additionalProperties: false
description: ""
title: vector
type: object
title: VersionVector
type: object
yorkie.v1.VersionVector.VectorEntry:
additionalProperties: false
description: ""
properties:
key:
additionalProperties: false
description: ""
title: key
type: string
value:
additionalProperties: false
description: ""
oneOf:
- type: string
- type: number
title: value
title: VectorEntry
type: object
yorkie.v1.WatchDocumentRequest:
additionalProperties: false
description: ""
Expand Down
Loading

1 comment on commit 0fbab52

@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: 0fbab52 Previous: 2e72a87 Ratio
BenchmarkDocument/constructor_test 1379 ns/op 1224 B/op 21 allocs/op 1394 ns/op 1224 B/op 21 allocs/op 0.99
BenchmarkDocument/constructor_test - ns/op 1379 ns/op 1394 ns/op 0.99
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 853.8 ns/op 1192 B/op 19 allocs/op 850.9 ns/op 1192 B/op 19 allocs/op 1.00
BenchmarkDocument/status_test - ns/op 853.8 ns/op 850.9 ns/op 1.00
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 7703 ns/op 7281 B/op 128 allocs/op 7834 ns/op 7281 B/op 128 allocs/op 0.98
BenchmarkDocument/equals_test - ns/op 7703 ns/op 7834 ns/op 0.98
BenchmarkDocument/equals_test - B/op 7281 B/op 7281 B/op 1
BenchmarkDocument/equals_test - allocs/op 128 allocs/op 128 allocs/op 1
BenchmarkDocument/nested_update_test 16892 ns/op 12363 B/op 264 allocs/op 17072 ns/op 12363 B/op 264 allocs/op 0.99
BenchmarkDocument/nested_update_test - ns/op 16892 ns/op 17072 ns/op 0.99
BenchmarkDocument/nested_update_test - B/op 12363 B/op 12363 B/op 1
BenchmarkDocument/nested_update_test - allocs/op 264 allocs/op 264 allocs/op 1
BenchmarkDocument/delete_test 26023 ns/op 15940 B/op 349 allocs/op 23688 ns/op 15940 B/op 349 allocs/op 1.10
BenchmarkDocument/delete_test - ns/op 26023 ns/op 23688 ns/op 1.10
BenchmarkDocument/delete_test - B/op 15940 B/op 15940 B/op 1
BenchmarkDocument/delete_test - allocs/op 349 allocs/op 349 allocs/op 1
BenchmarkDocument/object_test 8778 ns/op 7057 B/op 122 allocs/op 9097 ns/op 7057 B/op 122 allocs/op 0.96
BenchmarkDocument/object_test - ns/op 8778 ns/op 9097 ns/op 0.96
BenchmarkDocument/object_test - B/op 7057 B/op 7057 B/op 1
BenchmarkDocument/object_test - allocs/op 122 allocs/op 122 allocs/op 1
BenchmarkDocument/array_test 29055 ns/op 12187 B/op 278 allocs/op 34526 ns/op 12187 B/op 278 allocs/op 0.84
BenchmarkDocument/array_test - ns/op 29055 ns/op 34526 ns/op 0.84
BenchmarkDocument/array_test - B/op 12187 B/op 12187 B/op 1
BenchmarkDocument/array_test - allocs/op 278 allocs/op 278 allocs/op 1
BenchmarkDocument/text_test 31463 ns/op 15556 B/op 480 allocs/op 32665 ns/op 15556 B/op 480 allocs/op 0.96
BenchmarkDocument/text_test - ns/op 31463 ns/op 32665 ns/op 0.96
BenchmarkDocument/text_test - B/op 15556 B/op 15556 B/op 1
BenchmarkDocument/text_test - allocs/op 480 allocs/op 480 allocs/op 1
BenchmarkDocument/text_composition_test 29207 ns/op 18735 B/op 483 allocs/op 29722 ns/op 18735 B/op 483 allocs/op 0.98
BenchmarkDocument/text_composition_test - ns/op 29207 ns/op 29722 ns/op 0.98
BenchmarkDocument/text_composition_test - B/op 18735 B/op 18735 B/op 1
BenchmarkDocument/text_composition_test - allocs/op 483 allocs/op 483 allocs/op 1
BenchmarkDocument/rich_text_test 82086 ns/op 40388 B/op 1177 allocs/op 86117 ns/op 40390 B/op 1177 allocs/op 0.95
BenchmarkDocument/rich_text_test - ns/op 82086 ns/op 86117 ns/op 0.95
BenchmarkDocument/rich_text_test - B/op 40388 B/op 40390 B/op 1.00
BenchmarkDocument/rich_text_test - allocs/op 1177 allocs/op 1177 allocs/op 1
BenchmarkDocument/counter_test 19041 ns/op 12003 B/op 264 allocs/op 19289 ns/op 12002 B/op 264 allocs/op 0.99
BenchmarkDocument/counter_test - ns/op 19041 ns/op 19289 ns/op 0.99
BenchmarkDocument/counter_test - B/op 12003 B/op 12002 B/op 1.00
BenchmarkDocument/counter_test - allocs/op 264 allocs/op 264 allocs/op 1
BenchmarkDocument/text_edit_gc_100 2879807 ns/op 1659034 B/op 17103 allocs/op 2936187 ns/op 1659203 B/op 17104 allocs/op 0.98
BenchmarkDocument/text_edit_gc_100 - ns/op 2879807 ns/op 2936187 ns/op 0.98
BenchmarkDocument/text_edit_gc_100 - B/op 1659034 B/op 1659203 B/op 1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op 17103 allocs/op 17104 allocs/op 1.00
BenchmarkDocument/text_edit_gc_1000 230436790 ns/op 144370464 B/op 200887 allocs/op 234041890 ns/op 144375734 B/op 200923 allocs/op 0.98
BenchmarkDocument/text_edit_gc_1000 - ns/op 230436790 ns/op 234041890 ns/op 0.98
BenchmarkDocument/text_edit_gc_1000 - B/op 144370464 B/op 144375734 B/op 1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op 200887 allocs/op 200923 allocs/op 1.00
BenchmarkDocument/text_split_gc_100 3405804 ns/op 2317713 B/op 16206 allocs/op 3504542 ns/op 2317536 B/op 16207 allocs/op 0.97
BenchmarkDocument/text_split_gc_100 - ns/op 3405804 ns/op 3504542 ns/op 0.97
BenchmarkDocument/text_split_gc_100 - B/op 2317713 B/op 2317536 B/op 1.00
BenchmarkDocument/text_split_gc_100 - allocs/op 16206 allocs/op 16207 allocs/op 1.00
BenchmarkDocument/text_split_gc_1000 291684138 ns/op 228941944 B/op 204055 allocs/op 294286877 ns/op 228952936 B/op 204104 allocs/op 0.99
BenchmarkDocument/text_split_gc_1000 - ns/op 291684138 ns/op 294286877 ns/op 0.99
BenchmarkDocument/text_split_gc_1000 - B/op 228941944 B/op 228952936 B/op 1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op 204055 allocs/op 204104 allocs/op 1.00
BenchmarkDocument/text_delete_all_10000 11325520 ns/op 5810929 B/op 40682 allocs/op 11569838 ns/op 5810848 B/op 40680 allocs/op 0.98
BenchmarkDocument/text_delete_all_10000 - ns/op 11325520 ns/op 11569838 ns/op 0.98
BenchmarkDocument/text_delete_all_10000 - B/op 5810929 B/op 5810848 B/op 1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op 40682 allocs/op 40680 allocs/op 1.00
BenchmarkDocument/text_delete_all_100000 194875426 ns/op 81906936 B/op 411654 allocs/op 201331911 ns/op 81893996 B/op 411603 allocs/op 0.97
BenchmarkDocument/text_delete_all_100000 - ns/op 194875426 ns/op 201331911 ns/op 0.97
BenchmarkDocument/text_delete_all_100000 - B/op 81906936 B/op 81893996 B/op 1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op 411654 allocs/op 411603 allocs/op 1.00
BenchmarkDocument/text_100 227123 ns/op 120443 B/op 5086 allocs/op 226157 ns/op 120442 B/op 5086 allocs/op 1.00
BenchmarkDocument/text_100 - ns/op 227123 ns/op 226157 ns/op 1.00
BenchmarkDocument/text_100 - B/op 120443 B/op 120442 B/op 1.00
BenchmarkDocument/text_100 - allocs/op 5086 allocs/op 5086 allocs/op 1
BenchmarkDocument/text_1000 2509764 ns/op 1169430 B/op 50090 allocs/op 2430990 ns/op 1169429 B/op 50090 allocs/op 1.03
BenchmarkDocument/text_1000 - ns/op 2509764 ns/op 2430990 ns/op 1.03
BenchmarkDocument/text_1000 - B/op 1169430 B/op 1169429 B/op 1.00
BenchmarkDocument/text_1000 - allocs/op 50090 allocs/op 50090 allocs/op 1
BenchmarkDocument/array_1000 1261863 ns/op 1091653 B/op 11834 allocs/op 1233798 ns/op 1091743 B/op 11834 allocs/op 1.02
BenchmarkDocument/array_1000 - ns/op 1261863 ns/op 1233798 ns/op 1.02
BenchmarkDocument/array_1000 - B/op 1091653 B/op 1091743 B/op 1.00
BenchmarkDocument/array_1000 - allocs/op 11834 allocs/op 11834 allocs/op 1
BenchmarkDocument/array_10000 13401394 ns/op 9800063 B/op 120298 allocs/op 13755128 ns/op 9800130 B/op 120297 allocs/op 0.97
BenchmarkDocument/array_10000 - ns/op 13401394 ns/op 13755128 ns/op 0.97
BenchmarkDocument/array_10000 - B/op 9800063 B/op 9800130 B/op 1.00
BenchmarkDocument/array_10000 - allocs/op 120298 allocs/op 120297 allocs/op 1.00
BenchmarkDocument/array_gc_100 154395 ns/op 133309 B/op 1268 allocs/op 155779 ns/op 133298 B/op 1268 allocs/op 0.99
BenchmarkDocument/array_gc_100 - ns/op 154395 ns/op 155779 ns/op 0.99
BenchmarkDocument/array_gc_100 - B/op 133309 B/op 133298 B/op 1.00
BenchmarkDocument/array_gc_100 - allocs/op 1268 allocs/op 1268 allocs/op 1
BenchmarkDocument/array_gc_1000 1434350 ns/op 1159660 B/op 12884 allocs/op 1442495 ns/op 1159755 B/op 12884 allocs/op 0.99
BenchmarkDocument/array_gc_1000 - ns/op 1434350 ns/op 1442495 ns/op 0.99
BenchmarkDocument/array_gc_1000 - B/op 1159660 B/op 1159755 B/op 1.00
BenchmarkDocument/array_gc_1000 - allocs/op 12884 allocs/op 12884 allocs/op 1
BenchmarkDocument/counter_1000 213546 ns/op 193316 B/op 5773 allocs/op 206241 ns/op 193316 B/op 5773 allocs/op 1.04
BenchmarkDocument/counter_1000 - ns/op 213546 ns/op 206241 ns/op 1.04
BenchmarkDocument/counter_1000 - B/op 193316 B/op 193316 B/op 1
BenchmarkDocument/counter_1000 - allocs/op 5773 allocs/op 5773 allocs/op 1
BenchmarkDocument/counter_10000 2231370 ns/op 2088232 B/op 59780 allocs/op 2179176 ns/op 2088246 B/op 59780 allocs/op 1.02
BenchmarkDocument/counter_10000 - ns/op 2231370 ns/op 2179176 ns/op 1.02
BenchmarkDocument/counter_10000 - B/op 2088232 B/op 2088246 B/op 1.00
BenchmarkDocument/counter_10000 - allocs/op 59780 allocs/op 59780 allocs/op 1
BenchmarkDocument/object_1000 1446258 ns/op 1428388 B/op 9851 allocs/op 1407415 ns/op 1428267 B/op 9851 allocs/op 1.03
BenchmarkDocument/object_1000 - ns/op 1446258 ns/op 1407415 ns/op 1.03
BenchmarkDocument/object_1000 - B/op 1428388 B/op 1428267 B/op 1.00
BenchmarkDocument/object_1000 - allocs/op 9851 allocs/op 9851 allocs/op 1
BenchmarkDocument/object_10000 14869044 ns/op 12168184 B/op 100567 allocs/op 15379507 ns/op 12168545 B/op 100572 allocs/op 0.97
BenchmarkDocument/object_10000 - ns/op 14869044 ns/op 15379507 ns/op 0.97
BenchmarkDocument/object_10000 - B/op 12168184 B/op 12168545 B/op 1.00
BenchmarkDocument/object_10000 - allocs/op 100567 allocs/op 100572 allocs/op 1.00
BenchmarkDocument/tree_100 1069078 ns/op 944085 B/op 6106 allocs/op 1025184 ns/op 944082 B/op 6106 allocs/op 1.04
BenchmarkDocument/tree_100 - ns/op 1069078 ns/op 1025184 ns/op 1.04
BenchmarkDocument/tree_100 - B/op 944085 B/op 944082 B/op 1.00
BenchmarkDocument/tree_100 - allocs/op 6106 allocs/op 6106 allocs/op 1
BenchmarkDocument/tree_1000 78052252 ns/op 86460852 B/op 60120 allocs/op 73758339 ns/op 86460819 B/op 60121 allocs/op 1.06
BenchmarkDocument/tree_1000 - ns/op 78052252 ns/op 73758339 ns/op 1.06
BenchmarkDocument/tree_1000 - B/op 86460852 B/op 86460819 B/op 1.00
BenchmarkDocument/tree_1000 - allocs/op 60120 allocs/op 60121 allocs/op 1.00
BenchmarkDocument/tree_10000 9773528453 ns/op 8580984528 B/op 600259 allocs/op 9832968246 ns/op 8580973152 B/op 600230 allocs/op 0.99
BenchmarkDocument/tree_10000 - ns/op 9773528453 ns/op 9832968246 ns/op 0.99
BenchmarkDocument/tree_10000 - B/op 8580984528 B/op 8580973152 B/op 1.00
BenchmarkDocument/tree_10000 - allocs/op 600259 allocs/op 600230 allocs/op 1.00
BenchmarkDocument/tree_delete_all_1000 80255933 ns/op 86990969 B/op 67764 allocs/op 74310643 ns/op 86991630 B/op 67765 allocs/op 1.08
BenchmarkDocument/tree_delete_all_1000 - ns/op 80255933 ns/op 74310643 ns/op 1.08
BenchmarkDocument/tree_delete_all_1000 - B/op 86990969 B/op 86991630 B/op 1.00
BenchmarkDocument/tree_delete_all_1000 - allocs/op 67764 allocs/op 67765 allocs/op 1.00
BenchmarkDocument/tree_edit_gc_100 3912663 ns/op 4121804 B/op 14369 allocs/op 3707453 ns/op 4121803 B/op 14369 allocs/op 1.06
BenchmarkDocument/tree_edit_gc_100 - ns/op 3912663 ns/op 3707453 ns/op 1.06
BenchmarkDocument/tree_edit_gc_100 - B/op 4121804 B/op 4121803 B/op 1.00
BenchmarkDocument/tree_edit_gc_100 - allocs/op 14369 allocs/op 14369 allocs/op 1
BenchmarkDocument/tree_edit_gc_1000 324357242 ns/op 383466120 B/op 145417 allocs/op 308255704 ns/op 383469210 B/op 145422 allocs/op 1.05
BenchmarkDocument/tree_edit_gc_1000 - ns/op 324357242 ns/op 308255704 ns/op 1.05
BenchmarkDocument/tree_edit_gc_1000 - B/op 383466120 B/op 383469210 B/op 1.00
BenchmarkDocument/tree_edit_gc_1000 - allocs/op 145417 allocs/op 145422 allocs/op 1.00
BenchmarkDocument/tree_split_gc_100 2610929 ns/op 2387634 B/op 10354 allocs/op 2487249 ns/op 2387597 B/op 10354 allocs/op 1.05
BenchmarkDocument/tree_split_gc_100 - ns/op 2610929 ns/op 2487249 ns/op 1.05
BenchmarkDocument/tree_split_gc_100 - B/op 2387634 B/op 2387597 B/op 1.00
BenchmarkDocument/tree_split_gc_100 - allocs/op 10354 allocs/op 10354 allocs/op 1
BenchmarkDocument/tree_split_gc_1000 194031018 ns/op 221992752 B/op 112273 allocs/op 186203922 ns/op 221993516 B/op 112267 allocs/op 1.04
BenchmarkDocument/tree_split_gc_1000 - ns/op 194031018 ns/op 186203922 ns/op 1.04
BenchmarkDocument/tree_split_gc_1000 - B/op 221992752 B/op 221993516 B/op 1.00
BenchmarkDocument/tree_split_gc_1000 - allocs/op 112273 allocs/op 112267 allocs/op 1.00
BenchmarkRPC/client_to_server 370528769 ns/op 17240290 B/op 186672 allocs/op 378787162 ns/op 18048368 B/op 186696 allocs/op 0.98
BenchmarkRPC/client_to_server - ns/op 370528769 ns/op 378787162 ns/op 0.98
BenchmarkRPC/client_to_server - B/op 17240290 B/op 18048368 B/op 0.96
BenchmarkRPC/client_to_server - allocs/op 186672 allocs/op 186696 allocs/op 1.00
BenchmarkRPC/client_to_client_via_server 626207046 ns/op 39967012 B/op 366900 allocs/op 657484802 ns/op 34108152 B/op 366764 allocs/op 0.95
BenchmarkRPC/client_to_client_via_server - ns/op 626207046 ns/op 657484802 ns/op 0.95
BenchmarkRPC/client_to_client_via_server - B/op 39967012 B/op 34108152 B/op 1.17
BenchmarkRPC/client_to_client_via_server - allocs/op 366900 allocs/op 366764 allocs/op 1.00
BenchmarkRPC/attach_large_document 1283312107 ns/op 1914691960 B/op 7944 allocs/op 1499676164 ns/op 1891883224 B/op 7925 allocs/op 0.86
BenchmarkRPC/attach_large_document - ns/op 1283312107 ns/op 1499676164 ns/op 0.86
BenchmarkRPC/attach_large_document - B/op 1914691960 B/op 1891883224 B/op 1.01
BenchmarkRPC/attach_large_document - allocs/op 7944 allocs/op 7925 allocs/op 1.00
BenchmarkRPC/adminCli_to_server 539612701 ns/op 35979696 B/op 289632 allocs/op 553317835 ns/op 35990764 B/op 289663 allocs/op 0.98
BenchmarkRPC/adminCli_to_server - ns/op 539612701 ns/op 553317835 ns/op 0.98
BenchmarkRPC/adminCli_to_server - B/op 35979696 B/op 35990764 B/op 1.00
BenchmarkRPC/adminCli_to_server - allocs/op 289632 allocs/op 289663 allocs/op 1.00
BenchmarkLocker 64.32 ns/op 16 B/op 1 allocs/op 66.68 ns/op 16 B/op 1 allocs/op 0.96
BenchmarkLocker - ns/op 64.32 ns/op 66.68 ns/op 0.96
BenchmarkLocker - B/op 16 B/op 16 B/op 1
BenchmarkLocker - allocs/op 1 allocs/op 1 allocs/op 1
BenchmarkLockerParallel 39.46 ns/op 0 B/op 0 allocs/op 39.75 ns/op 0 B/op 0 allocs/op 0.99
BenchmarkLockerParallel - ns/op 39.46 ns/op 39.75 ns/op 0.99
BenchmarkLockerParallel - B/op 0 B/op 0 B/op 1
BenchmarkLockerParallel - allocs/op 0 allocs/op 0 allocs/op 1
BenchmarkLockerMoreKeys 156.2 ns/op 15 B/op 0 allocs/op 146 ns/op 15 B/op 0 allocs/op 1.07
BenchmarkLockerMoreKeys - ns/op 156.2 ns/op 146 ns/op 1.07
BenchmarkLockerMoreKeys - B/op 15 B/op 15 B/op 1
BenchmarkLockerMoreKeys - allocs/op 0 allocs/op 0 allocs/op 1
BenchmarkChange/Push_10_Changes 3927658 ns/op 136414 B/op 1442 allocs/op 4015763 ns/op 136211 B/op 1443 allocs/op 0.98
BenchmarkChange/Push_10_Changes - ns/op 3927658 ns/op 4015763 ns/op 0.98
BenchmarkChange/Push_10_Changes - B/op 136414 B/op 136211 B/op 1.00
BenchmarkChange/Push_10_Changes - allocs/op 1442 allocs/op 1443 allocs/op 1.00
BenchmarkChange/Push_100_Changes 14938163 ns/op 711650 B/op 8063 allocs/op 15289567 ns/op 714402 B/op 8062 allocs/op 0.98
BenchmarkChange/Push_100_Changes - ns/op 14938163 ns/op 15289567 ns/op 0.98
BenchmarkChange/Push_100_Changes - B/op 711650 B/op 714402 B/op 1.00
BenchmarkChange/Push_100_Changes - allocs/op 8063 allocs/op 8062 allocs/op 1.00
BenchmarkChange/Push_1000_Changes 121531992 ns/op 7005877 B/op 77051 allocs/op 124170015 ns/op 7044849 B/op 77051 allocs/op 0.98
BenchmarkChange/Push_1000_Changes - ns/op 121531992 ns/op 124170015 ns/op 0.98
BenchmarkChange/Push_1000_Changes - B/op 7005877 B/op 7044849 B/op 0.99
BenchmarkChange/Push_1000_Changes - allocs/op 77051 allocs/op 77051 allocs/op 1
BenchmarkChange/Pull_10_Changes 2951454 ns/op 110189 B/op 1153 allocs/op 3027472 ns/op 109473 B/op 1154 allocs/op 0.97
BenchmarkChange/Pull_10_Changes - ns/op 2951454 ns/op 3027472 ns/op 0.97
BenchmarkChange/Pull_10_Changes - B/op 110189 B/op 109473 B/op 1.01
BenchmarkChange/Pull_10_Changes - allocs/op 1153 allocs/op 1154 allocs/op 1.00
BenchmarkChange/Pull_100_Changes 4498324 ns/op 344509 B/op 4701 allocs/op 4636086 ns/op 342920 B/op 4700 allocs/op 0.97
BenchmarkChange/Pull_100_Changes - ns/op 4498324 ns/op 4636086 ns/op 0.97
BenchmarkChange/Pull_100_Changes - B/op 344509 B/op 342920 B/op 1.00
BenchmarkChange/Pull_100_Changes - allocs/op 4701 allocs/op 4700 allocs/op 1.00
BenchmarkChange/Pull_1000_Changes 10262337 ns/op 2228437 B/op 42495 allocs/op 10410343 ns/op 2211028 B/op 42425 allocs/op 0.99
BenchmarkChange/Pull_1000_Changes - ns/op 10262337 ns/op 10410343 ns/op 0.99
BenchmarkChange/Pull_1000_Changes - B/op 2228437 B/op 2211028 B/op 1.01
BenchmarkChange/Pull_1000_Changes - allocs/op 42495 allocs/op 42425 allocs/op 1.00
BenchmarkSnapshot/Push_3KB_snapshot 17466706 ns/op 871870 B/op 8065 allocs/op 17687341 ns/op 858857 B/op 8066 allocs/op 0.99
BenchmarkSnapshot/Push_3KB_snapshot - ns/op 17466706 ns/op 17687341 ns/op 0.99
BenchmarkSnapshot/Push_3KB_snapshot - B/op 871870 B/op 858857 B/op 1.02
BenchmarkSnapshot/Push_3KB_snapshot - allocs/op 8065 allocs/op 8066 allocs/op 1.00
BenchmarkSnapshot/Push_30KB_snapshot 125401883 ns/op 7409768 B/op 77152 allocs/op 127669933 ns/op 7453005 B/op 77798 allocs/op 0.98
BenchmarkSnapshot/Push_30KB_snapshot - ns/op 125401883 ns/op 127669933 ns/op 0.98
BenchmarkSnapshot/Push_30KB_snapshot - B/op 7409768 B/op 7453005 B/op 0.99
BenchmarkSnapshot/Push_30KB_snapshot - allocs/op 77152 allocs/op 77798 allocs/op 0.99
BenchmarkSnapshot/Pull_3KB_snapshot 6951330 ns/op 1082277 B/op 17961 allocs/op 7089280 ns/op 1068758 B/op 17956 allocs/op 0.98
BenchmarkSnapshot/Pull_3KB_snapshot - ns/op 6951330 ns/op 7089280 ns/op 0.98
BenchmarkSnapshot/Pull_3KB_snapshot - B/op 1082277 B/op 1068758 B/op 1.01
BenchmarkSnapshot/Pull_3KB_snapshot - allocs/op 17961 allocs/op 17956 allocs/op 1.00
BenchmarkSnapshot/Pull_30KB_snapshot 18649408 ns/op 8696554 B/op 175431 allocs/op 19072362 ns/op 8682283 B/op 175436 allocs/op 0.98
BenchmarkSnapshot/Pull_30KB_snapshot - ns/op 18649408 ns/op 19072362 ns/op 0.98
BenchmarkSnapshot/Pull_30KB_snapshot - B/op 8696554 B/op 8682283 B/op 1.00
BenchmarkSnapshot/Pull_30KB_snapshot - allocs/op 175431 allocs/op 175436 allocs/op 1.00
BenchmarkSync/memory_sync_10_test 6935 ns/op 1286 B/op 38 allocs/op 7086 ns/op 1286 B/op 38 allocs/op 0.98
BenchmarkSync/memory_sync_10_test - ns/op 6935 ns/op 7086 ns/op 0.98
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 51692 ns/op 8652 B/op 273 allocs/op 52651 ns/op 8659 B/op 274 allocs/op 0.98
BenchmarkSync/memory_sync_100_test - ns/op 51692 ns/op 52651 ns/op 0.98
BenchmarkSync/memory_sync_100_test - B/op 8652 B/op 8659 B/op 1.00
BenchmarkSync/memory_sync_100_test - allocs/op 273 allocs/op 274 allocs/op 1.00
BenchmarkSync/memory_sync_1000_test 591657 ns/op 74445 B/op 2117 allocs/op 594605 ns/op 74721 B/op 2131 allocs/op 1.00
BenchmarkSync/memory_sync_1000_test - ns/op 591657 ns/op 594605 ns/op 1.00
BenchmarkSync/memory_sync_1000_test - B/op 74445 B/op 74721 B/op 1.00
BenchmarkSync/memory_sync_1000_test - allocs/op 2117 allocs/op 2131 allocs/op 0.99
BenchmarkSync/memory_sync_10000_test 7480924 ns/op 751594 B/op 20478 allocs/op 8792841 ns/op 762484 B/op 20517 allocs/op 0.85
BenchmarkSync/memory_sync_10000_test - ns/op 7480924 ns/op 8792841 ns/op 0.85
BenchmarkSync/memory_sync_10000_test - B/op 751594 B/op 762484 B/op 0.99
BenchmarkSync/memory_sync_10000_test - allocs/op 20478 allocs/op 20517 allocs/op 1.00
BenchmarkTextEditing 18898016083 ns/op 9133650512 B/op 21482973 allocs/op 23150796865 ns/op 9133744248 B/op 21483422 allocs/op 0.82
BenchmarkTextEditing - ns/op 18898016083 ns/op 23150796865 ns/op 0.82
BenchmarkTextEditing - B/op 9133650512 B/op 9133744248 B/op 1.00
BenchmarkTextEditing - allocs/op 21482973 allocs/op 21483422 allocs/op 1.00

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

Please sign in to comment.