Skip to content

Commit

Permalink
Clean up protobuf file
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins committed Aug 15, 2023
1 parent 910c45e commit 9f34252
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions api/yorkie/v1/resources.proto
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/*
* Copyright 2022 The Yorkie Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
* Copyright 2022 The Yorkie Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto3";

package yorkie.v1;
Expand Down Expand Up @@ -361,4 +361,4 @@ enum DocEventType {
message DocEvent {
DocEventType type = 1;
bytes publisher = 2;
}
}

1 comment on commit 9f34252

@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: 9f34252 Previous: 1f63722 Ratio
BenchmarkDocument/constructor_test - ns/op 1575 ns/op 1571 ns/op 1.00
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 914.2 ns/op 889.9 ns/op 1.03
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 10270 ns/op 8561 ns/op 1.20
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 22451 ns/op 23849 ns/op 0.94
BenchmarkDocument/nested_update_test - B/op 11690 B/op 11689 B/op 1.00
BenchmarkDocument/nested_update_test - allocs/op 248 allocs/op 248 allocs/op 1
BenchmarkDocument/delete_test - ns/op 30174 ns/op 30251 ns/op 1.00
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 10740 ns/op 10605 ns/op 1.01
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 37380 ns/op 40110 ns/op 0.93
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 40347 ns/op 38207 ns/op 1.06
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 41010 ns/op 38782 ns/op 1.06
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 106647 ns/op 103540 ns/op 1.03
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 21397 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 4160465 ns/op 3963886 ns/op 1.05
BenchmarkDocument/text_edit_gc_100 - B/op 1553018 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 325286481 ns/op 313689090 ns/op 1.04
BenchmarkDocument/text_edit_gc_1000 - B/op 136664200 B/op 136631552 B/op 1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op 210841 allocs/op 210701 allocs/op 1.00
BenchmarkDocument/text_split_gc_100 - ns/op 4564333 ns/op 4598879 ns/op 0.99
BenchmarkDocument/text_split_gc_100 - B/op 2217866 B/op 2217588 B/op 1.00
BenchmarkDocument/text_split_gc_100 - allocs/op 16590 allocs/op 16589 allocs/op 1.00
BenchmarkDocument/text_split_gc_1000 - ns/op 375607085 ns/op 361375128 ns/op 1.04
BenchmarkDocument/text_split_gc_1000 - B/op 214879320 B/op 214859917 B/op 1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op 211559 allocs/op 211446 allocs/op 1.00
BenchmarkDocument/text_delete_all_10000 - ns/op 19661236 ns/op 19578579 ns/op 1.00
BenchmarkDocument/text_delete_all_10000 - B/op 5902274 B/op 5904621 B/op 1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op 41117 allocs/op 41128 allocs/op 1.00
BenchmarkDocument/text_delete_all_100000 - ns/op 267384913 ns/op 254618054 ns/op 1.05
BenchmarkDocument/text_delete_all_100000 - B/op 53855308 B/op 53839944 B/op 1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op 416028 allocs/op 415993 allocs/op 1.00
BenchmarkDocument/text_100 - ns/op 326884 ns/op 330774 ns/op 0.99
BenchmarkDocument/text_100 - B/op 118213 B/op 118213 B/op 1
BenchmarkDocument/text_100 - allocs/op 5074 allocs/op 5074 allocs/op 1
BenchmarkDocument/text_1000 - ns/op 3558145 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 1792411 ns/op 1797916 ns/op 1.00
BenchmarkDocument/array_1000 - B/op 1102756 B/op 1102821 B/op 1.00
BenchmarkDocument/array_1000 - allocs/op 11867 allocs/op 11867 allocs/op 1
BenchmarkDocument/array_10000 - ns/op 21241804 ns/op 20787542 ns/op 1.02
BenchmarkDocument/array_10000 - B/op 9907588 B/op 9907150 B/op 1.00
BenchmarkDocument/array_10000 - allocs/op 120721 allocs/op 120719 allocs/op 1.00
BenchmarkDocument/array_gc_100 - ns/op 192879 ns/op 183158 ns/op 1.05
BenchmarkDocument/array_gc_100 - B/op 98156 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 2049881 ns/op 1976201 ns/op 1.04
BenchmarkDocument/array_gc_1000 - B/op 1170529 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 297103 ns/op 285428 ns/op 1.04
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 3287810 ns/op 3095974 ns/op 1.06
BenchmarkDocument/counter_10000 - B/op 2165436 B/op 2165456 B/op 1.00
BenchmarkDocument/counter_10000 - allocs/op 69510 allocs/op 69510 allocs/op 1
BenchmarkDocument/object_1000 - ns/op 1914482 ns/op 1901665 ns/op 1.01
BenchmarkDocument/object_1000 - B/op 1451179 B/op 1451351 B/op 1.00
BenchmarkDocument/object_1000 - allocs/op 9915 allocs/op 9915 allocs/op 1
BenchmarkDocument/object_10000 - ns/op 25316153 ns/op 23966450 ns/op 1.06
BenchmarkDocument/object_10000 - B/op 12371841 B/op 12371453 B/op 1.00
BenchmarkDocument/object_10000 - allocs/op 101226 allocs/op 101226 allocs/op 1
BenchmarkRPC/client_to_server - ns/op 416137813 ns/op 401201105 ns/op 1.04
BenchmarkRPC/client_to_server - B/op 12255432 B/op 12262480 B/op 1.00
BenchmarkRPC/client_to_server - allocs/op 177280 allocs/op 177181 allocs/op 1.00
BenchmarkRPC/client_to_client_via_server - ns/op 719804774 ns/op 685664009 ns/op 1.05
BenchmarkRPC/client_to_client_via_server - B/op 22660104 B/op 22584304 B/op 1.00
BenchmarkRPC/client_to_client_via_server - allocs/op 331556 allocs/op 330481 allocs/op 1.00
BenchmarkRPC/attach_large_document - ns/op 1604177580 ns/op 1473754095 ns/op 1.09
BenchmarkRPC/attach_large_document - B/op 1798689328 B/op 1819078872 B/op 0.99
BenchmarkRPC/attach_large_document - allocs/op 11498 allocs/op 9660 allocs/op 1.19
BenchmarkRPC/adminCli_to_server - ns/op 597686795 ns/op 559190893 ns/op 1.07
BenchmarkRPC/adminCli_to_server - B/op 20392944 B/op 20410700 B/op 1.00
BenchmarkRPC/adminCli_to_server - allocs/op 321614 allocs/op 321614 allocs/op 1
BenchmarkLocker - ns/op 131.4 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 130.7 ns/op 126.5 ns/op 1.03
BenchmarkLockerParallel - B/op 0 B/op 0 B/op NaN
BenchmarkLockerParallel - allocs/op 0 allocs/op 0 allocs/op NaN
BenchmarkLockerMoreKeys - ns/op 359 ns/op 440.8 ns/op 0.81
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 7908 ns/op 7461 ns/op 1.06
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 70889 ns/op 69442 ns/op 1.02
BenchmarkSync/memory_sync_100_test - B/op 8729 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 697806 ns/op 699971 ns/op 1.00
BenchmarkSync/memory_sync_1000_test - B/op 81360 B/op 81716 B/op 1.00
BenchmarkSync/memory_sync_1000_test - allocs/op 2554 allocs/op 2579 allocs/op 0.99
BenchmarkSync/memory_sync_10000_test - ns/op 7854959 ns/op 7491717 ns/op 1.05
BenchmarkSync/memory_sync_10000_test - B/op 859395 B/op 850438 B/op 1.01
BenchmarkSync/memory_sync_10000_test - allocs/op 26795 allocs/op 26946 allocs/op 0.99
BenchmarkTextEditing - ns/op 28814100306 ns/op 27697786985 ns/op 1.04
BenchmarkTextEditing - B/op 8456782824 B/op 8457437952 B/op 1.00
BenchmarkTextEditing - allocs/op 20613653 allocs/op 20616814 allocs/op 1.00

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

Please sign in to comment.