Skip to content

Commit

Permalink
Restore comment about Select in proto
Browse files Browse the repository at this point in the history
  • Loading branch information
sejongk committed Aug 14, 2023
1 parent f782e24 commit cb9271d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/yorkie/v1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ message Operation {
TimeTicket executed_at = 6;
map<string, string> attributes = 7;
}
// NOTE(hackerwins): Select Operation is not used in the current version.
// In the previous version, it was used to represent selection of Text.
// However, it has been replaced by Presence now. It is retained for backward
// compatibility purposes.
message Select {
TimeTicket parent_created_at = 1;
TextNodePos from = 2;
Expand Down

1 comment on commit cb9271d

@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: cb9271d Previous: 1f63722 Ratio
BenchmarkDocument/constructor_test - ns/op 1528 ns/op 1571 ns/op 0.97
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 902 ns/op 889.9 ns/op 1.01
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 8805 ns/op 8561 ns/op 1.03
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 23275 ns/op 23849 ns/op 0.98
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 29526 ns/op 30251 ns/op 0.98
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 10493 ns/op 10605 ns/op 0.99
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 35316 ns/op 40110 ns/op 0.88
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 38392 ns/op 38207 ns/op 1.00
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 39170 ns/op 38782 ns/op 1.01
BenchmarkDocument/text_composition_test - B/op 18005 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 104434 ns/op 103540 ns/op 1.01
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 21497 ns/op 20994 ns/op 1.02
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 4114523 ns/op 3963886 ns/op 1.04
BenchmarkDocument/text_edit_gc_100 - B/op 1553241 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 321889722 ns/op 313689090 ns/op 1.03
BenchmarkDocument/text_edit_gc_1000 - B/op 136641700 B/op 136631552 B/op 1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op 210757 allocs/op 210701 allocs/op 1.00
BenchmarkDocument/text_split_gc_100 - ns/op 4630565 ns/op 4598879 ns/op 1.01
BenchmarkDocument/text_split_gc_100 - B/op 2217584 B/op 2217588 B/op 1.00
BenchmarkDocument/text_split_gc_100 - allocs/op 16588 allocs/op 16589 allocs/op 1.00
BenchmarkDocument/text_split_gc_1000 - ns/op 363172716 ns/op 361375128 ns/op 1.00
BenchmarkDocument/text_split_gc_1000 - B/op 214867613 B/op 214859917 B/op 1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op 211479 allocs/op 211446 allocs/op 1.00
BenchmarkDocument/text_delete_all_10000 - ns/op 20168457 ns/op 19578579 ns/op 1.03
BenchmarkDocument/text_delete_all_10000 - B/op 5903148 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 250169973 ns/op 254618054 ns/op 0.98
BenchmarkDocument/text_delete_all_100000 - B/op 53858480 B/op 53839944 B/op 1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op 416082 allocs/op 415993 allocs/op 1.00
BenchmarkDocument/text_100 - ns/op 326200 ns/op 330774 ns/op 0.99
BenchmarkDocument/text_100 - B/op 118208 B/op 118213 B/op 1.00
BenchmarkDocument/text_100 - allocs/op 5074 allocs/op 5074 allocs/op 1
BenchmarkDocument/text_1000 - ns/op 3576591 ns/op 3639084 ns/op 0.98
BenchmarkDocument/text_1000 - B/op 1152819 B/op 1152823 B/op 1.00
BenchmarkDocument/text_1000 - allocs/op 50078 allocs/op 50078 allocs/op 1
BenchmarkDocument/array_1000 - ns/op 1724570 ns/op 1797916 ns/op 0.96
BenchmarkDocument/array_1000 - B/op 1102753 B/op 1102821 B/op 1.00
BenchmarkDocument/array_1000 - allocs/op 11867 allocs/op 11867 allocs/op 1
BenchmarkDocument/array_10000 - ns/op 20514066 ns/op 20787542 ns/op 0.99
BenchmarkDocument/array_10000 - B/op 9907773 B/op 9907150 B/op 1.00
BenchmarkDocument/array_10000 - allocs/op 120722 allocs/op 120719 allocs/op 1.00
BenchmarkDocument/array_gc_100 - ns/op 180810 ns/op 183158 ns/op 0.99
BenchmarkDocument/array_gc_100 - B/op 98148 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 2010440 ns/op 1976201 ns/op 1.02
BenchmarkDocument/array_gc_1000 - B/op 1170510 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 285527 ns/op 285428 ns/op 1.00
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 3179883 ns/op 3095974 ns/op 1.03
BenchmarkDocument/counter_10000 - B/op 2165456 B/op 2165456 B/op 1
BenchmarkDocument/counter_10000 - allocs/op 69510 allocs/op 69510 allocs/op 1
BenchmarkDocument/object_1000 - ns/op 1951073 ns/op 1901665 ns/op 1.03
BenchmarkDocument/object_1000 - B/op 1451297 B/op 1451351 B/op 1.00
BenchmarkDocument/object_1000 - allocs/op 9915 allocs/op 9915 allocs/op 1
BenchmarkDocument/object_10000 - ns/op 23729653 ns/op 23966450 ns/op 0.99
BenchmarkDocument/object_10000 - B/op 12367965 B/op 12371453 B/op 1.00
BenchmarkDocument/object_10000 - allocs/op 101215 allocs/op 101226 allocs/op 1.00
BenchmarkRPC/client_to_server - ns/op 403791847 ns/op 401201105 ns/op 1.01
BenchmarkRPC/client_to_server - B/op 12270266 B/op 12262480 B/op 1.00
BenchmarkRPC/client_to_server - allocs/op 177222 allocs/op 177181 allocs/op 1.00
BenchmarkRPC/client_to_client_via_server - ns/op 674675368 ns/op 685664009 ns/op 0.98
BenchmarkRPC/client_to_client_via_server - B/op 22621556 B/op 22584304 B/op 1.00
BenchmarkRPC/client_to_client_via_server - allocs/op 331070 allocs/op 330481 allocs/op 1.00
BenchmarkRPC/attach_large_document - ns/op 1415299541 ns/op 1473754095 ns/op 0.96
BenchmarkRPC/attach_large_document - B/op 1798621912 B/op 1819078872 B/op 0.99
BenchmarkRPC/attach_large_document - allocs/op 9519 allocs/op 9660 allocs/op 0.99
BenchmarkRPC/adminCli_to_server - ns/op 570854254 ns/op 559190893 ns/op 1.02
BenchmarkRPC/adminCli_to_server - B/op 20410888 B/op 20410700 B/op 1.00
BenchmarkRPC/adminCli_to_server - allocs/op 321613 allocs/op 321614 allocs/op 1.00
BenchmarkLocker - ns/op 123.9 ns/op 123.1 ns/op 1.01
BenchmarkLocker - B/op 16 B/op 16 B/op 1
BenchmarkLocker - allocs/op 1 allocs/op 1 allocs/op 1
BenchmarkLockerParallel - ns/op 133.9 ns/op 126.5 ns/op 1.06
BenchmarkLockerParallel - B/op 0 B/op 0 B/op NaN
BenchmarkLockerParallel - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkLockerMoreKeys - ns/op 284.3 ns/op 440.8 ns/op 0.64
BenchmarkLockerMoreKeys - B/op 15 B/op 13 B/op 1.15
BenchmarkLockerMoreKeys - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkSync/memory_sync_10_test - ns/op 7217 ns/op 7461 ns/op 0.97
BenchmarkSync/memory_sync_10_test - B/op 1285 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 66200 ns/op 69442 ns/op 0.95
BenchmarkSync/memory_sync_100_test - B/op 8904 B/op 8763 B/op 1.02
BenchmarkSync/memory_sync_100_test - allocs/op 289 allocs/op 280 allocs/op 1.03
BenchmarkSync/memory_sync_1000_test - ns/op 685160 ns/op 699971 ns/op 0.98
BenchmarkSync/memory_sync_1000_test - B/op 82011 B/op 81716 B/op 1.00
BenchmarkSync/memory_sync_1000_test - allocs/op 2594 allocs/op 2579 allocs/op 1.01
BenchmarkSync/memory_sync_10000_test - ns/op 7540974 ns/op 7491717 ns/op 1.01
BenchmarkSync/memory_sync_10000_test - B/op 862438 B/op 850438 B/op 1.01
BenchmarkSync/memory_sync_10000_test - allocs/op 26867 allocs/op 26946 allocs/op 1.00
BenchmarkTextEditing - ns/op 27603947114 ns/op 27697786985 ns/op 1.00
BenchmarkTextEditing - B/op 8456690432 B/op 8457437952 B/op 1.00
BenchmarkTextEditing - allocs/op 20613337 allocs/op 20616814 allocs/op 1.00

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

Please sign in to comment.