Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CHANGELOG.md for v0.4.28 #942

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Update CHANGELOG.md for v0.4.28 #942

merged 1 commit into from
Jul 25, 2024

Conversation

hackerwins
Copy link
Member

@hackerwins hackerwins commented Jul 25, 2024

What this PR does / why we need it:

Update CHANGELOG.md for v0.4.28

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Additional documentation:


Checklist:

  • Added relevant tests or not required
  • Didn't break anything

Summary by CodeRabbit

  • New Features

    • Enhanced housekeeping capabilities with new tasks added.
    • Bulk retrieval functionality introduced in the GetDocuments API.
    • Performance improvements for creating crdt.TreeNode instances.
  • Bug Fixes

    • Improved logic for the updated_at timestamp to update only during actual changes.
  • Version Updates

    • Incremented version from 0.4.27 to 0.4.28 across various documentation and configuration files, indicating overall enhancements.

Copy link

coderabbitai bot commented Jul 25, 2024

Walkthrough

The recent updates to the Yorkie project, version 0.4.28, bring several enhancements aimed at improving functionality and performance. Key features include enhanced housekeeping capabilities, bulk retrieval in the GetDocuments API, and refined control over the updated_at timestamp management. Additionally, various formatting and versioning updates were applied to the OpenAPI specifications and related files, ensuring consistency and clarity across the documentation.

Changes

File Change Summary
CHANGELOG.md, Makefile, .../*.yaml, build/charts/yorkie-cluster/Chart.yaml Updated version numbers from 0.4.27 to 0.4.28. Enhancements to housekeeping, API performance, and timestamp management logic. OpenAPI documentation reformatted for consistency with double quotes for references.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant API
    participant Database

    User->>API: Request documents
    API->>Database: Retrieve documents
    Database-->>API: Return documents
    API-->>User: Send documents

    User->>API: Perform housekeeping task
    API->>Database: Update task status
    Database-->>API: Task update confirmation
    API-->>User: Confirm task completion
Loading

🐰 In the meadow, changes bloom,
New features sprout, dispelling gloom.
A hop, a skip, an API cheer,
Yorkie’s updates bring us near!
With tidier docs and faster ways,
Let’s celebrate these bright new days! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@hackerwins hackerwins marked this pull request as ready for review July 25, 2024 05:15
Copy link

@github-actions github-actions bot left a comment

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: ac0d49c Previous: db2566f Ratio
BenchmarkDocument/constructor_test 1516 ns/op 1337 B/op 24 allocs/op 1528 ns/op 1337 B/op 24 allocs/op 0.99
BenchmarkDocument/constructor_test - ns/op 1516 ns/op 1528 ns/op 0.99
BenchmarkDocument/constructor_test - B/op 1337 B/op 1337 B/op 1
BenchmarkDocument/constructor_test - allocs/op 24 allocs/op 24 allocs/op 1
BenchmarkDocument/status_test 1179 ns/op 1305 B/op 22 allocs/op 962.1 ns/op 1305 B/op 22 allocs/op 1.23
BenchmarkDocument/status_test - ns/op 1179 ns/op 962.1 ns/op 1.23
BenchmarkDocument/status_test - B/op 1305 B/op 1305 B/op 1
BenchmarkDocument/status_test - allocs/op 22 allocs/op 22 allocs/op 1
BenchmarkDocument/equals_test 7660 ns/op 7273 B/op 132 allocs/op 7672 ns/op 7273 B/op 132 allocs/op 1.00
BenchmarkDocument/equals_test - ns/op 7660 ns/op 7672 ns/op 1.00
BenchmarkDocument/equals_test - B/op 7273 B/op 7273 B/op 1
BenchmarkDocument/equals_test - allocs/op 132 allocs/op 132 allocs/op 1
BenchmarkDocument/nested_update_test 16905 ns/op 12139 B/op 262 allocs/op 16947 ns/op 12139 B/op 262 allocs/op 1.00
BenchmarkDocument/nested_update_test - ns/op 16905 ns/op 16947 ns/op 1.00
BenchmarkDocument/nested_update_test - B/op 12139 B/op 12139 B/op 1
BenchmarkDocument/nested_update_test - allocs/op 262 allocs/op 262 allocs/op 1
BenchmarkDocument/delete_test 22687 ns/op 15364 B/op 341 allocs/op 22718 ns/op 15363 B/op 341 allocs/op 1.00
BenchmarkDocument/delete_test - ns/op 22687 ns/op 22718 ns/op 1.00
BenchmarkDocument/delete_test - B/op 15364 B/op 15363 B/op 1.00
BenchmarkDocument/delete_test - allocs/op 341 allocs/op 341 allocs/op 1
BenchmarkDocument/object_test 8619 ns/op 6817 B/op 120 allocs/op 9366 ns/op 6817 B/op 120 allocs/op 0.92
BenchmarkDocument/object_test - ns/op 8619 ns/op 9366 ns/op 0.92
BenchmarkDocument/object_test - B/op 6817 B/op 6817 B/op 1
BenchmarkDocument/object_test - allocs/op 120 allocs/op 120 allocs/op 1
BenchmarkDocument/array_test 29248 ns/op 11947 B/op 276 allocs/op 29987 ns/op 11947 B/op 276 allocs/op 0.98
BenchmarkDocument/array_test - ns/op 29248 ns/op 29987 ns/op 0.98
BenchmarkDocument/array_test - B/op 11947 B/op 11947 B/op 1
BenchmarkDocument/array_test - allocs/op 276 allocs/op 276 allocs/op 1
BenchmarkDocument/text_test 30567 ns/op 14715 B/op 469 allocs/op 30555 ns/op 14718 B/op 469 allocs/op 1.00
BenchmarkDocument/text_test - ns/op 30567 ns/op 30555 ns/op 1.00
BenchmarkDocument/text_test - B/op 14715 B/op 14718 B/op 1.00
BenchmarkDocument/text_test - allocs/op 469 allocs/op 469 allocs/op 1
BenchmarkDocument/text_composition_test 28942 ns/op 18420 B/op 484 allocs/op 29046 ns/op 18420 B/op 484 allocs/op 1.00
BenchmarkDocument/text_composition_test - ns/op 28942 ns/op 29046 ns/op 1.00
BenchmarkDocument/text_composition_test - B/op 18420 B/op 18420 B/op 1
BenchmarkDocument/text_composition_test - allocs/op 484 allocs/op 484 allocs/op 1
BenchmarkDocument/rich_text_test 80651 ns/op 38476 B/op 1148 allocs/op 80932 ns/op 38477 B/op 1148 allocs/op 1.00
BenchmarkDocument/rich_text_test - ns/op 80651 ns/op 80932 ns/op 1.00
BenchmarkDocument/rich_text_test - B/op 38476 B/op 38477 B/op 1.00
BenchmarkDocument/rich_text_test - allocs/op 1148 allocs/op 1148 allocs/op 1
BenchmarkDocument/counter_test 17507 ns/op 10722 B/op 244 allocs/op 17571 ns/op 10722 B/op 244 allocs/op 1.00
BenchmarkDocument/counter_test - ns/op 17507 ns/op 17571 ns/op 1.00
BenchmarkDocument/counter_test - B/op 10722 B/op 10722 B/op 1
BenchmarkDocument/counter_test - allocs/op 244 allocs/op 244 allocs/op 1
BenchmarkDocument/text_edit_gc_100 1281460 ns/op 871012 B/op 16752 allocs/op 1299077 ns/op 870917 B/op 16753 allocs/op 0.99
BenchmarkDocument/text_edit_gc_100 - ns/op 1281460 ns/op 1299077 ns/op 0.99
BenchmarkDocument/text_edit_gc_100 - B/op 871012 B/op 870917 B/op 1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op 16752 allocs/op 16753 allocs/op 1.00
BenchmarkDocument/text_edit_gc_1000 49552847 ns/op 50536118 B/op 181709 allocs/op 50224069 ns/op 50536278 B/op 181708 allocs/op 0.99
BenchmarkDocument/text_edit_gc_1000 - ns/op 49552847 ns/op 50224069 ns/op 0.99
BenchmarkDocument/text_edit_gc_1000 - B/op 50536118 B/op 50536278 B/op 1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op 181709 allocs/op 181708 allocs/op 1.00
BenchmarkDocument/text_split_gc_100 1869786 ns/op 1528836 B/op 15604 allocs/op 1873355 ns/op 1528854 B/op 15604 allocs/op 1.00
BenchmarkDocument/text_split_gc_100 - ns/op 1869786 ns/op 1873355 ns/op 1.00
BenchmarkDocument/text_split_gc_100 - B/op 1528836 B/op 1528854 B/op 1.00
BenchmarkDocument/text_split_gc_100 - allocs/op 15604 allocs/op 15604 allocs/op 1
BenchmarkDocument/text_split_gc_1000 111634488 ns/op 135077091 B/op 182205 allocs/op 111963103 ns/op 135076959 B/op 182198 allocs/op 1.00
BenchmarkDocument/text_split_gc_1000 - ns/op 111634488 ns/op 111963103 ns/op 1.00
BenchmarkDocument/text_split_gc_1000 - B/op 135077091 B/op 135076959 B/op 1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op 182205 allocs/op 182198 allocs/op 1.00
BenchmarkDocument/text_delete_all_10000 15710284 ns/op 10183723 B/op 40679 allocs/op 15394267 ns/op 10181122 B/op 40670 allocs/op 1.02
BenchmarkDocument/text_delete_all_10000 - ns/op 15710284 ns/op 15394267 ns/op 1.02
BenchmarkDocument/text_delete_all_10000 - B/op 10183723 B/op 10181122 B/op 1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op 40679 allocs/op 40670 allocs/op 1.00
BenchmarkDocument/text_delete_all_100000 277877849 ns/op 142645372 B/op 411602 allocs/op 283724882 ns/op 142672064 B/op 411695 allocs/op 0.98
BenchmarkDocument/text_delete_all_100000 - ns/op 277877849 ns/op 283724882 ns/op 0.98
BenchmarkDocument/text_delete_all_100000 - B/op 142645372 B/op 142672064 B/op 1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op 411602 allocs/op 411695 allocs/op 1.00
BenchmarkDocument/text_100 216296 ns/op 120037 B/op 5081 allocs/op 217847 ns/op 120037 B/op 5081 allocs/op 0.99
BenchmarkDocument/text_100 - ns/op 216296 ns/op 217847 ns/op 0.99
BenchmarkDocument/text_100 - B/op 120037 B/op 120037 B/op 1
BenchmarkDocument/text_100 - allocs/op 5081 allocs/op 5081 allocs/op 1
BenchmarkDocument/text_1000 2371780 ns/op 1169024 B/op 50085 allocs/op 2369057 ns/op 1169024 B/op 50085 allocs/op 1.00
BenchmarkDocument/text_1000 - ns/op 2371780 ns/op 2369057 ns/op 1.00
BenchmarkDocument/text_1000 - B/op 1169024 B/op 1169024 B/op 1
BenchmarkDocument/text_1000 - allocs/op 50085 allocs/op 50085 allocs/op 1
BenchmarkDocument/array_1000 1211560 ns/op 1091247 B/op 11831 allocs/op 1213454 ns/op 1091521 B/op 11832 allocs/op 1.00
BenchmarkDocument/array_1000 - ns/op 1211560 ns/op 1213454 ns/op 1.00
BenchmarkDocument/array_1000 - B/op 1091247 B/op 1091521 B/op 1.00
BenchmarkDocument/array_1000 - allocs/op 11831 allocs/op 11832 allocs/op 1.00
BenchmarkDocument/array_10000 13180991 ns/op 9800350 B/op 120297 allocs/op 13005401 ns/op 9799221 B/op 120293 allocs/op 1.01
BenchmarkDocument/array_10000 - ns/op 13180991 ns/op 13005401 ns/op 1.01
BenchmarkDocument/array_10000 - B/op 9800350 B/op 9799221 B/op 1.00
BenchmarkDocument/array_10000 - allocs/op 120297 allocs/op 120293 allocs/op 1.00
BenchmarkDocument/array_gc_100 146529 ns/op 132732 B/op 1261 allocs/op 146521 ns/op 132724 B/op 1260 allocs/op 1.00
BenchmarkDocument/array_gc_100 - ns/op 146529 ns/op 146521 ns/op 1.00
BenchmarkDocument/array_gc_100 - B/op 132732 B/op 132724 B/op 1.00
BenchmarkDocument/array_gc_100 - allocs/op 1261 allocs/op 1260 allocs/op 1.00
BenchmarkDocument/array_gc_1000 1390040 ns/op 1159326 B/op 12877 allocs/op 1396270 ns/op 1159174 B/op 12876 allocs/op 1.00
BenchmarkDocument/array_gc_1000 - ns/op 1390040 ns/op 1396270 ns/op 1.00
BenchmarkDocument/array_gc_1000 - B/op 1159326 B/op 1159174 B/op 1.00
BenchmarkDocument/array_gc_1000 - allocs/op 12877 allocs/op 12876 allocs/op 1.00
BenchmarkDocument/counter_1000 198680 ns/op 193081 B/op 5771 allocs/op 200122 ns/op 193081 B/op 5771 allocs/op 0.99
BenchmarkDocument/counter_1000 - ns/op 198680 ns/op 200122 ns/op 0.99
BenchmarkDocument/counter_1000 - B/op 193081 B/op 193081 B/op 1
BenchmarkDocument/counter_1000 - allocs/op 5771 allocs/op 5771 allocs/op 1
BenchmarkDocument/counter_10000 2151892 ns/op 2088010 B/op 59778 allocs/op 2149889 ns/op 2088011 B/op 59778 allocs/op 1.00
BenchmarkDocument/counter_10000 - ns/op 2151892 ns/op 2149889 ns/op 1.00
BenchmarkDocument/counter_10000 - B/op 2088010 B/op 2088011 B/op 1.00
BenchmarkDocument/counter_10000 - allocs/op 59778 allocs/op 59778 allocs/op 1
BenchmarkDocument/object_1000 1375157 ns/op 1428116 B/op 9849 allocs/op 1367098 ns/op 1428150 B/op 9849 allocs/op 1.01
BenchmarkDocument/object_1000 - ns/op 1375157 ns/op 1367098 ns/op 1.01
BenchmarkDocument/object_1000 - B/op 1428116 B/op 1428150 B/op 1.00
BenchmarkDocument/object_1000 - allocs/op 9849 allocs/op 9849 allocs/op 1
BenchmarkDocument/object_10000 15399070 ns/op 12167001 B/op 100564 allocs/op 15299114 ns/op 12166031 B/op 100562 allocs/op 1.01
BenchmarkDocument/object_10000 - ns/op 15399070 ns/op 15299114 ns/op 1.01
BenchmarkDocument/object_10000 - B/op 12167001 B/op 12166031 B/op 1.00
BenchmarkDocument/object_10000 - allocs/op 100564 allocs/op 100562 allocs/op 1.00
BenchmarkDocument/tree_100 1045822 ns/op 943703 B/op 6101 allocs/op 1010208 ns/op 943701 B/op 6101 allocs/op 1.04
BenchmarkDocument/tree_100 - ns/op 1045822 ns/op 1010208 ns/op 1.04
BenchmarkDocument/tree_100 - B/op 943703 B/op 943701 B/op 1.00
BenchmarkDocument/tree_100 - allocs/op 6101 allocs/op 6101 allocs/op 1
BenchmarkDocument/tree_1000 76480045 ns/op 86460288 B/op 60114 allocs/op 71864181 ns/op 86460279 B/op 60115 allocs/op 1.06
BenchmarkDocument/tree_1000 - ns/op 76480045 ns/op 71864181 ns/op 1.06
BenchmarkDocument/tree_1000 - B/op 86460288 B/op 86460279 B/op 1.00
BenchmarkDocument/tree_1000 - allocs/op 60114 allocs/op 60115 allocs/op 1.00
BenchmarkDocument/tree_10000 9284448649 ns/op 8580663072 B/op 600235 allocs/op 9282298313 ns/op 8580662864 B/op 600231 allocs/op 1.00
BenchmarkDocument/tree_10000 - ns/op 9284448649 ns/op 9282298313 ns/op 1.00
BenchmarkDocument/tree_10000 - B/op 8580663072 B/op 8580662864 B/op 1.00
BenchmarkDocument/tree_10000 - allocs/op 600235 allocs/op 600231 allocs/op 1.00
BenchmarkDocument/tree_delete_all_1000 74338569 ns/op 87510578 B/op 75267 allocs/op 74884622 ns/op 87508962 B/op 75263 allocs/op 0.99
BenchmarkDocument/tree_delete_all_1000 - ns/op 74338569 ns/op 74884622 ns/op 0.99
BenchmarkDocument/tree_delete_all_1000 - B/op 87510578 B/op 87508962 B/op 1.00
BenchmarkDocument/tree_delete_all_1000 - allocs/op 75267 allocs/op 75263 allocs/op 1.00
BenchmarkDocument/tree_edit_gc_100 3780996 ns/op 4146835 B/op 15141 allocs/op 3933114 ns/op 4147791 B/op 15141 allocs/op 0.96
BenchmarkDocument/tree_edit_gc_100 - ns/op 3780996 ns/op 3933114 ns/op 0.96
BenchmarkDocument/tree_edit_gc_100 - B/op 4146835 B/op 4147791 B/op 1.00
BenchmarkDocument/tree_edit_gc_100 - allocs/op 15141 allocs/op 15141 allocs/op 1
BenchmarkDocument/tree_edit_gc_1000 296407116 ns/op 383745694 B/op 154838 allocs/op 295894040 ns/op 383745438 B/op 154847 allocs/op 1.00
BenchmarkDocument/tree_edit_gc_1000 - ns/op 296407116 ns/op 295894040 ns/op 1.00
BenchmarkDocument/tree_edit_gc_1000 - B/op 383745694 B/op 383745438 B/op 1.00
BenchmarkDocument/tree_edit_gc_1000 - allocs/op 154838 allocs/op 154847 allocs/op 1.00
BenchmarkDocument/tree_split_gc_100 2499937 ns/op 2412482 B/op 11125 allocs/op 2482111 ns/op 2412495 B/op 11125 allocs/op 1.01
BenchmarkDocument/tree_split_gc_100 - ns/op 2499937 ns/op 2482111 ns/op 1.01
BenchmarkDocument/tree_split_gc_100 - B/op 2412482 B/op 2412495 B/op 1.00
BenchmarkDocument/tree_split_gc_100 - allocs/op 11125 allocs/op 11125 allocs/op 1
BenchmarkDocument/tree_split_gc_1000 181588095 ns/op 222252350 B/op 121994 allocs/op 179387916 ns/op 222250386 B/op 121986 allocs/op 1.01
BenchmarkDocument/tree_split_gc_1000 - ns/op 181588095 ns/op 179387916 ns/op 1.01
BenchmarkDocument/tree_split_gc_1000 - B/op 222252350 B/op 222250386 B/op 1.00
BenchmarkDocument/tree_split_gc_1000 - allocs/op 121994 allocs/op 121986 allocs/op 1.00
BenchmarkRPC/client_to_server 377723156 ns/op 17780685 B/op 175388 allocs/op 374176895 ns/op 16962061 B/op 175383 allocs/op 1.01
BenchmarkRPC/client_to_server - ns/op 377723156 ns/op 374176895 ns/op 1.01
BenchmarkRPC/client_to_server - B/op 17780685 B/op 16962061 B/op 1.05
BenchmarkRPC/client_to_server - allocs/op 175388 allocs/op 175383 allocs/op 1.00
BenchmarkRPC/client_to_client_via_server 626906928 ns/op 33033460 B/op 321070 allocs/op 628429544 ns/op 33032024 B/op 321065 allocs/op 1.00
BenchmarkRPC/client_to_client_via_server - ns/op 626906928 ns/op 628429544 ns/op 1.00
BenchmarkRPC/client_to_client_via_server - B/op 33033460 B/op 33032024 B/op 1.00
BenchmarkRPC/client_to_client_via_server - allocs/op 321070 allocs/op 321065 allocs/op 1.00
BenchmarkRPC/attach_large_document 1315112060 ns/op 1894695720 B/op 8840 allocs/op 1469025266 ns/op 1918287544 B/op 8858 allocs/op 0.90
BenchmarkRPC/attach_large_document - ns/op 1315112060 ns/op 1469025266 ns/op 0.90
BenchmarkRPC/attach_large_document - B/op 1894695720 B/op 1918287544 B/op 0.99
BenchmarkRPC/attach_large_document - allocs/op 8840 allocs/op 8858 allocs/op 1.00
BenchmarkRPC/adminCli_to_server 540873768 ns/op 35957944 B/op 289531 allocs/op 548554378 ns/op 35957644 B/op 289528 allocs/op 0.99
BenchmarkRPC/adminCli_to_server - ns/op 540873768 ns/op 548554378 ns/op 0.99
BenchmarkRPC/adminCli_to_server - B/op 35957944 B/op 35957644 B/op 1.00
BenchmarkRPC/adminCli_to_server - allocs/op 289531 allocs/op 289528 allocs/op 1.00
BenchmarkLocker 85.69 ns/op 16 B/op 1 allocs/op 65.16 ns/op 16 B/op 1 allocs/op 1.32
BenchmarkLocker - ns/op 85.69 ns/op 65.16 ns/op 1.32
BenchmarkLocker - B/op 16 B/op 16 B/op 1
BenchmarkLocker - allocs/op 1 allocs/op 1 allocs/op 1
BenchmarkLockerParallel 39.45 ns/op 0 B/op 0 allocs/op 40.47 ns/op 0 B/op 0 allocs/op 0.97
BenchmarkLockerParallel - ns/op 39.45 ns/op 40.47 ns/op 0.97
BenchmarkLockerParallel - B/op 0 B/op 0 B/op 1
BenchmarkLockerParallel - allocs/op 0 allocs/op 0 allocs/op 1
BenchmarkLockerMoreKeys 148.8 ns/op 15 B/op 0 allocs/op 149.8 ns/op 15 B/op 0 allocs/op 0.99
BenchmarkLockerMoreKeys - ns/op 148.8 ns/op 149.8 ns/op 0.99
BenchmarkLockerMoreKeys - B/op 15 B/op 15 B/op 1
BenchmarkLockerMoreKeys - allocs/op 0 allocs/op 0 allocs/op 1
BenchmarkChange/Push_10_Changes 3908234 ns/op 121518 B/op 1279 allocs/op 3917070 ns/op 121432 B/op 1284 allocs/op 1.00
BenchmarkChange/Push_10_Changes - ns/op 3908234 ns/op 3917070 ns/op 1.00
BenchmarkChange/Push_10_Changes - B/op 121518 B/op 121432 B/op 1.00
BenchmarkChange/Push_10_Changes - allocs/op 1279 allocs/op 1284 allocs/op 1.00
BenchmarkChange/Push_100_Changes 14661730 ns/op 573844 B/op 6648 allocs/op 14568337 ns/op 573519 B/op 6654 allocs/op 1.01
BenchmarkChange/Push_100_Changes - ns/op 14661730 ns/op 14568337 ns/op 1.01
BenchmarkChange/Push_100_Changes - B/op 573844 B/op 573519 B/op 1.00
BenchmarkChange/Push_100_Changes - allocs/op 6648 allocs/op 6654 allocs/op 1.00
BenchmarkChange/Push_1000_Changes 117507221 ns/op 5181155 B/op 63144 allocs/op 116538933 ns/op 5211771 B/op 63146 allocs/op 1.01
BenchmarkChange/Push_1000_Changes - ns/op 117507221 ns/op 116538933 ns/op 1.01
BenchmarkChange/Push_1000_Changes - B/op 5181155 B/op 5211771 B/op 0.99
BenchmarkChange/Push_1000_Changes - allocs/op 63144 allocs/op 63146 allocs/op 1.00
BenchmarkChange/Pull_10_Changes 2894804 ns/op 100862 B/op 1004 allocs/op 2934146 ns/op 100825 B/op 1004 allocs/op 0.99
BenchmarkChange/Pull_10_Changes - ns/op 2894804 ns/op 2934146 ns/op 0.99
BenchmarkChange/Pull_10_Changes - B/op 100862 B/op 100825 B/op 1.00
BenchmarkChange/Pull_10_Changes - allocs/op 1004 allocs/op 1004 allocs/op 1
BenchmarkChange/Pull_100_Changes 4303910 ns/op 266670 B/op 3475 allocs/op 4435302 ns/op 266359 B/op 3474 allocs/op 0.97
BenchmarkChange/Pull_100_Changes - ns/op 4303910 ns/op 4435302 ns/op 0.97
BenchmarkChange/Pull_100_Changes - B/op 266670 B/op 266359 B/op 1.00
BenchmarkChange/Pull_100_Changes - allocs/op 3475 allocs/op 3474 allocs/op 1.00
BenchmarkChange/Pull_1000_Changes 8551845 ns/op 1490711 B/op 29860 allocs/op 8627123 ns/op 1490484 B/op 29856 allocs/op 0.99
BenchmarkChange/Pull_1000_Changes - ns/op 8551845 ns/op 8627123 ns/op 0.99
BenchmarkChange/Pull_1000_Changes - B/op 1490711 B/op 1490484 B/op 1.00
BenchmarkChange/Pull_1000_Changes - allocs/op 29860 allocs/op 29856 allocs/op 1.00
BenchmarkSnapshot/Push_3KB_snapshot 17131363 ns/op 715012 B/op 6655 allocs/op 17025163 ns/op 711462 B/op 6655 allocs/op 1.01
BenchmarkSnapshot/Push_3KB_snapshot - ns/op 17131363 ns/op 17025163 ns/op 1.01
BenchmarkSnapshot/Push_3KB_snapshot - B/op 715012 B/op 711462 B/op 1.00
BenchmarkSnapshot/Push_3KB_snapshot - allocs/op 6655 allocs/op 6655 allocs/op 1
BenchmarkSnapshot/Push_30KB_snapshot 121212256 ns/op 5567047 B/op 63148 allocs/op 119982481 ns/op 5486231 B/op 63150 allocs/op 1.01
BenchmarkSnapshot/Push_30KB_snapshot - ns/op 121212256 ns/op 119982481 ns/op 1.01
BenchmarkSnapshot/Push_30KB_snapshot - B/op 5567047 B/op 5486231 B/op 1.01
BenchmarkSnapshot/Push_30KB_snapshot - allocs/op 63148 allocs/op 63150 allocs/op 1.00
BenchmarkSnapshot/Pull_3KB_snapshot 6485562 ns/op 923951 B/op 15512 allocs/op 6472689 ns/op 921879 B/op 15507 allocs/op 1.00
BenchmarkSnapshot/Pull_3KB_snapshot - ns/op 6485562 ns/op 6472689 ns/op 1.00
BenchmarkSnapshot/Pull_3KB_snapshot - B/op 923951 B/op 921879 B/op 1.00
BenchmarkSnapshot/Pull_3KB_snapshot - allocs/op 15512 allocs/op 15507 allocs/op 1.00
BenchmarkSnapshot/Pull_30KB_snapshot 15057595 ns/op 7155735 B/op 150103 allocs/op 15549098 ns/op 7152795 B/op 150106 allocs/op 0.97
BenchmarkSnapshot/Pull_30KB_snapshot - ns/op 15057595 ns/op 15549098 ns/op 0.97
BenchmarkSnapshot/Pull_30KB_snapshot - B/op 7155735 B/op 7152795 B/op 1.00
BenchmarkSnapshot/Pull_30KB_snapshot - allocs/op 150103 allocs/op 150106 allocs/op 1.00
BenchmarkSync/memory_sync_10_test 6858 ns/op 1286 B/op 38 allocs/op 6953 ns/op 1286 B/op 38 allocs/op 0.99
BenchmarkSync/memory_sync_10_test - ns/op 6858 ns/op 6953 ns/op 0.99
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 51186 ns/op 8635 B/op 273 allocs/op 51232 ns/op 8634 B/op 273 allocs/op 1.00
BenchmarkSync/memory_sync_100_test - ns/op 51186 ns/op 51232 ns/op 1.00
BenchmarkSync/memory_sync_100_test - B/op 8635 B/op 8634 B/op 1.00
BenchmarkSync/memory_sync_100_test - allocs/op 273 allocs/op 273 allocs/op 1
BenchmarkSync/memory_sync_1000_test 579641 ns/op 74383 B/op 2123 allocs/op 581525 ns/op 74396 B/op 2123 allocs/op 1.00
BenchmarkSync/memory_sync_1000_test - ns/op 579641 ns/op 581525 ns/op 1.00
BenchmarkSync/memory_sync_1000_test - B/op 74383 B/op 74396 B/op 1.00
BenchmarkSync/memory_sync_1000_test - allocs/op 2123 allocs/op 2123 allocs/op 1
BenchmarkSync/memory_sync_10000_test 6857287 ns/op 738492 B/op 20340 allocs/op 7026543 ns/op 745607 B/op 20384 allocs/op 0.98
BenchmarkSync/memory_sync_10000_test - ns/op 6857287 ns/op 7026543 ns/op 0.98
BenchmarkSync/memory_sync_10000_test - B/op 738492 B/op 745607 B/op 0.99
BenchmarkSync/memory_sync_10000_test - allocs/op 20340 allocs/op 20384 allocs/op 1.00
BenchmarkTextEditing 5199509769 ns/op 3901883904 B/op 18743118 allocs/op 4998903818 ns/op 3901915136 B/op 18743155 allocs/op 1.04
BenchmarkTextEditing - ns/op 5199509769 ns/op 4998903818 ns/op 1.04
BenchmarkTextEditing - B/op 3901883904 B/op 3901915136 B/op 1.00
BenchmarkTextEditing - allocs/op 18743118 allocs/op 18743155 allocs/op 1.00
BenchmarkTree/10000_vertices_to_protobuf 3406415 ns/op 6262968 B/op 70025 allocs/op 3427094 ns/op 6262992 B/op 70025 allocs/op 0.99
BenchmarkTree/10000_vertices_to_protobuf - ns/op 3406415 ns/op 3427094 ns/op 0.99
BenchmarkTree/10000_vertices_to_protobuf - B/op 6262968 B/op 6262992 B/op 1.00
BenchmarkTree/10000_vertices_to_protobuf - allocs/op 70025 allocs/op 70025 allocs/op 1
BenchmarkTree/10000_vertices_from_protobuf 150429705 ns/op 442172600 B/op 290039 allocs/op 153450459 ns/op 442171507 B/op 290039 allocs/op 0.98
BenchmarkTree/10000_vertices_from_protobuf - ns/op 150429705 ns/op 153450459 ns/op 0.98
BenchmarkTree/10000_vertices_from_protobuf - B/op 442172600 B/op 442171507 B/op 1.00
BenchmarkTree/10000_vertices_from_protobuf - allocs/op 290039 allocs/op 290039 allocs/op 1
BenchmarkTree/20000_vertices_to_protobuf 7724130 ns/op 12717028 B/op 140028 allocs/op 7655595 ns/op 12716978 B/op 140028 allocs/op 1.01
BenchmarkTree/20000_vertices_to_protobuf - ns/op 7724130 ns/op 7655595 ns/op 1.01
BenchmarkTree/20000_vertices_to_protobuf - B/op 12717028 B/op 12716978 B/op 1.00
BenchmarkTree/20000_vertices_to_protobuf - allocs/op 140028 allocs/op 140028 allocs/op 1
BenchmarkTree/20000_vertices_from_protobuf 687412695 ns/op 1697276944 B/op 580092 allocs/op 673712787 ns/op 1697272168 B/op 580045 allocs/op 1.02
BenchmarkTree/20000_vertices_from_protobuf - ns/op 687412695 ns/op 673712787 ns/op 1.02
BenchmarkTree/20000_vertices_from_protobuf - B/op 1697276944 B/op 1697272168 B/op 1.00
BenchmarkTree/20000_vertices_from_protobuf - allocs/op 580092 allocs/op 580045 allocs/op 1.00
BenchmarkTree/30000_vertices_to_protobuf 12155885 ns/op 19318236 B/op 210030 allocs/op 11930775 ns/op 19318428 B/op 210031 allocs/op 1.02
BenchmarkTree/30000_vertices_to_protobuf - ns/op 12155885 ns/op 11930775 ns/op 1.02
BenchmarkTree/30000_vertices_to_protobuf - B/op 19318236 B/op 19318428 B/op 1.00
BenchmarkTree/30000_vertices_to_protobuf - allocs/op 210030 allocs/op 210031 allocs/op 1.00
BenchmarkTree/30000_vertices_from_protobuf 1636220812 ns/op 3752052840 B/op 870052 allocs/op 1648243458 ns/op 3752044968 B/op 870054 allocs/op 0.99
BenchmarkTree/30000_vertices_from_protobuf - ns/op 1636220812 ns/op 1648243458 ns/op 0.99
BenchmarkTree/30000_vertices_from_protobuf - B/op 3752052840 B/op 3752044968 B/op 1.00
BenchmarkTree/30000_vertices_from_protobuf - allocs/op 870052 allocs/op 870054 allocs/op 1.00

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

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (4)
CHANGELOG.md (4)

14-14: Convert bare URL to Markdown link.

Bare URLs should be converted to Markdown links for better readability and maintainability.

- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
Tools
Markdownlint

14-14: null
Bare URL used

(MD034, no-bare-urls)


15-15: Convert bare URL to Markdown link.

Bare URLs should be converted to Markdown links for better readability and maintainability.

- and Yorkie adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+ and Yorkie adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
Tools
Markdownlint

15-15: null
Bare URL used

(MD034, no-bare-urls)


16-16: Convert bare URL to Markdown link.

Bare URLs should be converted to Markdown links for better readability and maintainability.

- Enhance housekeeping to add variety of tasks by @hackerwins in https://github.com/yorkie-team/yorkie/pull/932
+ Enhance housekeeping to add variety of tasks by @hackerwins in [PR #932](https://github.com/yorkie-team/yorkie/pull/932)
Tools
Markdownlint

16-16: null
Bare URL used

(MD034, no-bare-urls)


20-20: Convert bare URL to Markdown link.

Bare URLs should be converted to Markdown links for better readability and maintainability.

- Update `updated_at` only when there are operations in changes by @window9u in https://github.com/yorkie-team/yorkie/pull/935
+ Update `updated_at` only when there are operations in changes by @window9u in [PR #935](https://github.com/yorkie-team/yorkie/pull/935)
Tools
Markdownlint

20-20: null
Bare URL used

(MD034, no-bare-urls)

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 379ee54 and ac0d49c.

Files selected for processing (7)
  • CHANGELOG.md (1 hunks)
  • Makefile (1 hunks)
  • api/docs/yorkie.base.yaml (1 hunks)
  • api/docs/yorkie/v1/admin.openapi.yaml (55 hunks)
  • api/docs/yorkie/v1/resources.openapi.yaml (64 hunks)
  • api/docs/yorkie/v1/yorkie.openapi.yaml (49 hunks)
  • build/charts/yorkie-cluster/Chart.yaml (1 hunks)
Files skipped from review due to trivial changes (6)
  • Makefile
  • api/docs/yorkie.base.yaml
  • api/docs/yorkie/v1/admin.openapi.yaml
  • api/docs/yorkie/v1/resources.openapi.yaml
  • api/docs/yorkie/v1/yorkie.openapi.yaml
  • build/charts/yorkie-cluster/Chart.yaml
Additional context used
Markdownlint
CHANGELOG.md

14-14: null
Bare URL used

(MD034, no-bare-urls)


15-15: null
Bare URL used

(MD034, no-bare-urls)


16-16: null
Bare URL used

(MD034, no-bare-urls)


20-20: null
Bare URL used

(MD034, no-bare-urls)

Copy link

codecov bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.51%. Comparing base (379ee54) to head (ac0d49c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #942   +/-   ##
=======================================
  Coverage   51.51%   51.51%           
=======================================
  Files          71       71           
  Lines       10583    10583           
=======================================
  Hits         5452     5452           
  Misses       4585     4585           
  Partials      546      546           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hackerwins hackerwins merged commit b1f9e00 into main Jul 25, 2024
4 checks passed
@hackerwins hackerwins deleted the v0.4.28 branch July 25, 2024 05:26
raararaara pushed a commit that referenced this pull request Oct 7, 2024
@coderabbitai coderabbitai bot mentioned this pull request Oct 28, 2024
2 tasks
@coderabbitai coderabbitai bot mentioned this pull request Nov 7, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant