You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by wa...@apache.org on 2025/06/05 04:00:12 UTC
(fory-site) branch main updated: rename fury to fory (#240)
This is an automated email from the ASF dual-hosted git repository.
wangweipeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git
The following commit(s) were added to refs/heads/main by this push:
new 3b8d19eb rename fury to fory (#240)
3b8d19eb is described below
commit 3b8d19eb9e45eb867543b043fa2b693f68465389
Author: Shawn Yang <sh...@gmail.com>
AuthorDate: Thu Jun 5 12:00:09 2025 +0800
rename fury to fory (#240)
---
.github/ISSUE_TEMPLATE/documentation.yaml | 4 +-
.github/ISSUE_TEMPLATE/website.yaml | 2 +-
CONTRIBUTING.md | 22 +-
DISCLAIMER | 2 +-
NOTICE | 2 +-
README.md | 6 +-
checklink_config.json | 4 +-
docs/community/community.md | 28 +-
docs/community/how_to_join_community.md | 36 +--
docs/community/how_to_release.md | 164 +++++------
docs/community/how_to_verify.md | 18 +-
docs/docs/guide/DEVELOPMENT.md | 26 +-
docs/docs/guide/graalvm_guide.md | 126 ++++-----
docs/docs/guide/java_serialization_guide.md | 274 +++++++++----------
docs/docs/guide/row_format_guide.md | 2 +-
docs/docs/guide/scala_guide.md | 74 ++---
docs/docs/guide/xlang_serialization_guide.md | 176 ++++++------
docs/docs/guide/xlang_type_mapping.md | 24 +-
docs/docs/introduction/benchmark.md | 8 +-
docs/docs/introduction/features.md | 2 +-
docs/docs/introduction/introduction.md | 20 +-
docs/docs/start/install.md | 40 +--
docs/docs/start/usage.md | 94 +++----
docusaurus.config.ts | 6 +-
i18n/en-US/code.json | 4 +-
.../docusaurus-plugin-content-blog/authors.yml | 8 +-
i18n/en-us/docusaurus-theme-classic/footer.json | 16 +-
i18n/en-us/docusaurus-theme-classic/navbar.json | 4 +-
i18n/zh-CN/code.json | 4 +-
.../docusaurus-plugin-content-blog/authors.yml | 8 +-
.../current/community/community.md | 32 +--
.../current/community/how_to_join_community.md | 36 +--
.../current/community/how_to_release.md | 138 +++++-----
.../current/community/how_to_verify.md | 24 +-
.../current/docs/01-Introduction/benchmark.md | 6 +-
.../current/docs/01-Introduction/features.md | 2 +-
.../current/docs/01-Introduction/introduction.md | 20 +-
.../current/docs/02-Start/install.md | 46 ++--
.../current/docs/02-Start/usage.md | 96 +++----
.../current/docs/03-Guide/DEVELOPMENT.md | 26 +-
.../current/docs/03-Guide/graalvm_guide.md | 116 ++++----
.../docs/03-Guide/java_serialization_guide.md | 198 +++++++-------
.../current/docs/03-Guide/row_format_guide.md | 2 +-
.../current/docs/03-Guide/scala_guide.md | 58 ++--
.../docs/03-Guide/xlang_serialization_guide.md | 176 ++++++------
.../current/docs/03-Guide/xlang_type_mapping.md | 26 +-
i18n/zh-CN/docusaurus-theme-classic/footer.json | 16 +-
i18n/zh-CN/docusaurus-theme-classic/navbar.json | 2 +-
package-lock.json | 6 +-
package.json | 4 +-
public/benchmarks/README.md | 176 ++++++------
.../benchmarks/data/jmh-jdk-11-deserialization.csv | 304 ++++++++++-----------
.../benchmarks/data/jmh-jdk-11-serialization.csv | 304 ++++++++++-----------
public/benchmarks/data/jmh-jdk-11-zerocopy.csv | 144 +++++-----
src/constants/index.ts | 12 +-
src/pages/download/index.md | 20 +-
src/pages/home/components/HomePageLanguageCard.tsx | 14 +-
src/pages/home/components/HomepageFeatures.tsx | 2 +-
src/pages/home/components/HomepageHeader.tsx | 2 +-
src/pages/user/languages.json | 26 +-
60 files changed, 1619 insertions(+), 1619 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/documentation.yaml b/.github/ISSUE_TEMPLATE/documentation.yaml
index 64ab3409..74be2001 100644
--- a/.github/ISSUE_TEMPLATE/documentation.yaml
+++ b/.github/ISSUE_TEMPLATE/documentation.yaml
@@ -6,13 +6,13 @@ body:
- type: markdown
attributes:
value: |
- Thanks for taking the time to point out documentation issues for Apache Fury!
+ Thanks for taking the time to point out documentation issues for Apache Fory!
- type: textarea
id: "current-state"
attributes:
label: Current State
description: Current state of the documentation page with possible links and screenshots
- placeholder: The "What is Apache Fury" page does not fully explain...
+ placeholder: The "What is Apache Fory" page does not fully explain...
value: |
**Description of the current issue**:
diff --git a/.github/ISSUE_TEMPLATE/website.yaml b/.github/ISSUE_TEMPLATE/website.yaml
index e1e3eb25..666fdd78 100644
--- a/.github/ISSUE_TEMPLATE/website.yaml
+++ b/.github/ISSUE_TEMPLATE/website.yaml
@@ -5,7 +5,7 @@ body:
- type: markdown
attributes:
value: |
- Thank you for taking the time to raise questions and update the Apache Fury official website!
+ Thank you for taking the time to raise questions and update the Apache Fory official website!
- type: textarea
id: "current-state"
attributes:
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 59a665b4..9d61bdea 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,27 +1,27 @@
-# How to contribute to Fury
+# How to contribute to Fory
## Finding good first issues
-See [Good First Issues](https://github.com/apache/fury/contribute).
+See [Good First Issues](https://github.com/apache/fory/contribute).
-## How to create an issue for Fury
+## How to create an issue for Fory
-Create an issue with [this form](https://github.com/apache/fury/issues/new/choose).
+Create an issue with [this form](https://github.com/apache/fory/issues/new/choose).
-## Fury Website
+## Fory Website
-Fury's website consists of static pages hosted at https://github.com/apache/fury-site.
+Fory's website consists of static pages hosted at https://github.com/apache/fory-site.
-## How to create an issue for Fury Website
+## How to create an issue for Fory Website
-Create an issue with [this form](https://github.com/apache/fury-site/issues/new/choose).
+Create an issue with [this form](https://github.com/apache/fory-site/issues/new/choose).
## How to update doc
-All updates about docs for [guide](https://github.com/apache/fury/tree/main/docs/guide) and [specification](https://github.com/apache/fury/tree/main/docs/specification) will be synced from [docs in fury repo](https://github.com/apache/fury/tree/main/docs) to this site repo automatically.
+All updates about docs for [guide](https://github.com/apache/fory/tree/main/docs/guide) and [specification](https://github.com/apache/fory/tree/main/docs/specification) will be synced from [docs in fory repo](https://github.com/apache/fory/tree/main/docs) to this site repo automatically.
-If you want to update those pages, please submit a PR to https://github.com/apache/fury.
+If you want to update those pages, please submit a PR to https://github.com/apache/fory.
## Write a blog
-If you want write a blog, or update other contents about the website, please submit PR to [this site repo](https://github.com/apache/fury-site).
+If you want write a blog, or update other contents about the website, please submit PR to [this site repo](https://github.com/apache/fory-site).
diff --git a/DISCLAIMER b/DISCLAIMER
index d3038551..c5d2c6b1 100644
--- a/DISCLAIMER
+++ b/DISCLAIMER
@@ -1,4 +1,4 @@
-Apache Fury (incubating) is an effort undergoing incubation at the Apache
+Apache Fory (incubating) is an effort undergoing incubation at the Apache
Software Foundation (ASF), sponsored by the Apache Incubator PMC.
Incubation is required of all newly accepted projects until a further review
diff --git a/NOTICE b/NOTICE
index 3f3ac3b6..611e9f2a 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,4 +1,4 @@
-Apache Fury (Incubating)
+Apache Fory (Incubating)
Copyright 2023-2024 The Apache Software Foundation
This product includes software developed at
diff --git a/README.md b/README.md
index b5587d3d..597e1d53 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
-# Apache Fury (incubating) Website
+# Apache Fory (incubating) Website
-The source repository of static website for Apache Fury (incubating): https://github.com/apache/fury.
+The source repository of static website for Apache Fory (incubating): https://github.com/apache/fory.
> [!IMPORTANT]
-> Apache Fury (incubating) is an effort undergoing incubation at the Apache
+> Apache Fory (incubating) is an effort undergoing incubation at the Apache
> Software Foundation (ASF), sponsored by the Apache Incubator PMC.
>
> Please read the [DISCLAIMER](DISCLAIMER) and a full explanation of ["incubating"](https://incubator.apache.org/policy/incubation.html).
diff --git a/checklink_config.json b/checklink_config.json
index aed8038f..dc386143 100644
--- a/checklink_config.json
+++ b/checklink_config.json
@@ -8,10 +8,10 @@
"replacementPatterns": [
{
"pattern": "^/",
- "replacement": "https://fury.apache.org/"
+ "replacement": "https://fory.apache.org/"
}
],
"aliveStatusCodes": [
200
]
-}
+}
\ No newline at end of file
diff --git a/docs/community/community.md b/docs/community/community.md
index ef3f56eb..419a2089 100644
--- a/docs/community/community.md
+++ b/docs/community/community.md
@@ -5,7 +5,7 @@ id: community
---
-Apache Fury is a volunteer project and it thrives on the contributions of its community.
+Apache Fory is a volunteer project and it thrives on the contributions of its community.
We invite you to participate as much or as little as you wish. Here are several ways to contribute:
- Use our project and share feedback.
@@ -17,8 +17,8 @@ We invite you to participate as much or as little as you wish. Here are several
| Name | Desc | Subscribe | Unsubscribe | Post | Archive |
|-------------------------|---------------------------------------------|-------------------------------------------------------|-----------------------------------------------------------|------------------------------------|-----------------------------------------------------------------------|
-| dev@fury.apache.org | Development related discussions | [Subscribe](mailto:dev-subscribe@fury.apache.org) | [Unsubscribe](mailto:dev-unsubscribe@fury.apache.org) | [Post](mailto:dev@fury.apache.org) | [Archive](https://lists.apache.org/list.html?dev@fury.apache.org) |
-| commits@fury.apache.org | All commits to our repositories | [Subscribe](mailto:commits-subscribe@fury.apache.org) | [Unsubscribe](mailto:commits-unsubscribe@fury.apache.org) | Read only list | [Archive](https://lists.apache.org/list.html?commits@fury.apache.org) |
+| dev@fory.apache.org | Development related discussions | [Subscribe](mailto:dev-subscribe@fory.apache.org) | [Unsubscribe](mailto:dev-unsubscribe@fory.apache.org) | [Post](mailto:dev@fory.apache.org) | [Archive](https://lists.apache.org/list.html?dev@fory.apache.org) |
+| commits@fory.apache.org | All commits to our repositories | [Subscribe](mailto:commits-subscribe@fory.apache.org) | [Unsubscribe](mailto:commits-unsubscribe@fory.apache.org) | Read only list | [Archive](https://lists.apache.org/list.html?commits@fory.apache.org) |
Please make sure subscribe to any list before attempting to post.
@@ -28,7 +28,7 @@ If you are not subscribed to the mailing list, your message will either be rejec
To post messages, subscribe first by:
-1. Sending an email to listname-subscribe@fury.apache.org with `listname` replaced accordingly.
+1. Sending an email to listname-subscribe@fory.apache.org with `listname` replaced accordingly.
2. Replying to the confirmation email you'll receive, keeping the subject line intact.
3. You'll then get a welcome email, and the subscription succeeds.
@@ -43,7 +43,7 @@ When discussing code snippets in emails, ensure:
## Slack
You can join
-the [Apache Fury™ community on Slack](https://join.slack.com/t/fury-project/shared_invite/zt-1u8soj4qc-ieYEu7ciHOqA2mo47llS8A).
+the [Apache Fory™ community on Slack](https://join.slack.com/t/fory-project/shared_invite/zt-1u8soj4qc-ieYEu7ciHOqA2mo47llS8A).
There are a couple of community rules:
@@ -58,25 +58,25 @@ There are a couple of community rules:
We use GitHub Issues to track all issues:
-- code related issues: https://github.com/apache/fury/issues
-- website related issues: https://github.com/apache/fury-site/issues
+- code related issues: https://github.com/apache/fory/issues
+- website related issues: https://github.com/apache/fory-site/issues
You need to have a [GitHub account](https://github.com/signup) in order to create issues.
-If you don't have a [GitHub account](https://github.com/signup), you can post an email to dev@fury.apache.org.
+If you don't have a [GitHub account](https://github.com/signup), you can post an email to dev@fory.apache.org.
### Bug reports
To report a bug:
- Verify that the bug does in fact exist.
-- Search the [issue tracker](https://github.com/apache/fury/issues) to verify there is no existing issue reporting the bug you've found.
-- Create a [bug report](https://github.com/apache/fury/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml) on issue tracker.
-- If possible, dive into the source code of fury, and submit a patch for the bug you reported, this helps ensure the bug
+- Search the [issue tracker](https://github.com/apache/fory/issues) to verify there is no existing issue reporting the bug you've found.
+- Create a [bug report](https://github.com/apache/fory/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml) on issue tracker.
+- If possible, dive into the source code of fory, and submit a patch for the bug you reported, this helps ensure the bug
will be fixed quickly.
### Reporting a Vulnerability
-Apache Fury is a project of the [Apache Software Foundation](https://apache.org/) and follows the [ASF vulnerability handling process](https://apache.org/security/#vulnerability-handling).
+Apache Fory is a project of the [Apache Software Foundation](https://apache.org/) and follows the [ASF vulnerability handling process](https://apache.org/security/#vulnerability-handling).
To report a new vulnerability you have discovered please follow the [ASF vulnerability reporting process](https://apache.org/security/#reporting-a-vulnerability), which explains how to send us details privately.
@@ -87,5 +87,5 @@ chance it will be incorporated into future releases.
## Source code
-- fury core repository: https://github.com/apache/fury
-- fury website repository: https://github.com/apache/fury-site
+- fory core repository: https://github.com/apache/fory
+- fory website repository: https://github.com/apache/fory-site
diff --git a/docs/community/how_to_join_community.md b/docs/community/how_to_join_community.md
index 6fbe7a7e..44f976ff 100644
--- a/docs/community/how_to_join_community.md
+++ b/docs/community/how_to_join_community.md
@@ -1,16 +1,16 @@
---
-title: How to join Fury
+title: How to join Fory
sidebar_position: 0
id: how_to_join_community
---
-First of all, kudos to you for choosing to join the open source contribution ranks. Secondly, we are very grateful that you have chosen to participate in the Fury community and contribute to this open source project.
+First of all, kudos to you for choosing to join the open source contribution ranks. Secondly, we are very grateful that you have chosen to participate in the Fory community and contribute to this open source project.
-## Fury Contribution Guide
+## Fory Contribution Guide
-The Fury team usually conducts development and issue maintenance on GitHub. Please open the [GitHub website](https://github.com/), click the `Sign up` button in the upper right corner, register your own account, and take the first step of your open source journey.
+The Fory team usually conducts development and issue maintenance on GitHub. Please open the [GitHub website](https://github.com/), click the `Sign up` button in the upper right corner, register your own account, and take the first step of your open source journey.
-In the [Fury repository](https://github.com/apache/fury), we have a [guide](https://fury.apache.org/zh-CN/docs/docs/community/) for all open source contributors, introducing contents such as version management and branch management. **Please take a few minutes to read and understand it**.
+In the [Fory repository](https://github.com/apache/fory), we have a [guide](https://fory.apache.org/zh-CN/docs/docs/community/) for all open source contributors, introducing contents such as version management and branch management. **Please take a few minutes to read and understand it**.
## Your First Pull Request
@@ -25,28 +25,28 @@ Git is a version control system used to track and manage code changes in softwar
### Step 1: Fork the Project
-- First, you need to fork this project. Enter the [Fury project page](https://github.com/apache/fury), and click the Fork button in the upper right corner.
-- In your GitHub account, the project xxxx (your GitHub username)/fury will appear.
-- On your local computer, use the following commands to obtain a fury folder:
+- First, you need to fork this project. Enter the [Fory project page](https://github.com/apache/fory), and click the Fork button in the upper right corner.
+- In your GitHub account, the project xxxx (your GitHub username)/fory will appear.
+- On your local computer, use the following commands to obtain a fory folder:
```
// ssh
-git clone git@github.com:xxxx (your GitHub username)/fury.git
+git clone git@github.com:xxxx (your GitHub username)/fory.git
// https
-git clone https://github.com/xxxx (your GitHub username)/fury.git
+git clone https://github.com/xxxx (your GitHub username)/fory.git
```
### Step 2: Obtain the Project Code
-- Enter the fury folder and add the remote address of fury:
+- Enter the fory folder and add the remote address of fory:
```
-git remote add upstream https://github.com/apache/fury.git
+git remote add upstream https://github.com/apache/fory.git
```
### Step 3: Create a Branch
-- Alright, now you can start contributing our code. The default branch of Fury is the main branch. Whether it is for function development, bug fixes, or documentation writing, please create a new branch and then merge it to the main branch. Use the following code to create a branch:
+- Alright, now you can start contributing our code. The default branch of Fory is the main branch. Whether it is for function development, bug fixes, or documentation writing, please create a new branch and then merge it to the main branch. Use the following code to create a branch:
```
// Create a function development branch
@@ -88,18 +88,18 @@ You can click the `Compare & pull request` button on your GitHub code repository
After filling in the relevant information, click Create pull request to submit.
-## **Easily Step into the Fury Open Source Contribution Journey**
+## **Easily Step into the Fory Open Source Contribution Journey**
"**good first issue**" is a common label in the open source community, and the purpose of this label is to help new contributors find entry-level issues that are suitable for them.
-The entry-level issues of Fury can be viewed through the [issue list](https://github.com/apache/fury/issues).
+The entry-level issues of Fory can be viewed through the [issue list](https://github.com/apache/fory/issues).
If you currently **have the time and willingness** to participate in community contributions, you can take a look at **good first issue** in the issues and select one that interests you and is suitable for you to claim.
-## Embrace the Apache Fury Community
+## Embrace the Apache Fory Community
-While you contribute code to Fury, we encourage you to participate in other things that make the community more prosperous, such as:
+While you contribute code to Fory, we encourage you to participate in other things that make the community more prosperous, such as:
- Offer suggestions for the project's development, functional planning, etc.
-- Create articles, videos, and hold lectures to promote Fury.
+- Create articles, videos, and hold lectures to promote Fory.
- Write promotion plans and execute them together with the team.
diff --git a/docs/community/how_to_release.md b/docs/community/how_to_release.md
index cbd5cd38..2813ed82 100644
--- a/docs/community/how_to_release.md
+++ b/docs/community/how_to_release.md
@@ -4,7 +4,7 @@ sidebar_position: 0
id: how_to_release
---
-This document mainly introduces how the release manager releases a new version of Apache Fury.
+This document mainly introduces how the release manager releases a new version of Apache Fory.
## Introduction
@@ -144,14 +144,14 @@ a [Web of Trust](https://infra.apache.org/release-signing.html#web-of-trust).
#### Add your GPG public key to the project KEYS file
-The svn repository of the release branch is: https://dist.apache.org/repos/dist/release/incubator/fury
+The svn repository of the release branch is: https://dist.apache.org/repos/dist/release/incubator/fory
Please add the public key to KEYS in the release branch:
```bash
-svn co https://dist.apache.org/repos/dist/release/incubator/fury fury-dist
+svn co https://dist.apache.org/repos/dist/release/incubator/fory fory-dist
# As this step will copy all the versions, it will take some time. If the network is broken, please use svn cleanup to delete the lock before re-execute it.
-cd fury-dist
+cd fory-dist
(gpg --list-sigs YOUR_NAME@apache.org && gpg --export --armor YOUR_NAME@apache.org) >> KEYS # Append your key to the KEYS file
svn add . # It is not needed if the KEYS document exists before.
svn ci -m "add gpg key for YOUR_NAME" # Later on, if you are asked to enter a username and password, just use your apache username and password.
@@ -178,24 +178,24 @@ release:
## Start discussion about the release
-Start a discussion about the next release via sending email to: dev@fury.apache.org:
+Start a discussion about the next release via sending email to: dev@fory.apache.org:
Title:
```
-[DISCUSS] Release Apache Fury(incubating) ${release_version}
+[DISCUSS] Release Apache Fory(incubating) ${release_version}
```
Content:
```
-Hello, Apache Fury(incubating) Community,
+Hello, Apache Fory(incubating) Community,
-This is a call for a discussion to release Apache Fury(incubating) version ${release_version}.
+This is a call for a discussion to release Apache Fory(incubating) version ${release_version}.
The change lists about this release:
-https://github.com/apache/fury/compare/v0.4.1...v0.5.0
+https://github.com/apache/fory/compare/v0.4.1...v0.5.0
Please leave your comments here about this release plan. We will bump the version in repo and start the release process after the discussion.
@@ -212,25 +212,25 @@ If the discussion goes positive, you will need to prepare the release artifiacts
- Create a new branch named `releases-0.5.0`
- Bump version to `$version` by executing command `python ci/release.py bump_version -l all -version $version`
-- Make a git commit and push the branch to `git@github.com:apache/fury.git`
-- Create a new tag by `git tag v0.5.0-rc1`, then push it to `git@github.com:apache/fury.git`
+- Make a git commit and push the branch to `git@github.com:apache/fory.git`
+- Create a new tag by `git tag v0.5.0-rc1`, then push it to `git@github.com:apache/fory.git`
### Build and upload artifacts to SVN dist/dev repo
First you need to build source release artifacts by `python ci/release.py build -v $version`.
Then you need to upload it to svn dist repo. The dist repo of the dev branch
-is: https://dist.apache.org/repos/dist/dev/incubator/fury
+is: https://dist.apache.org/repos/dist/dev/incubator/fory
```bash
# As this step will copy all the versions, it will take some time. If the network is broken, please use svn cleanup to delete the lock before re-execute it.
-svn co https://dist.apache.org/repos/dist/dev/incubator/fury fury-dist-dev
+svn co https://dist.apache.org/repos/dist/dev/incubator/fory fory-dist-dev
```
Then, upload the artifacts:
```bash
-cd fury-dist-dev
+cd fory-dist-dev
# create a directory named by version
mkdir ${release_version}-${rc_version}
# copy source code and signature package to the versioned directory
@@ -242,10 +242,10 @@ svn add ${release_version}-${rc_version}
# check svn status
svn status
# commit to SVN remote server
-svn commit -m "Prepare for fury ${release_version}-${rc_version}"
+svn commit -m "Prepare for fory ${release_version}-${rc_version}"
```
-Visit https://dist.apache.org/repos/dist/dev/incubator/fury/ to check the artifacts are uploaded correctly.
+Visit https://dist.apache.org/repos/dist/dev/incubator/fory/ to check the artifacts are uploaded correctly.
### What to do if something goes wrong
@@ -255,18 +255,18 @@ If some files are unexpected, you need to remove by `svn delete` and repeat the
### check version
-As an incubating project, Fury requires votes from both the FUry Community and Incubator Community.
+As an incubating project, Fory requires votes from both the FUry Community and Incubator Community.
-- release_version: the version for fury, like 0.5.0.
+- release_version: the version for fory, like 0.5.0.
- release_candidate_version: the version for voting, like 0.5.0-rc1.
- maven_artifact_number: the number for Maven staging artifacts, like 1001. Specifically, the maven_artifact_number can
- be found by searching "fury" on https://repository.apache.org/#stagingRepositories.
+ be found by searching "fory" on https://repository.apache.org/#stagingRepositories.
-### Build the source code of fury and release it to nexus
+### Build the source code of fory and release it to nexus
#### Configure Apache Account Passwords
-Before publishing Fury to Nexus, you need to securely configure your Apache account credentials. This step is critical
+Before publishing Fory to Nexus, you need to securely configure your Apache account credentials. This step is critical
as passwords must be encrypted.
First, open your Maven global settings file `settings.xml`, typically located at `~/.m2/settings.xml`. Add or modify the
@@ -390,7 +390,7 @@ After completing the publication of all modules, perform the following steps in
1. Log in to the Apache Nexus repository management interface
2. Navigate to the "Snapshots" or "Releases" repository (depending on your release type)
-3. Locate the latest Fury project version
+3. Locate the latest Fory project version
4. Execute the "Close" operation to validate all uploaded artifacts
5. After successful validation, execute the "Release" operation to finalize the deployment
@@ -399,50 +399,50 @@ These steps ensure all published artifacts are verified and correctly deployed t
### build a Pre-release
You need to build a Pre-release before voting, such as:
-https://github.com/apache/fury/releases/tag/v0.10.3-rc2
+https://github.com/apache/fory/releases/tag/v0.10.3-rc2
-### Fury Community Vote
+### Fory Community Vote
-you need send a email to Fury Community: dev@fury.apache.org:
+you need send a email to Fory Community: dev@fory.apache.org:
Title:
```
-[VOTE] Release Apache Fury(incubating) v${release_version}-${rc_version}
+[VOTE] Release Apache Fory(incubating) v${release_version}-${rc_version}
```
Content:
```
-Hello, Apache Fury(incubating) Community:
+Hello, Apache Fory(incubating) Community:
-This is a call for vote to release Apache Fury(Incubating)
+This is a call for vote to release Apache Fory(Incubating)
version release-0.5.0-rc3.
-Apache Fury(incubating) - A blazingly fast multi-language serialization
+Apache Fory(incubating) - A blazingly fast multi-language serialization
framework powered by JIT and zero-copy.
The discussion thread:
https://lists.apache.org/thread/xxr3od301g6v3ndj14zqc05byp9qvclh
The change lists about this release:
-https://github.com/apache/fury/compare/v0.4.1...v0.5.0-rc3
+https://github.com/apache/fory/compare/v0.4.1...v0.5.0-rc3
The release candidates:
-https://dist.apache.org/repos/dist/dev/incubator/fury/0.5.0-rc3/
+https://dist.apache.org/repos/dist/dev/incubator/fory/0.5.0-rc3/
The maven staging for this release:
https://repository.apache.org/content/repositories/orgapachefury-1003
Git tag for the release:
-https://github.com/apache/fury/releases/tag/v0.5.0-rc3
+https://github.com/apache/fory/releases/tag/v0.5.0-rc3
Git commit for the release:
-https://github.com/apache/fury/commit/fae06330edd049bb960536e978a45b97bca66faf
+https://github.com/apache/fory/commit/fae06330edd049bb960536e978a45b97bca66faf
The artifacts signed with PGP key [5E580BA4], corresponding to
[chaokunyang@apache.org], that can be found in keys file:
-https://downloads.apache.org/incubator/fury/KEYS
+https://downloads.apache.org/incubator/fory/KEYS
The vote will be open for at least 72 hours until the necessary number of votes are reached.
@@ -452,11 +452,11 @@ Please vote accordingly:
[ ] +0 no opinion
[ ] -1 disapprove with the reason
-To learn more about Fury, please see https://fury.apache.org/
+To learn more about Fory, please see https://fory.apache.org/
*Valid check is a requirement for a vote. *Checklist for reference:
-[ ] Download Fury is valid.
+[ ] Download Fory is valid.
[ ] Checksums and PGP signatures are valid.
[ ] Source code distributions have correct names matching the current release.
[ ] LICENSE and NOTICE files are correct.
@@ -467,27 +467,27 @@ To learn more about Fury, please see https://fury.apache.org/
More detail checklist please refer:
https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist
-How to Build and Test, please refer to: https://github.com/apache/fury/blob/main/docs/guide/DEVELOPMENT.md
+How to Build and Test, please refer to: https://github.com/apache/fory/blob/main/docs/guide/DEVELOPMENT.md
Thanks,
Chaokun Yang
```
-After at least 3 +1 binding vote (from Fury Podling PMC member and committers) and no veto, claim the vote result:
+After at least 3 +1 binding vote (from Fory Podling PMC member and committers) and no veto, claim the vote result:
Title:
```
-[RESULT][VOTE] Release Apache Fury(incubating) v${release_version}-${rc_version}
+[RESULT][VOTE] Release Apache Fory(incubating) v${release_version}-${rc_version}
```
Content:
```
-Hello, Apache Fury(incubating) Community,
+Hello, Apache Fory(incubating) Community,
-The vote to release Apache Fury(Incubating) v${release_version}-${rc_version} has passed.
+The vote to release Apache Fory(Incubating) v${release_version}-${rc_version} has passed.
The vote PASSED with 3 binding +1 and 0 -1 vote:
@@ -511,7 +511,7 @@ Send an email to: general@incubator.apache.org:
Title:
```
-[VOTE] Release Apache Fury(incubating) v${release_version}-${rc_version}
+[VOTE] Release Apache Fory(incubating) v${release_version}-${rc_version}
```
Content:
@@ -519,38 +519,38 @@ Content:
```
Hello everyone,
-This is a call for the vote to release Apache Fury(Incubating) v${release_version}-${rc_version}.
+This is a call for the vote to release Apache Fory(Incubating) v${release_version}-${rc_version}.
-The Apache Fury community has voted and approved the release of Apache
-Fury(incubating) v${release_version}-${rc_version}. We now kindly request the IPMC members
+The Apache Fory community has voted and approved the release of Apache
+Fory(incubating) v${release_version}-${rc_version}. We now kindly request the IPMC members
review and vote for this release.
-Apache Fury(incubating) - A blazingly fast multi-language serialization
+Apache Fory(incubating) - A blazingly fast multi-language serialization
framework powered by JIT and zero-copy.
-Fury community vote thread:
+Fory community vote thread:
${community_vote_thread_url}
Vote result thread:
${community_vote_result_thread_url}
The release candidate:
-https://dist.apache.org/repos/dist/dev/incubator/fury/${release_version}-${rc_version}/
+https://dist.apache.org/repos/dist/dev/incubator/fory/${release_version}-${rc_version}/
This release has been signed with a PGP available here:
-https://downloads.apache.org/incubator/fury/KEYS
+https://downloads.apache.org/incubator/fory/KEYS
Git tag for the release:
-https://github.com/apache/fury/releases/tag/v${release_version}-${rc_version}/
+https://github.com/apache/fory/releases/tag/v${release_version}-${rc_version}/
Git commit for the release:
-https://github.com/apache/fury/commit/$xxx
+https://github.com/apache/fory/commit/$xxx
Maven staging repo:
https://repository.apache.org/content/repositories/orgapachefury-${maven_artifact_number}/
How to Build and Test, please refer to:
-https://github.com/apache/fury/blob/main/docs/guide/DEVELOPMENT.md
+https://github.com/apache/fory/blob/main/docs/guide/DEVELOPMENT.md
Please download, verify, and test.
@@ -560,7 +560,7 @@ The VOTE will pass after 3 binding approve.
[ ] +0 no opinion
[ ] -1 disapprove with the reason
-To learn more about apache fury, please see https://fury.apache.org/
+To learn more about apache fory, please see https://fory.apache.org/
Checklist for reference:
@@ -581,7 +581,7 @@ After at least 72 hours with at least 3 +1 binding vote (from Incubator PMC memb
Title:
```
-[RESULT][VOTE] Release Apache Fury(incubating) v${release_version}-${rc_version}
+[RESULT][VOTE] Release Apache Fory(incubating) v${release_version}-${rc_version}
```
Content:
@@ -589,7 +589,7 @@ Content:
```
Hi Incubator PMC,
-The vote to release Apache Fury(incubating) v${release_version}-${rc_version} has passed with
+The vote to release Apache Fory(incubating) v${release_version}-${rc_version} has passed with
4 +1 binding and 3 +1 non-binding votes, no +0 or -1 votes.
Binding votes:
@@ -619,35 +619,35 @@ Address the raised issues, then bump `rc_version` and file a new vote again.
### Publish artifacts to SVN Release Directory
-- release_version: the release version for fury, like 0.5.0
+- release_version: the release version for fory, like 0.5.0
- release_candidate_version: the version for voting, like 0.5.0-rc1
```bash
-svn mv https://dist.apache.org/repos/dist/dev/incubator/fury/${release_version}-${rc_version} https://dist.apache.org/repos/dist/release/incubator/fury/${release_version} -m "Release fury ${release_version}"
+svn mv https://dist.apache.org/repos/dist/dev/incubator/fory/${release_version}-${rc_version} https://dist.apache.org/repos/dist/release/incubator/fory/${release_version} -m "Release fory ${release_version}"
```
-In the repository at https://dist.apache.org/repos/dist/dev/incubator/fury/, if any
+In the repository at https://dist.apache.org/repos/dist/dev/incubator/fory/, if any
outdated release_candidate_version are left behind when releasing the release_version,
please clear them to keep the dev repository tidy.
-When `https://archive.apache.org/dist/incubator/fury/0.10.0/${release_version}` is
+When `https://archive.apache.org/dist/incubator/fory/0.10.0/${release_version}` is
accessible (confirming that the release_version has been successfully released
and archived), we may clean up the previous release version in the release repository,
leaving only the current version.
-### Update Fury&Fury-Site content
+### Update Fory&Fory-Site content
-Submit a PR to https://github.com/apache/fury-site to update Fury-site.
-Reference implementation: [#222](https://github.com/apache/fury-site/pull/222)
-and [#223](https://github.com/apache/fury-site/pull/223).
+Submit a PR to https://github.com/apache/fory-site to update Fory-site.
+Reference implementation: [#222](https://github.com/apache/fory-site/pull/222)
+and [#223](https://github.com/apache/fory-site/pull/223).
-Submit a PR to https://github.com/apache/fury to update [README](https://github.com/apache/fury/blob/main/README.md),
-like [#2207](https://github.com/apache/fury/pull/2207).
+Submit a PR to https://github.com/apache/fory to update [README](https://github.com/apache/fory/blob/main/README.md),
+like [#2207](https://github.com/apache/fory/pull/2207).
### Github officially released
-You need to officially release this version in the Fury project
-Reference implementation: https://github.com/apache/fury/releases/tag/v0.10.3
+You need to officially release this version in the Fory project
+Reference implementation: https://github.com/apache/fory/releases/tag/v0.10.3
### Release Maven artifacts
@@ -657,12 +657,12 @@ Reference implementation: https://github.com/apache/fury/releases/tag/v0.10.3
### Send the announcement
-Send the release announcement to dev@fury.apache.org and CC announce@apache.org.
+Send the release announcement to dev@fory.apache.org and CC announce@apache.org.
Title:
```
-[ANNOUNCE] Release Apache Fury(incubating) ${release_version}
+[ANNOUNCE] Release Apache Fory(incubating) ${release_version}
```
Content:
@@ -670,29 +670,29 @@ Content:
```
Hi all,
-The Apache Fury(incubating) community is pleased to announce
-that Apache Fury(incubating) {release_version} has been released!
+The Apache Fory(incubating) community is pleased to announce
+that Apache Fory(incubating) {release_version} has been released!
-Apache Fury(incubating) - A blazingly fast multi-language serialization
+Apache Fory(incubating) - A blazingly fast multi-language serialization
framework powered by JIT and zero-copy.
The release notes are available here:
-https://github.com/apache/fury/releases/tag/v${release_version}
+https://github.com/apache/fory/releases/tag/v${release_version}
For the complete list of changes:
-https://github.com/apache/fury/compare/v0.5.0...v${release_version}
+https://github.com/apache/fory/compare/v0.5.0...v${release_version}
-Apache Fury website: https://fury.apache.org/
+Apache Fory website: https://fory.apache.org/
-Download Links: https://fury.apache.org/download
+Download Links: https://fory.apache.org/download
-Fury Resources:
-- Fury github repo: https://github.com/apache/fury
-- Issue: https://github.com/apache/fury/issues
-- Mailing list: dev@fury.apache.org
+Fory Resources:
+- Fory github repo: https://github.com/apache/fory
+- Issue: https://github.com/apache/fory/issues
+- Mailing list: dev@fory.apache.org
We are looking to grow our community and welcome new contributors. If
-you are interested in contributing to Fury, please contact us on the
+you are interested in contributing to Fory, please contact us on the
mailing list or on GitHub. We will be happy to help you get started.
------------------
@@ -702,4 +702,4 @@ ${your_name}
Remember to use plain text instead of rich text format, or you may be rejected when CC announce@apache.org
-After completing the above steps, the Fury release process comes to an end.
+After completing the above steps, the Fory release process comes to an end.
diff --git a/docs/community/how_to_verify.md b/docs/community/how_to_verify.md
index 23b7395b..52b50c3e 100644
--- a/docs/community/how_to_verify.md
+++ b/docs/community/how_to_verify.md
@@ -11,9 +11,9 @@ For detailed check list, please refer to the [official check list](https://cwiki
```bash
#If there is svn locally, you can clone to the local
-svn co https://dist.apache.org/repos/dist/dev/incubator/fury/${release_version}-${rc_version}/
+svn co https://dist.apache.org/repos/dist/dev/incubator/fory/${release_version}-${rc_version}/
# You can download the material file directly
-wget https://dist.apache.org/repos/dist/dev/incubator/fury/${release_version}-${rc_version}/xxx.xxx
+wget https://dist.apache.org/repos/dist/dev/incubator/fory/${release_version}-${rc_version}/xxx.xxx
```
## Verify checksums and signatures
@@ -28,10 +28,10 @@ yum install gnupg
brew install gnupg
```
-Then import the Fury release manager's public key:
+Then import the Fory release manager's public key:
```bash
-curl https://downloads.apache.org/incubator/fury/KEYS > KEYS # Download KEYS
+curl https://downloads.apache.org/incubator/fory/KEYS > KEYS # Download KEYS
gpg --import KEYS # Import KEYS to local
# Then, trust the public key:
gpg --edit-key <KEY-used-in-this-version> # Edit the key(mentioned in vote email)
@@ -82,7 +82,7 @@ for i in *.tar.gz; do echo $i; gpg --verify $i.asc $i; done
If something like the following appears, it means the signature is correct:
```bash
-apache-fury-incubating-0.5.0-src.tar.gz
+apache-fory-incubating-0.5.0-src.tar.gz
gpg: Signature made Wed 17 Apr 2024 11:49:45 PM CST using RSA key ID 5E580BA4
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
@@ -99,19 +99,19 @@ for i in *.tar.gz; do echo $i; sha512sum --check $i.sha512; done
It should output something like:
```bash
-apache-fury-incubating-0.5.0-src.tar.gz
-apache-fury-incubating-0.5.0-src.tar.gz: OK
+apache-fory-incubating-0.5.0-src.tar.gz
+apache-fory-incubating-0.5.0-src.tar.gz: OK
```
## Check the file content of the source package
-Unzip `apache-fury-${release_version}-${rc_version}-src.tar.gz` and check the follows:
+Unzip `apache-fory-${release_version}-${rc_version}-src.tar.gz` and check the follows:
- LICENSE and NOTICE files are correct for the repository.
- All files have ASF license headers if necessary.
- Building is OK.
-## Check the Maven artifacts of fury-java
+## Check the Maven artifacts of fory-java
Download the artifacts from https://repository.apache.org/content/repositories/orgapachefury-${maven_artifact_number}/.
diff --git a/docs/docs/guide/DEVELOPMENT.md b/docs/docs/guide/DEVELOPMENT.md
index 013811fa..922b1b3c 100644
--- a/docs/docs/guide/DEVELOPMENT.md
+++ b/docs/docs/guide/DEVELOPMENT.md
@@ -19,11 +19,11 @@ license: |
limitations under the License.
---
-## How to build Fury
+## How to build Fory
-Please checkout the source tree from https://github.com/apache/fury.
+Please checkout the source tree from https://github.com/apache/fory.
-### Build Fury Java
+### Build Fory Java
```bash
cd java
@@ -35,7 +35,7 @@ mvn clean compile -DskipTests
- java 1.8+
- maven 3.6.3+
-### Build Fury Python
+### Build Fory Python
```bash
cd python
@@ -53,20 +53,20 @@ pip install -v -e .
- python 3.6+
-### Build Fury C++
+### Build Fory C++
-Build fury row format:
+Build fory row format:
```bash
pip install pyarrow==15.0.0
-bazel build //cpp/fury/row:fury_row_format
+bazel build //cpp/fory/row:fury_row_format
```
-Build fury row format encoder:
+Build fory row format encoder:
```bash
pip install pyarrow==15.0.0
-bazel build //cpp/fury/encoder:fury_encoder
+bazel build //cpp/fory/encoder:fury_encoder
```
#### Environment Requirements
@@ -74,10 +74,10 @@ bazel build //cpp/fury/encoder:fury_encoder
- compilers with C++17 support
- bazel 6.3.2
-### Build Fury GoLang
+### Build Fory GoLang
```bash
-cd go/fury
+cd go/fory
# run test
go test -v
# run xlang test
@@ -88,7 +88,7 @@ go test -v fury_xlang_test.go
- go 1.13+
-### Build Fury Rust
+### Build Fory Rust
```bash
cd rust
@@ -104,7 +104,7 @@ cargo test
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
-### Build Fury JavaScript
+### Build Fory JavaScript
```bash
cd javascript
diff --git a/docs/docs/guide/graalvm_guide.md b/docs/docs/guide/graalvm_guide.md
index e55bcb6a..f693b9a4 100644
--- a/docs/docs/guide/graalvm_guide.md
+++ b/docs/docs/guide/graalvm_guide.md
@@ -25,33 +25,33 @@ GraalVM `native image` can compile java code into native code ahead to build fas
The native image doesn't have a JIT compiler to compile bytecode into machine code, and doesn't support
reflection unless configure reflection file.
-Fury runs on GraalVM native image pretty well. Fury generates all serializer code for `Fury JIT framework` and `MethodHandle/LambdaMetafactory` at graalvm build time. Then use those generated code for serialization at runtime without
+Fory runs on GraalVM native image pretty well. Fory generates all serializer code for `Fory JIT framework` and `MethodHandle/LambdaMetafactory` at graalvm build time. Then use those generated code for serialization at runtime without
any extra cost, the performance is great.
-In order to use Fury on graalvm native image, you must create Fury as an **static** field of a class, and **register** all classes at
+In order to use Fory on graalvm native image, you must create Fory as an **static** field of a class, and **register** all classes at
the enclosing class initialize time. Then configure `native-image.properties` under
`resources/META-INF/native-image/$xxx/native-image.propertie` to tell graalvm to init the class at native image
-build time. For example, here we configure `org.apache.fury.graalvm.Example` class be init at build time:
+build time. For example, here we configure `org.apache.fory.graalvm.Example` class be init at build time:
```properties
-Args = --initialize-at-build-time=org.apache.fury.graalvm.Example
+Args = --initialize-at-build-time=org.apache.fory.graalvm.Example
```
-Another benefit using fury is that you don't have to configure [reflection json](https://www.graalvm.org/latest/reference-manual/native-image/metadata/#specifying-reflection-metadata-in-json) and
+Another benefit using fory is that you don't have to configure [reflection json](https://www.graalvm.org/latest/reference-manual/native-image/metadata/#specifying-reflection-metadata-in-json) and
[serialization json](https://www.graalvm.org/latest/reference-manual/native-image/metadata/#serialization), which is
-very tedious, cumbersome and inconvenient. When using fury, you just need to invoke
-`org.apache.fury.Fury.register(Class<?>, boolean)` for every type you want to serialize.
+very tedious, cumbersome and inconvenient. When using fory, you just need to invoke
+`org.apache.fory.Fory.register(Class<?>, boolean)` for every type you want to serialize.
-Note that Fury `asyncCompilationEnabled` option will be disabled automatically for graalvm native image since graalvm
+Note that Fory `asyncCompilationEnabled` option will be disabled automatically for graalvm native image since graalvm
native image doesn't support JIT at the image run time.
-## Not thread-safe Fury
+## Not thread-safe Fory
Example:
```java
-import org.apache.fury.Fury;
-import org.apache.fury.util.Preconditions;
+import org.apache.fory.Fory;
+import org.apache.fory.util.Preconditions;
import java.util.List;
import java.util.Map;
@@ -64,38 +64,38 @@ public class Example {
Map<String, Long> f4) {
}
- static Fury fury;
+ static Fory fory;
static {
- fury = Fury.builder().build();
+ fory = Fory.builder().build();
// register and generate serializer code.
- fury.register(Record.class, true);
+ fory.register(Record.class, true);
}
public static void main(String[] args) {
Record record = new Record(10, "abc", List.of("str1", "str2"), Map.of("k1", 10L, "k2", 20L));
System.out.println(record);
- byte[] bytes = fury.serialize(record);
- Object o = fury.deserialize(bytes);
+ byte[] bytes = fory.serialize(record);
+ Object o = fory.deserialize(bytes);
System.out.println(o);
Preconditions.checkArgument(record.equals(o));
}
}
```
-Then add `org.apache.fury.graalvm.Example` build time init to `native-image.properties` configuration:
+Then add `org.apache.fory.graalvm.Example` build time init to `native-image.properties` configuration:
```properties
-Args = --initialize-at-build-time=org.apache.fury.graalvm.Example
+Args = --initialize-at-build-time=org.apache.fory.graalvm.Example
```
-## Thread-safe Fury
+## Thread-safe Fory
```java
-import org.apache.fury.Fury;
-import org.apache.fury.ThreadLocalFury;
-import org.apache.fury.ThreadSafeFury;
-import org.apache.fury.util.Preconditions;
+import org.apache.fory.Fory;
+import org.apache.fory.ThreadLocalFury;
+import org.apache.fory.ThreadSafeFury;
+import org.apache.fory.util.Preconditions;
import java.util.List;
import java.util.Map;
@@ -108,11 +108,11 @@ public class ThreadSafeExample {
Map<String, Long> f4) {
}
- static ThreadSafeFury fury;
+ static ThreadSafeFury fory;
static {
- fury = new ThreadLocalFury(classLoader -> {
- Fury f = Fury.builder().build();
+ fory = new ThreadLocalFury(classLoader -> {
+ Fory f = Fory.builder().build();
// register and generate serializer code.
f.register(Foo.class, true);
return f;
@@ -120,46 +120,46 @@ public class ThreadSafeExample {
}
public static void main(String[] args) {
- System.out.println(fury.deserialize(fury.serialize("abc")));
- System.out.println(fury.deserialize(fury.serialize(List.of(1,2,3))));
- System.out.println(fury.deserialize(fury.serialize(Map.of("k1", 1, "k2", 2))));
+ System.out.println(fory.deserialize(fory.serialize("abc")));
+ System.out.println(fory.deserialize(fory.serialize(List.of(1,2,3))));
+ System.out.println(fory.deserialize(fory.serialize(Map.of("k1", 1, "k2", 2))));
Foo foo = new Foo(10, "abc", List.of("str1", "str2"), Map.of("k1", 10L, "k2", 20L));
System.out.println(foo);
- byte[] bytes = fury.serialize(foo);
- Object o = fury.deserialize(bytes);
+ byte[] bytes = fory.serialize(foo);
+ Object o = fory.deserialize(bytes);
System.out.println(o);
}
}
```
-Then add `org.apache.fury.graalvm.ThreadSafeExample` build time init to `native-image.properties` configuration:
+Then add `org.apache.fory.graalvm.ThreadSafeExample` build time init to `native-image.properties` configuration:
```properties
-Args = --initialize-at-build-time=org.apache.fury.graalvm.ThreadSafeExample
+Args = --initialize-at-build-time=org.apache.fory.graalvm.ThreadSafeExample
```
## Framework Integration
-For framework developers, if you want to integrate fury for serialization, you can provided a configuration file to let
+For framework developers, if you want to integrate fory for serialization, you can provided a configuration file to let
the users to list all the classes they want to serialize, then you can load those classes and invoke
-`org.apache.fury.Fury.register(Class<?>, boolean)` to register those classes in your Fury integration class, and configure that
+`org.apache.fory.Fory.register(Class<?>, boolean)` to register those classes in your Fory integration class, and configure that
class be initialized at graalvm native image build time.
## Benchmark
-Here we give two class benchmarks between Fury and Graalvm Serialization.
+Here we give two class benchmarks between Fory and Graalvm Serialization.
-When Fury compression is disabled:
+When Fory compression is disabled:
-- Struct: Fury is `46x speed, 43% size` compared to JDK.
-- Pojo: Fury is `12x speed, 56% size` compared to JDK.
+- Struct: Fory is `46x speed, 43% size` compared to JDK.
+- Pojo: Fory is `12x speed, 56% size` compared to JDK.
-When Fury compression is enabled:
+When Fory compression is enabled:
-- Struct: Fury is `24x speed, 31% size` compared to JDK.
-- Pojo: Fury is `12x speed, 48% size` compared to JDK.
+- Struct: Fory is `24x speed, 31% size` compared to JDK.
+- Pojo: Fory is `12x speed, 48% size` compared to JDK.
-See [[Benchmark.java](https://github.com/apache/fury/blob/main/integration_tests/graalvm_tests/src/main/java/org/apache/fury/graalvm/Benchmark.java)] for benchmark code.
+See [[Benchmark.java](https://github.com/apache/fory/blob/main/integration_tests/graalvm_tests/src/main/java/org/apache/fory/graalvm/Benchmark.java)] for benchmark code.
### Struct Benchmark
@@ -188,28 +188,28 @@ No compression:
```
Benchmark repeat number: 400000
-Object type: class org.apache.fury.graalvm.Struct
+Object type: class org.apache.fory.graalvm.Struct
Compress number: false
-Fury size: 76.0
+Fory size: 76.0
JDK size: 178.0
-Fury serialization took mills: 49
+Fory serialization took mills: 49
JDK serialization took mills: 2254
-Compare speed: Fury is 45.70x speed of JDK
-Compare size: Fury is 0.43x size of JDK
+Compare speed: Fory is 45.70x speed of JDK
+Compare size: Fory is 0.43x size of JDK
```
Compress number:
```
Benchmark repeat number: 400000
-Object type: class org.apache.fury.graalvm.Struct
+Object type: class org.apache.fory.graalvm.Struct
Compress number: true
-Fury size: 55.0
+Fory size: 55.0
JDK size: 178.0
-Fury serialization took mills: 130
+Fory serialization took mills: 130
JDK serialization took mills: 3161
-Compare speed: Fury is 24.16x speed of JDK
-Compare size: Fury is 0.31x size of JDK
+Compare speed: Fory is 24.16x speed of JDK
+Compare size: Fory is 0.31x size of JDK
```
### Pojo Benchmark
@@ -231,26 +231,26 @@ No compression:
```
Benchmark repeat number: 400000
-Object type: class org.apache.fury.graalvm.Foo
+Object type: class org.apache.fory.graalvm.Foo
Compress number: false
-Fury size: 541.0
+Fory size: 541.0
JDK size: 964.0
-Fury serialization took mills: 1663
+Fory serialization took mills: 1663
JDK serialization took mills: 16266
-Compare speed: Fury is 12.19x speed of JDK
-Compare size: Fury is 0.56x size of JDK
+Compare speed: Fory is 12.19x speed of JDK
+Compare size: Fory is 0.56x size of JDK
```
Compress number:
```
Benchmark repeat number: 400000
-Object type: class org.apache.fury.graalvm.Foo
+Object type: class org.apache.fory.graalvm.Foo
Compress number: true
-Fury size: 459.0
+Fory size: 459.0
JDK size: 964.0
-Fury serialization took mills: 1289
+Fory serialization took mills: 1289
JDK serialization took mills: 15069
-Compare speed: Fury is 12.11x speed of JDK
-Compare size: Fury is 0.48x size of JDK
+Compare speed: Fory is 12.11x speed of JDK
+Compare size: Fory is 0.48x size of JDK
```
diff --git a/docs/docs/guide/java_serialization_guide.md b/docs/docs/guide/java_serialization_guide.md
index b9ece7e9..74a047b3 100644
--- a/docs/docs/guide/java_serialization_guide.md
+++ b/docs/docs/guide/java_serialization_guide.md
@@ -26,75 +26,75 @@ graph serialization.
## Quick Start
-Note that fury creation is not cheap, the **fury instances should be reused between serializations** instead of creating
+Note that fory creation is not cheap, the **fory instances should be reused between serializations** instead of creating
it everytime.
-You should keep fury to a static global variable, or instance variable of some singleton object or limited objects.
+You should keep fory to a static global variable, or instance variable of some singleton object or limited objects.
-Fury for single-thread usage:
+Fory for single-thread usage:
```java
import java.util.List;
import java.util.Arrays;
-import org.apache.fury.*;
-import org.apache.fury.config.*;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
public class Example {
public static void main(String[] args) {
SomeClass object = new SomeClass();
- // Note that Fury instances should be reused between
+ // Note that Fory instances should be reused between
// multiple serializations of different objects.
- Fury fury = Fury.builder().withLanguage(Language.JAVA)
+ Fory fory = Fory.builder().withLanguage(Language.JAVA)
.requireClassRegistration(true)
.build();
// Registering types can reduce class name serialization overhead, but not mandatory.
// If class registration enabled, all custom types must be registered.
- fury.register(SomeClass.class);
- byte[] bytes = fury.serialize(object);
- System.out.println(fury.deserialize(bytes));
+ fory.register(SomeClass.class);
+ byte[] bytes = fory.serialize(object);
+ System.out.println(fory.deserialize(bytes));
}
}
```
-Fury for multiple-thread usage:
+Fory for multiple-thread usage:
```java
import java.util.List;
import java.util.Arrays;
-import org.apache.fury.*;
-import org.apache.fury.config.*;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
public class Example {
public static void main(String[] args) {
SomeClass object = new SomeClass();
- // Note that Fury instances should be reused between
+ // Note that Fory instances should be reused between
// multiple serializations of different objects.
- ThreadSafeFury fury = new ThreadLocalFury(classLoader -> {
- Fury f = Fury.builder().withLanguage(Language.JAVA)
+ ThreadSafeFury fory = new ThreadLocalFury(classLoader -> {
+ Fory f = Fory.builder().withLanguage(Language.JAVA)
.withClassLoader(classLoader).build();
f.register(SomeClass.class);
return f;
});
- byte[] bytes = fury.serialize(object);
- System.out.println(fury.deserialize(bytes));
+ byte[] bytes = fory.serialize(object);
+ System.out.println(fory.deserialize(bytes));
}
}
```
-Fury instances reuse example:
+Fory instances reuse example:
```java
import java.util.List;
import java.util.Arrays;
-import org.apache.fury.*;
-import org.apache.fury.config.*;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
public class Example {
- // reuse fury.
- private static final ThreadSafeFury fury = new ThreadLocalFury(classLoader -> {
- Fury f = Fury.builder().withLanguage(Language.JAVA)
+ // reuse fory.
+ private static final ThreadSafeFury fory = new ThreadLocalFury(classLoader -> {
+ Fory f = Fory.builder().withLanguage(Language.JAVA)
.withClassLoader(classLoader).build();
f.register(SomeClass.class);
return f;
@@ -102,8 +102,8 @@ public class Example {
public static void main(String[] args) {
SomeClass object = new SomeClass();
- byte[] bytes = fury.serialize(object);
- System.out.println(fury.deserialize(bytes));
+ byte[] bytes = fory.serialize(object);
+ System.out.println(fory.deserialize(bytes));
}
}
```
@@ -112,14 +112,14 @@ public class Example {
| Option Name | Description [...]
|-------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [...]
-| `timeRefIgnored` | Whether to ignore reference tracking of all time types registered in `TimeSerializers` and subclasses of those types when ref tracking is enabled. If ignored, ref tracking of every time type can be enabled by invoking `Fury#registerSerializer(Class, Serializer)`. For example, `fury.registerSerializer(Date.class, new DateSerializer(fury, true))`. Note that enabling ref tracking should happen before serializer codegen of any types which contain time [...]
+| `timeRefIgnored` | Whether to ignore reference tracking of all time types registered in `TimeSerializers` and subclasses of those types when ref tracking is enabled. If ignored, ref tracking of every time type can be enabled by invoking `Fory#registerSerializer(Class, Serializer)`. For example, `fory.registerSerializer(Date.class, new DateSerializer(fory, true))`. Note that enabling ref tracking should happen before serializer codegen of any types which contain time [...]
| `compressInt` | Enables or disables int compression for smaller size. [...]
| `compressLong` | Enables or disables long compression for smaller size. [...]
| `compressString` | Enables or disables string compression for smaller size. [...]
-| `classLoader` | The classloader should not be updated; Fury caches class metadata. Use `LoaderBinding` or `ThreadSafeFury` for classloader updates. [...]
+| `classLoader` | The classloader should not be updated; Fory caches class metadata. Use `LoaderBinding` or `ThreadSafeFury` for classloader updates. [...]
| `compatibleMode` | Type forward/backward compatibility config. Also Related to `checkClassVersion` config. `SCHEMA_CONSISTENT`: Class schema must be consistent between serialization peer and deserialization peer. `COMPATIBLE`: Class schema can be different between serialization peer and deserialization peer. They can add/delete fields independently. [See more](#class-inconsistency-and-class-version-check). [...]
-| `checkClassVersion` | Determines whether to check the consistency of the class schema. If enabled, Fury checks, writes, and checks consistency using the `classVersionHash`. It will be automatically disabled when `CompatibleMode#COMPATIBLE` is enabled. Disabling is not recommended unless you can ensure the class won't evolve. [...]
-| `checkJdkClassSerializable` | Enables or disables checking of `Serializable` interface for classes under `java.*`. If a class under `java.*` is not `Serializable`, Fury will throw an `UnsupportedOperationException`. [...]
+| `checkClassVersion` | Determines whether to check the consistency of the class schema. If enabled, Fory checks, writes, and checks consistency using the `classVersionHash`. It will be automatically disabled when `CompatibleMode#COMPATIBLE` is enabled. Disabling is not recommended unless you can ensure the class won't evolve. [...]
+| `checkJdkClassSerializable` | Enables or disables checking of `Serializable` interface for classes under `java.*`. If a class under `java.*` is not `Serializable`, Fory will throw an `UnsupportedOperationException`. [...]
| `registerGuavaTypes` | Whether to pre-register Guava types such as `RegularImmutableMap`/`RegularImmutableList`. These types are not public API, but seem pretty stable. [...]
| `requireClassRegistration` | Disabling may allow unknown classes to be deserialized, potentially causing security risks. [...]
| `suppressClassRegistrationWarnings` | Whether to suppress class registration warnings. The warnings can be used for security audit, but may be annoying, this suppression will be enabled by default. [...]
@@ -130,17 +130,17 @@ public class Example {
| `codeGenEnabled` | Disabling may result in faster initial serialization but slower subsequent serializations. [...]
| `asyncCompilationEnabled` | If enabled, serialization uses interpreter mode first and switches to JIT serialization after async serializer JIT for a class is finished. [...]
| `scalaOptimizationEnabled` | Enables or disables Scala-specific serialization optimization. [...]
-| `copyRef` | When disabled, the copy performance will be better. But fury deep copy will ignore circular and shared reference. Same reference of an object graph will be copied into different objects in one `Fury#copy`. [...]
-| `serializeEnumByName` | When Enabled, fury serialize enum by name instead of ordinal. [...]
+| `copyRef` | When disabled, the copy performance will be better. But fory deep copy will ignore circular and shared reference. Same reference of an object graph will be copied into different objects in one `Fory#copy`. [...]
+| `serializeEnumByName` | When Enabled, fory serialize enum by name instead of ordinal. [...]
## Advanced Usage
-### Fury creation
+### Fory creation
-Single thread fury:
+Single thread fory:
```java
-Fury fury = Fury.builder()
+Fory fory = Fory.builder()
.withLanguage(Language.JAVA)
// enable reference tracking for shared/circular reference.
// Disable it will have better performance if no duplicate reference.
@@ -152,14 +152,14 @@ Fury fury = Fury.builder()
// enable async multi-threaded compilation.
.withAsyncCompilation(true)
.build();
-byte[] bytes = fury.serialize(object);
-System.out.println(fury.deserialize(bytes));
+byte[] bytes = fory.serialize(object);
+System.out.println(fory.deserialize(bytes));
```
-Thread-safe fury:
+Thread-safe fory:
```java
-ThreadSafeFury fury = Fury.builder()
+ThreadSafeFury fory = Fory.builder()
.withLanguage(Language.JAVA)
// enable reference tracking for shared/circular reference.
// Disable it will have better performance if no duplicate reference.
@@ -175,8 +175,8 @@ ThreadSafeFury fury = Fury.builder()
// enable async multi-threaded compilation.
.withAsyncCompilation(true)
.buildThreadSafeFury();
-byte[] bytes = fury.serialize(object);
-System.out.println(fury.deserialize(bytes));
+byte[] bytes = fory.serialize(object);
+System.out.println(fory.deserialize(bytes));
```
### Handling Class Schema Evolution in Serialization
@@ -185,32 +185,32 @@ In many systems, the schema of a class used for serialization may change over ti
may be added or removed. When serialization and deserialization processes use different versions of jars, the schema of
the class being deserialized may differ from the one used during serialization.
-By default, Fury serializes objects using the `CompatibleMode.SCHEMA_CONSISTENT` mode. This mode assumes that the
+By default, Fory serializes objects using the `CompatibleMode.SCHEMA_CONSISTENT` mode. This mode assumes that the
deserialization process uses the same class schema as the serialization process, minimizing payload overhead.
However, if there is a schema inconsistency, deserialization will fail.
If the schema is expected to change, to make deserialization succeed, i.e. schema forward/backward compatibility.
-Users must configure Fury to use `CompatibleMode.COMPATIBLE`. This can be done using the
+Users must configure Fory to use `CompatibleMode.COMPATIBLE`. This can be done using the
`FuryBuilder#withCompatibleMode(CompatibleMode.COMPATIBLE)` method.
In this compatible mode, deserialization can handle schema changes such as missing or extra fields, allowing it to
succeed even when the serialization and deserialization processes have different class schemas.
-Here is an example of creating Fury to support schema evolution:
+Here is an example of creating Fory to support schema evolution:
```java
-Fury fury = Fury.builder()
+Fory fory = Fory.builder()
.withCompatibleMode(CompatibleMode.COMPATIBLE)
.build();
-byte[] bytes = fury.serialize(object);
-System.out.println(fury.deserialize(bytes));
+byte[] bytes = fory.serialize(object);
+System.out.println(fory.deserialize(bytes));
```
-This compatible mode involves serializing class metadata into the serialized output. Despite Fury's use of
+This compatible mode involves serializing class metadata into the serialized output. Despite Fory's use of
sophisticated compression techniques to minimize overhead, there is still some additional space cost associated with
class metadata.
-To further reduce metadata costs, Fury introduces a class metadata sharing mechanism, which allows the metadata to be
+To further reduce metadata costs, Fory introduces a class metadata sharing mechanism, which allows the metadata to be
sent to the deserialization process only once. For more details, please refer to the [Meta Sharing](#MetaSharing)
section.
@@ -224,15 +224,15 @@ serialization before, which doesn't compress anything, then you should disable c
numbers,
the compression may bring 80% performance regression.
-For int compression, fury use 1~5 bytes for encoding. First bit in every byte indicate whether has next byte. if first
+For int compression, fory use 1~5 bytes for encoding. First bit in every byte indicate whether has next byte. if first
bit is set, then next byte will be read util first bit of next byte is unset.
-For long compression, fury support two encoding:
+For long compression, fory support two encoding:
-- Fury SLI(Small long as int) Encoding (**used by default**):
+- Fory SLI(Small long as int) Encoding (**used by default**):
- If long is in `[-1073741824, 1073741823]`, encode as 4 bytes int: `| little-endian: ((int) value) << 1 |`
- Otherwise write as 9 bytes: `| 0b1 | little-endian 8bytes long |`
-- Fury PVL(Progressive Variable-length Long) Encoding:
+- Fory PVL(Progressive Variable-length Long) Encoding:
- First bit in every byte indicate whether has next byte. if first bit is set, then next byte will be read util
first bit of next byte is unset.
- Negative number will be converted to positive number by `(v << 1) ^ (v >> 63)` to reduce cost of small negative
@@ -249,18 +249,18 @@ space savings.
Deep copy example:
```java
-Fury fury = Fury.builder().withRefCopy(true).build();
+Fory fory = Fory.builder().withRefCopy(true).build();
SomeClass a = xxx;
-SomeClass copied = fury.copy(a);
+SomeClass copied = fory.copy(a);
```
-Make fury deep copy ignore circular and shared reference, this deep copy mode will ignore circular and shared reference.
-Same reference of an object graph will be copied into different objects in one `Fury#copy`.
+Make fory deep copy ignore circular and shared reference, this deep copy mode will ignore circular and shared reference.
+Same reference of an object graph will be copied into different objects in one `Fory#copy`.
```java
-Fury fury = Fury.builder().withRefCopy(false).build();
+Fory fory = Fory.builder().withRefCopy(false).build();
SomeClass a = xxx;
-SomeClass copied = fury.copy(a);
+SomeClass copied = fory.copy(a);
```
### Implement a customized serializer
@@ -282,8 +282,8 @@ class Foo {
}
class FooSerializer extends Serializer<Foo> {
- public FooSerializer(Fury fury) {
- super(fury, Foo.class);
+ public FooSerializer(Fory fory) {
+ super(fory, Foo.class);
}
@Override
@@ -303,8 +303,8 @@ class FooSerializer extends Serializer<Foo> {
Register serializer:
```java
-Fury fury = getFury();
-fury.registerSerializer(Foo.class, new FooSerializer(fury));
+Fory fory = getFury();
+fory.registerSerializer(Foo.class, new FooSerializer(fory));
```
### Security & Class Registration
@@ -319,32 +319,32 @@ disabled.
Class registration can not only reduce security risks, but also avoid classname serialization cost.
-You can register class with API `Fury#register`.
+You can register class with API `Fory#register`.
Note that class registration order is important, serialization and deserialization peer
should have same registration order.
```java
-Fury fury = xxx;
-fury.register(SomeClass.class);
-fury.register(SomeClass1.class, 200);
+Fory fory = xxx;
+fory.register(SomeClass.class);
+fory.register(SomeClass1.class, 200);
```
If you invoke `FuryBuilder#requireClassRegistration(false)` to disable class registration check,
-you can set `org.apache.fury.resolver.ClassChecker` by `ClassResolver#setClassChecker` to control which classes are
+you can set `org.apache.fory.resolver.ClassChecker` by `ClassResolver#setClassChecker` to control which classes are
allowed
for serialization. For example, you can allow classes started with `org.example.*` by:
```java
-Fury fury = xxx;
-fury.getClassResolver().setClassChecker(
+Fory fory = xxx;
+fory.getClassResolver().setClassChecker(
(classResolver, className) -> className.startsWith("org.example."));
```
```java
AllowListChecker checker = new AllowListChecker(AllowListChecker.CheckLevel.STRICT);
-ThreadSafeFury fury = new ThreadLocalFury(classLoader -> {
- Fury f = Fury.builder().requireClassRegistration(true).withClassLoader(classLoader).build();
+ThreadSafeFury fory = new ThreadLocalFury(classLoader -> {
+ Fory f = Fory.builder().requireClassRegistration(true).withClassLoader(classLoader).build();
f.getClassResolver().setClassChecker(checker);
checker.addListener(f.getClassResolver());
return f;
@@ -352,7 +352,7 @@ ThreadSafeFury fury = new ThreadLocalFury(classLoader -> {
checker.allowClass("org.example.*");
```
-Fury also provided a `org.apache.fury.resolver.AllowListChecker` which is allowed/disallowed list based checker to
+Fory also provided a `org.apache.fory.resolver.AllowListChecker` which is allowed/disallowed list based checker to
simplify
the customization of class check mechanism. You can use this checker or implement more sophisticated checker by
yourself.
@@ -364,7 +364,7 @@ of type id is complex. In such cases, registering class by name using API
`register(Class<?> cls, String namespace, String typeName)` is recommended.
```java
-fury.register(Foo.class, "demo", "Foo");
+fory.register(Foo.class, "demo", "Foo");
```
If there are no duplicate name for type, `namespace` can be left as empty to reduce serialized size.
@@ -374,73 +374,73 @@ class by id**
### Serializer Registration
-You can also register a custom serializer for a class by `Fury#registerSerializer` API.
+You can also register a custom serializer for a class by `Fory#registerSerializer` API.
Or implement `java.io.Externalizable` for a class.
### Zero-Copy Serialization
```java
-import org.apache.fury.*;
-import org.apache.fury.config.*;
-import org.apache.fury.serializer.BufferObject;
-import org.apache.fury.memory.MemoryBuffer;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
+import org.apache.fory.serializer.BufferObject;
+import org.apache.fory.memory.MemoryBuffer;
import java.util.*;
import java.util.stream.Collectors;
public class ZeroCopyExample {
- // Note that fury instance should be reused instead of creation every time.
- static Fury fury = Fury.builder()
+ // Note that fory instance should be reused instead of creation every time.
+ static Fory fory = Fory.builder()
.withLanguage(Language.JAVA)
.build();
- // mvn exec:java -Dexec.mainClass="io.ray.fury.examples.ZeroCopyExample"
+ // mvn exec:java -Dexec.mainClass="io.ray.fory.examples.ZeroCopyExample"
public static void main(String[] args) {
List<Object> list = Arrays.asList("str", new byte[1000], new int[100], new double[100]);
Collection<BufferObject> bufferObjects = new ArrayList<>();
- byte[] bytes = fury.serialize(list, e -> !bufferObjects.add(e));
+ byte[] bytes = fory.serialize(list, e -> !bufferObjects.add(e));
List<MemoryBuffer> buffers = bufferObjects.stream()
.map(BufferObject::toBuffer).collect(Collectors.toList());
- System.out.println(fury.deserialize(bytes, buffers));
+ System.out.println(fory.deserialize(bytes, buffers));
}
}
```
### Meta Sharing
-Fury supports share type metadata (class name, field name, final field type information, etc.) between multiple
+Fory supports share type metadata (class name, field name, final field type information, etc.) between multiple
serializations in a context (ex. TCP connection), and this information will be sent to the peer during the first
serialization in the context. Based on this metadata, the peer can rebuild the same deserializer, which avoids
transmitting metadata for subsequent serializations and reduces network traffic pressure and supports type
forward/backward compatibility automatically.
```java
-// Fury.builder()
+// Fory.builder()
// .withLanguage(Language.JAVA)
// .withRefTracking(false)
// // share meta across serialization.
// .withMetaContextShare(true)
-// Not thread-safe fury.
+// Not thread-safe fory.
MetaContext context = xxx;
-fury.getSerializationContext().setMetaContext(context);
-byte[] bytes = fury.serialize(o);
-// Not thread-safe fury.
+fory.getSerializationContext().setMetaContext(context);
+byte[] bytes = fory.serialize(o);
+// Not thread-safe fory.
MetaContext context = xxx;
-fury.getSerializationContext().setMetaContext(context);
-fury.deserialize(bytes);
+fory.getSerializationContext().setMetaContext(context);
+fory.deserialize(bytes);
-// Thread-safe fury
-fury.setClassLoader(beanA.getClass().getClassLoader());
-byte[] serialized = fury.execute(
+// Thread-safe fory
+fory.setClassLoader(beanA.getClass().getClassLoader());
+byte[] serialized = fory.execute(
f -> {
f.getSerializationContext().setMetaContext(context);
return f.serialize(beanA);
}
);
-// thread-safe fury
-fury.setClassLoader(beanA.getClass().getClassLoader());
-Object newObj = fury.execute(
+// thread-safe fory
+fory.setClassLoader(beanA.getClass().getClassLoader());
+Object newObj = fory.execute(
f -> {
f.getSerializationContext().setMetaContext(context);
return f.deserialize(serialized);
@@ -450,9 +450,9 @@ Object newObj = fury.execute(
### Deserialize non-existent classes
-Fury support deserializing non-existent classes, this feature can be enabled
-by `FuryBuilder#deserializeNonexistentClass(true)`. When enabled, and metadata sharing enabled, Fury will store
-the deserialized data of this type in a lazy subclass of Map. By using the lazy map implemented by Fury, the rebalance
+Fory support deserializing non-existent classes, this feature can be enabled
+by `FuryBuilder#deserializeNonexistentClass(true)`. When enabled, and metadata sharing enabled, Fory will store
+the deserialized data of this type in a lazy subclass of Map. By using the lazy map implemented by Fory, the rebalance
cost of filling map during deserialization can be avoided, which further improves performance. If this data is sent to
another process and the class exists in this process, the data will be deserialized into the object of this type without
losing any information.
@@ -462,14 +462,14 @@ returned.
### Coping/Mapping object from one type to another type
-Fury support mapping object from one type to another type.
+Fory support mapping object from one type to another type.
> Notes:
>
> 1. This mapping will execute a deep copy, all mapped fields are serialized into binary and
deserialized from that binary to map into another type.
-> 2. All struct types must be registered with same ID, otherwise Fury can not mapping to correct struct type.
- > Be careful when you use `Fury#register(Class)`, because fury will allocate an auto-grown ID which might be
- > inconsistent if you register classes with different order between Fury instance.
+> 2. All struct types must be registered with same ID, otherwise Fory can not mapping to correct struct type.
+ > Be careful when you use `Fory#register(Class)`, because fory will allocate an auto-grown ID which might be
+ > inconsistent if you register classes with different order between Fory instance.
```java
public class StructMappingExample {
@@ -489,9 +489,9 @@ public class StructMappingExample {
double f3;
}
- static ThreadSafeFury fury1 = Fury.builder()
+ static ThreadSafeFury fury1 = Fory.builder()
.withCompatibleMode(CompatibleMode.COMPATIBLE).buildThreadSafeFury();
- static ThreadSafeFury fury2 = Fury.builder()
+ static ThreadSafeFury fury2 = Fory.builder()
.withCompatibleMode(CompatibleMode.COMPATIBLE).buildThreadSafeFury();
static {
@@ -516,37 +516,37 @@ public class StructMappingExample {
### JDK migration
If you use jdk serialization before, and you can't upgrade your client and server at the same time, which is common for
-online application. Fury provided an util method `org.apache.fury.serializer.JavaSerializer.serializedByJDK` to check
+online application. Fory provided an util method `org.apache.fory.serializer.JavaSerializer.serializedByJDK` to check
whether
the binary are generated by jdk serialization, you use following pattern to make exiting serialization protocol-aware,
-then upgrade serialization to fury in an async rolling-up way:
+then upgrade serialization to fory in an async rolling-up way:
```java
if (JavaSerializer.serializedByJDK(bytes)) {
ObjectInputStream objectInputStream=xxx;
return objectInputStream.readObject();
} else {
- return fury.deserialize(bytes);
+ return fory.deserialize(bytes);
}
```
-### Upgrade fury
+### Upgrade fory
-Currently binary compatibility is ensured for minor versions only. For example, if you are using fury`v0.2.0`, binary
+Currently binary compatibility is ensured for minor versions only. For example, if you are using fory`v0.2.0`, binary
compatibility will
-be provided if you upgrade to fury `v0.2.1`. But if upgrade to fury `v0.4.1`, no binary compatibility are ensured.
-Most of the time there is no need to upgrade fury to newer major version, the current version is fast and compact
+be provided if you upgrade to fory `v0.2.1`. But if upgrade to fory `v0.4.1`, no binary compatibility are ensured.
+Most of the time there is no need to upgrade fory to newer major version, the current version is fast and compact
enough,
and we provide some minor fix for recent older versions.
-But if you do want to upgrade fury for better performance and smaller size, you need to write fury version as header to
+But if you do want to upgrade fory for better performance and smaller size, you need to write fory version as header to
serialized data
using code like following to keep binary compatibility:
```java
MemoryBuffer buffer = xxx;
buffer.writeVarInt32(2);
-fury.serialize(buffer, obj);
+fory.serialize(buffer, obj);
```
Then for deserialization, you need:
@@ -554,27 +554,27 @@ Then for deserialization, you need:
```java
MemoryBuffer buffer = xxx;
int furyVersion = buffer.readVarInt32();
-Fury fury = getFury(furyVersion);
-fury.deserialize(buffer);
+Fory fory = getFury(furyVersion);
+fory.deserialize(buffer);
```
-`getFury` is a method to load corresponding fury, you can shade and relocate different version of fury to different
-package, and load fury by version.
+`getFury` is a method to load corresponding fory, you can shade and relocate different version of fory to different
+package, and load fory by version.
-If you upgrade fury by minor version, or you won't have data serialized by older fury, you can upgrade fury directly,
+If you upgrade fory by minor version, or you won't have data serialized by older fory, you can upgrade fory directly,
no need to `versioning` the data.
## Trouble shooting
### Class inconsistency and class version check
-If you create fury without setting `CompatibleMode` to `org.apache.fury.config.CompatibleMode.COMPATIBLE`, and you got a
+If you create fory without setting `CompatibleMode` to `org.apache.fory.config.CompatibleMode.COMPATIBLE`, and you got a
strange
serialization error, it may be caused by class inconsistency between serialization peer and deserialization peer.
-In such cases, you can invoke `FuryBuilder#withClassVersionCheck` to create fury to validate it, if deserialization
-throws `org.apache.fury.exception.ClassNotCompatibleException`, it shows class are inconsistent, and you should create
-fury with
+In such cases, you can invoke `FuryBuilder#withClassVersionCheck` to create fory to validate it, if deserialization
+throws `org.apache.fory.exception.ClassNotCompatibleException`, it shows class are inconsistent, and you should create
+fory with
`FuryBuilder#withCompaibleMode(CompatibleMode.COMPATIBLE)`.
`CompatibleMode.COMPATIBLE` has more performance and space cost, do not set it by default if your classes are always
@@ -582,8 +582,8 @@ consistent between serialization and deserialization.
### Deserialize POJO into another type
-Fury allows you to serialize one POJO and deserialize it into a different POJO. The different POJO means the schema inconsistency. Users must to configure Fury with
-`CompatibleMode` set to `org.apache.fury.config.CompatibleMode.COMPATIBLE`.
+Fory allows you to serialize one POJO and deserialize it into a different POJO. The different POJO means the schema inconsistency. Users must to configure Fory with
+`CompatibleMode` set to `org.apache.fory.config.CompatibleMode.COMPATIBLE`.
```java
public class DeserializeIntoType {
@@ -603,26 +603,26 @@ public class DeserializeIntoType {
double f3;
}
- static ThreadSafeFury fury = Fury.builder()
+ static ThreadSafeFury fory = Fory.builder()
.withCompatibleMode(CompatibleMode.COMPATIBLE).buildThreadSafeFury();
public static void main(String[] args) {
Struct1 struct1 = new Struct1(10, "abc");
- byte[] data = fury.serializeJavaObject(struct1);
- Struct2 struct2 = (Struct2) fury.deserializeJavaObject(bytes, Struct2.class);
+ byte[] data = fory.serializeJavaObject(struct1);
+ Struct2 struct2 = (Struct2) fory.deserializeJavaObject(bytes, Struct2.class);
}
}
```
### Use wrong API for deserialization
-If you serialize an object by invoking `Fury#serialize`, you should invoke `Fury#deserialize` for deserialization
+If you serialize an object by invoking `Fory#serialize`, you should invoke `Fory#deserialize` for deserialization
instead of
-`Fury#deserializeJavaObject`.
+`Fory#deserializeJavaObject`.
-If you serialize an object by invoking `Fury#serializeJavaObject`, you should invoke `Fury#deserializeJavaObject` for
-deserialization instead of `Fury#deserializeJavaObjectAndClass`/`Fury#deserialize`.
+If you serialize an object by invoking `Fory#serializeJavaObject`, you should invoke `Fory#deserializeJavaObject` for
+deserialization instead of `Fory#deserializeJavaObjectAndClass`/`Fory#deserialize`.
-If you serialize an object by invoking `Fury#serializeJavaObjectAndClass`, you should
-invoke `Fury#deserializeJavaObjectAndClass` for deserialization instead
-of `Fury#deserializeJavaObject`/`Fury#deserialize`.
+If you serialize an object by invoking `Fory#serializeJavaObjectAndClass`, you should
+invoke `Fory#deserializeJavaObjectAndClass` for deserialization instead
+of `Fory#deserializeJavaObject`/`Fory#deserialize`.
diff --git a/docs/docs/guide/row_format_guide.md b/docs/docs/guide/row_format_guide.md
index e8de148f..dd5ebd38 100644
--- a/docs/docs/guide/row_format_guide.md
+++ b/docs/docs/guide/row_format_guide.md
@@ -101,7 +101,7 @@ print(f"pickle end: {datetime.datetime.now()}")
### Apache Arrow Support
-Fury Format also supports automatic conversion from/to Arrow Table/RecordBatch.
+Fory Format also supports automatic conversion from/to Arrow Table/RecordBatch.
Java:
diff --git a/docs/docs/guide/scala_guide.md b/docs/docs/guide/scala_guide.md
index 31a9d3ec..8b3db153 100644
--- a/docs/docs/guide/scala_guide.md
+++ b/docs/docs/guide/scala_guide.md
@@ -19,7 +19,7 @@ license: |
limitations under the License.
---
-Fury supports all scala object serialization:
+Fory supports all scala object serialization:
- `case` class serialization supported
- `pojo/bean` class serialization supported
@@ -31,16 +31,16 @@ Scala 2 and 3 are both supported.
## Install
-To add a dependency on Fury scala for scala 2 with sbt, use the following:
+To add a dependency on Fory scala for scala 2 with sbt, use the following:
```sbt
-libraryDependencies += "org.apache.fury" % "fury-scala_2.13" % "0.10.3"
+libraryDependencies += "org.apache.fory" % "fory-scala_2.13" % "0.10.3"
```
-To add a dependency on Fury scala for scala 3 with sbt, use the following:
+To add a dependency on Fory scala for scala 3 with sbt, use the following:
```sbt
-libraryDependencies += "org.apache.fury" % "fury-scala_3" % "0.10.3"
+libraryDependencies += "org.apache.fory" % "fory-scala_3" % "0.10.3"
```
## Quict Start
@@ -50,56 +50,56 @@ case class Person(name: String, id: Long, github: String)
case class Point(x : Int, y : Int, z : Int)
object ScalaExample {
- val fury: Fury = Fury.builder().withScalaOptimizationEnabled(true).build()
- // Register optimized fury serializers for scala
- ScalaSerializers.registerSerializers(fury)
- fury.register(classOf[Person])
- fury.register(classOf[Point])
+ val fory: Fory = Fory.builder().withScalaOptimizationEnabled(true).build()
+ // Register optimized fory serializers for scala
+ ScalaSerializers.registerSerializers(fory)
+ fory.register(classOf[Person])
+ fory.register(classOf[Point])
def main(args: Array[String]): Unit = {
val p = Person("Shawn Yang", 1, "https://github.com/chaokunyang")
- println(fury.deserialize(fury.serialize(p)))
- println(fury.deserialize(fury.serialize(Point(1, 2, 3))))
+ println(fory.deserialize(fory.serialize(p)))
+ println(fory.deserialize(fory.serialize(Point(1, 2, 3))))
}
}
```
-## Fury creation
+## Fory creation
-When using fury for scala serialization, you should create fury at least with following options:
+When using fory for scala serialization, you should create fory at least with following options:
```scala
-import org.apache.fury.Fury
-import org.apache.fury.serializer.scala.ScalaSerializers
+import org.apache.fory.Fory
+import org.apache.fory.serializer.scala.ScalaSerializers
-val fury = Fury.builder().withScalaOptimizationEnabled(true).build()
+val fory = Fory.builder().withScalaOptimizationEnabled(true).build()
-// Register optimized fury serializers for scala
-ScalaSerializers.registerSerializers(fury)
+// Register optimized fory serializers for scala
+ScalaSerializers.registerSerializers(fory)
```
Depending on the object types you serialize, you may need to register some scala internal types:
```scala
-fury.register(Class.forName("scala.Enumeration.Val"))
+fory.register(Class.forName("scala.Enumeration.Val"))
```
If you want to avoid such registration, you can disable class registration by `FuryBuilder#requireClassRegistration(false)`.
Note that this option allow to deserialize objects unknown types, more flexible but may be insecure if the classes contains malicious code.
-And circular references are common in scala, `Reference tracking` should be enabled by `FuryBuilder#withRefTracking(true)`. If you don't enable reference tracking, [StackOverflowError](https://github.com/apache/fury/issues/1032) may happen for some scala versions when serializing scala Enumeration.
+And circular references are common in scala, `Reference tracking` should be enabled by `FuryBuilder#withRefTracking(true)`. If you don't enable reference tracking, [StackOverflowError](https://github.com/apache/fory/issues/1032) may happen for some scala versions when serializing scala Enumeration.
-Note that fury instance should be shared between multiple serialization, the creation of fury instance is not cheap.
+Note that fory instance should be shared between multiple serialization, the creation of fory instance is not cheap.
-If you use shared fury instance across multiple threads, you should create `ThreadSafeFury` instead by `FuryBuilder#buildThreadSafeFury()` instead.
+If you use shared fory instance across multiple threads, you should create `ThreadSafeFury` instead by `FuryBuilder#buildThreadSafeFury()` instead.
## Serialize case object
```scala
case class Person(github: String, age: Int, id: Long)
val p = Person("https://github.com/chaokunyang", 18, 1)
-println(fury.deserialize(fury.serialize(p)))
-println(fury.deserializeJavaObject(fury.serializeJavaObject(p)))
+println(fory.deserialize(fory.serialize(p)))
+println(fory.deserializeJavaObject(fory.serializeJavaObject(p)))
```
## Serialize pojo
@@ -108,7 +108,7 @@ println(fury.deserializeJavaObject(fury.serializeJavaObject(p)))
class Foo(f1: Int, f2: String) {
override def toString: String = s"Foo($f1, $f2)"
}
-println(fury.deserialize(fury.serialize(Foo(1, "chaokunyang"))))
+println(fory.deserialize(fory.serialize(Foo(1, "chaokunyang"))))
```
## Serialize object singleton
@@ -116,8 +116,8 @@ println(fury.deserialize(fury.serialize(Foo(1, "chaokunyang"))))
```scala
object singleton {
}
-val o1 = fury.deserialize(fury.serialize(singleton))
-val o2 = fury.deserialize(fury.serialize(singleton))
+val o1 = fory.deserialize(fory.serialize(singleton))
+val o2 = fory.deserialize(fory.serialize(singleton))
println(o1 == o2)
```
@@ -127,18 +127,18 @@ println(o1 == o2)
val seq = Seq(1,2)
val list = List("a", "b")
val map = Map("a" -> 1, "b" -> 2)
-println(fury.deserialize(fury.serialize(seq)))
-println(fury.deserialize(fury.serialize(list)))
-println(fury.deserialize(fury.serialize(map)))
+println(fory.deserialize(fory.serialize(seq)))
+println(fory.deserialize(fory.serialize(list)))
+println(fory.deserialize(fory.serialize(map)))
```
## Serialize Tuple
```scala
val tuple = Tuple2(100, 10000L)
-println(fury.deserialize(fury.serialize(tuple)))
+println(fory.deserialize(fory.serialize(tuple)))
val tuple = Tuple4(100, 10000L, 10000L, "str")
-println(fury.deserialize(fury.serialize(tuple)))
+println(fory.deserialize(fory.serialize(tuple)))
```
## Serialize Enum
@@ -147,7 +147,7 @@ println(fury.deserialize(fury.serialize(tuple)))
```scala
enum Color { case Red, Green, Blue }
-println(fury.deserialize(fury.serialize(Color.Green)))
+println(fory.deserialize(fory.serialize(Color.Green)))
```
### Scala2 Enum
@@ -157,14 +157,14 @@ object ColorEnum extends Enumeration {
type ColorEnum = Value
val Red, Green, Blue = Value
}
-println(fury.deserialize(fury.serialize(ColorEnum.Green)))
+println(fory.deserialize(fory.serialize(ColorEnum.Green)))
```
## Serialize Option
```scala
val opt: Option[Long] = Some(100)
-println(fury.deserialize(fury.serialize(opt)))
+println(fory.deserialize(fory.serialize(opt)))
val opt1: Option[Long] = None
-println(fury.deserialize(fury.serialize(opt1)))
+println(fory.deserialize(fory.serialize(opt1)))
```
diff --git a/docs/docs/guide/xlang_serialization_guide.md b/docs/docs/guide/xlang_serialization_guide.md
index 99bd4d1a..5d87f498 100644
--- a/docs/docs/guide/xlang_serialization_guide.md
+++ b/docs/docs/guide/xlang_serialization_guide.md
@@ -28,25 +28,25 @@ Common types can be serialized automatically: primitive numeric types, string, b
**Java**
```java
-import org.apache.fury.*;
-import org.apache.fury.config.*;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
import java.util.*;
public class Example1 {
public static void main(String[] args) {
- Fury fury = Fury.builder().withLanguage(Language.XLANG).build();
+ Fory fory = Fory.builder().withLanguage(Language.XLANG).build();
List<Object> list = ofArrayList(true, false, "str", -1.1, 1, new int[100], new double[20]);
- byte[] bytes = fury.serialize(list);
+ byte[] bytes = fory.serialize(list);
// bytes can be data serialized by other languages.
- fury.deserialize(bytes);
+ fory.deserialize(bytes);
Map<Object, Object> map = new HashMap<>();
map.put("k1", "v1");
map.put("k2", list);
map.put("k3", -1);
- bytes = fury.serialize(map);
+ bytes = fory.serialize(map);
// bytes can be data serialized by other languages.
- fury.deserialize(bytes);
+ fory.deserialize(bytes);
}
}
```
@@ -57,16 +57,16 @@ public class Example1 {
import pyfury
import numpy as np
-fury = pyfury.Fury()
+fory = pyfury.Fory()
object_list = [True, False, "str", -1.1, 1,
np.full(100, 0, dtype=np.int32), np.full(20, 0.0, dtype=np.double)]
-data = fury.serialize(object_list)
+data = fory.serialize(object_list)
# bytes can be data serialized by other languages.
-new_list = fury.deserialize(data)
+new_list = fory.deserialize(data)
object_map = {"k1": "v1", "k2": object_list, "k3": -1}
-data = fury.serialize(object_map)
+data = fory.serialize(object_map)
# bytes can be data serialized by other languages.
-new_map = fury.deserialize(data)
+new_map = fory.deserialize(data)
print(new_map)
```
@@ -75,19 +75,19 @@ print(new_map)
```go
package main
-import furygo "github.com/apache/fury/fury/go/fury"
+import furygo "github.com/apache/fory/fory/go/fory"
import "fmt"
func main() {
list := []interface{}{true, false, "str", -1.1, 1, make([]int32, 10), make([]float64, 20)}
- fury := furygo.NewFury()
- bytes, err := fury.Marshal(list)
+ fory := furygo.NewFury()
+ bytes, err := fory.Marshal(list)
if err != nil {
panic(err)
}
var newValue interface{}
// bytes can be data serialized by other languages.
- if err := fury.Unmarshal(bytes, &newValue); err != nil {
+ if err := fory.Unmarshal(bytes, &newValue); err != nil {
panic(err)
}
fmt.Println(newValue)
@@ -96,12 +96,12 @@ func main() {
"k2": list,
"k3": -1,
}
- bytes, err = fury.Marshal(dict)
+ bytes, err = fory.Marshal(dict)
if err != nil {
panic(err)
}
// bytes can be data serialized by other languages.
- if err := fury.Unmarshal(bytes, &newValue); err != nil {
+ if err := fory.Unmarshal(bytes, &newValue); err != nil {
panic(err)
}
fmt.Println(newValue)
@@ -111,7 +111,7 @@ func main() {
**JavaScript**
```javascript
-import Fury from '@furyjs/fury';
+import Fory from '@furyjs/fory';
/**
* @furyjs/hps use v8's fast-calls-api that can be called directly by jit, ensure that the version of Node is 20 or above.
@@ -120,9 +120,9 @@ import Fury from '@furyjs/fury';
**/
import hps from '@furyjs/hps';
-const fury = new Fury({ hps });
-const input = fury.serialize('hello fury');
-const result = fury.deserialize(input);
+const fory = new Fory({ hps });
+const input = fory.serialize('hello fory');
+const result = fory.deserialize(input);
console.log(result);
```
@@ -130,7 +130,7 @@ console.log(result);
```rust
use chrono::{NaiveDate, NaiveDateTime};
-use fury::{from_buffer, to_buffer, Fury};
+use fory::{from_buffer, to_buffer, Fory};
use std::collections::HashMap;
fn run() {
@@ -147,8 +147,8 @@ Serializing user-defined types needs registering the custom type using the regis
**Java**
```java
-import org.apache.fury.*;
-import org.apache.fury.config.*;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
import java.util.*;
public class Example2 {
@@ -192,14 +192,14 @@ public class Example2 {
return obj;
}
- // mvn exec:java -Dexec.mainClass="org.apache.fury.examples.Example2"
+ // mvn exec:java -Dexec.mainClass="org.apache.fory.examples.Example2"
public static void main(String[] args) {
- Fury fury = Fury.builder().withLanguage(Language.XLANG).build();
- fury.register(SomeClass1.class, "example.SomeClass1");
- fury.register(SomeClass2.class, "example.SomeClass2");
- byte[] bytes = fury.serialize(createObject());
+ Fory fory = Fory.builder().withLanguage(Language.XLANG).build();
+ fory.register(SomeClass1.class, "example.SomeClass1");
+ fory.register(SomeClass2.class, "example.SomeClass2");
+ byte[] bytes = fory.serialize(createObject());
// bytes can be data serialized by other languages.
- System.out.println(fury.deserialize(bytes));
+ System.out.println(fory.deserialize(bytes));
}
}
```
@@ -239,7 +239,7 @@ class SomeClass2:
if __name__ == "__main__":
- f = pyfury.Fury()
+ f = pyfury.Fory()
f.register_type(SomeClass1, typename="example.SomeClass1")
f.register_type(SomeClass2, typename="example.SomeClass2")
obj1 = SomeClass1(f1=True, f2={-1: 2})
@@ -267,7 +267,7 @@ if __name__ == "__main__":
```go
package main
-import furygo "github.com/apache/fury/fury/go/fury"
+import furygo "github.com/apache/fory/fory/go/fory"
import "fmt"
func main() {
@@ -283,18 +283,18 @@ func main() {
F9 float32
F10 float64
F11 []int16
- F12 fury.Int16Slice
+ F12 fory.Int16Slice
}
type SomeClas2 struct {
F1 interface{}
F2 map[int8]int32
}
- fury := furygo.NewFury()
- if err := fury.RegisterTagType("example.SomeClass1", SomeClass1{}); err != nil {
+ fory := furygo.NewFury()
+ if err := fory.RegisterTagType("example.SomeClass1", SomeClass1{}); err != nil {
panic(err)
}
- if err := fury.RegisterTagType("example.SomeClass2", SomeClass2{}); err != nil {
+ if err := fory.RegisterTagType("example.SomeClass2", SomeClass2{}); err != nil {
panic(err)
}
obj1 := &SomeClass1{}
@@ -306,21 +306,21 @@ func main() {
obj.F3 = []interface{}{"abc", "abc"}
f4 := map[int8]int32{1: 2}
obj.F4 = f4
- obj.F5 = fury.MaxInt8
- obj.F6 = fury.MaxInt16
- obj.F7 = fury.MaxInt32
- obj.F8 = fury.MaxInt64
+ obj.F5 = fory.MaxInt8
+ obj.F6 = fory.MaxInt16
+ obj.F7 = fory.MaxInt32
+ obj.F8 = fory.MaxInt64
obj.F9 = 1.0 / 2
obj.F10 = 1 / 3.0
obj.F11 = []int16{1, 2}
obj.F12 = []int16{-1, 4}
- bytes, err := fury.Marshal(obj);
+ bytes, err := fory.Marshal(obj);
if err != nil {
panic(err)
}
var newValue interface{}
// bytes can be data serialized by other languages.
- if err := fury.Unmarshal(bytes, &newValue); err != nil {
+ if err := fory.Unmarshal(bytes, &newValue); err != nil {
panic(err)
}
fmt.Println(newValue)
@@ -330,7 +330,7 @@ func main() {
**JavaScript**
```javascript
-import Fury, { Type, InternalSerializerType } from '@furyjs/fury';
+import Fory, { Type, InternalSerializerType } from '@furyjs/fory';
/**
* @furyjs/hps use v8's fast-calls-api that can be called directly by jit, ensure that the version of Node is 20 or above.
@@ -343,9 +343,9 @@ import hps from '@furyjs/hps';
const description = Type.object('example.foo', {
foo: Type.string(),
});
-const fury = new Fury({ hps });
-const { serialize, deserialize } = fury.registerSerializer(description);
-const input = serialize({ foo: 'hello fury' });
+const fory = new Fory({ hps });
+const { serialize, deserialize } = fory.registerSerializer(description);
+const input = serialize({ foo: 'hello fory' });
const result = deserialize(input);
console.log(result);
```
@@ -354,18 +354,18 @@ console.log(result);
```rust
use chrono::{NaiveDate, NaiveDateTime};
-use fury::{from_buffer, to_buffer, Fury};
+use fory::{from_buffer, to_buffer, Fory};
use std::collections::HashMap;
#[test]
fn complex_struct() {
- #[derive(Fury, Debug, PartialEq)]
+ #[derive(Fory, Debug, PartialEq)]
#[tag("example.foo2")]
struct Animal {
category: String,
}
- #[derive(Fury, Debug, PartialEq)]
+ #[derive(Fory, Debug, PartialEq)]
#[tag("example.foo")]
struct Person {
c1: Vec<u8>, // binary
@@ -416,8 +416,8 @@ Shared reference and circular reference can be serialized automatically, no dupl
**Java**
```java
-import org.apache.fury.*;
-import org.apache.fury.config.*;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
import java.util.*;
public class ReferenceExample {
@@ -435,14 +435,14 @@ public class ReferenceExample {
return obj;
}
- // mvn exec:java -Dexec.mainClass="org.apache.fury.examples.ReferenceExample"
+ // mvn exec:java -Dexec.mainClass="org.apache.fory.examples.ReferenceExample"
public static void main(String[] args) {
- Fury fury = Fury.builder().withLanguage(Language.XLANG)
+ Fory fory = Fory.builder().withLanguage(Language.XLANG)
.withRefTracking(true).build();
- fury.register(SomeClass.class, "example.SomeClass");
- byte[] bytes = fury.serialize(createObject());
+ fory.register(SomeClass.class, "example.SomeClass");
+ byte[] bytes = fory.serialize(createObject());
// bytes can be data serialized by other languages.
- System.out.println(fury.deserialize(bytes));
+ System.out.println(fory.deserialize(bytes));
}
}
```
@@ -458,14 +458,14 @@ class SomeClass:
f2: Dict[str, str]
f3: Dict[str, str]
-fury = pyfury.Fury(ref_tracking=True)
-fury.register_type(SomeClass, typename="example.SomeClass")
+fory = pyfury.Fory(ref_tracking=True)
+fory.register_type(SomeClass, typename="example.SomeClass")
obj = SomeClass()
obj.f2 = {"k1": "v1", "k2": "v2"}
obj.f1, obj.f3 = obj, obj.f2
-data = fury.serialize(obj)
+data = fory.serialize(obj)
# bytes can be data serialized by other languages.
-print(fury.deserialize(data))
+print(fory.deserialize(data))
```
**Golang**
@@ -473,7 +473,7 @@ print(fury.deserialize(data))
```go
package main
-import furygo "github.com/apache/fury/fury/go/fury"
+import furygo "github.com/apache/fory/fory/go/fory"
import "fmt"
func main() {
@@ -482,19 +482,19 @@ func main() {
F2 map[string]string
F3 map[string]string
}
- fury := furygo.NewFury(true)
- if err := fury.RegisterTagType("example.SomeClass", SomeClass{}); err != nil {
+ fory := furygo.NewFury(true)
+ if err := fory.RegisterTagType("example.SomeClass", SomeClass{}); err != nil {
panic(err)
}
value := &SomeClass{F2: map[string]string{"k1": "v1", "k2": "v2"}}
value.F3 = value.F2
value.F1 = value
- bytes, err := fury.Marshal(value)
+ bytes, err := fory.Marshal(value)
if err != nil {
}
var newValue interface{}
// bytes can be data serialized by other languages.
- if err := fury.Unmarshal(bytes, &newValue); err != nil {
+ if err := fory.Unmarshal(bytes, &newValue); err != nil {
panic(err)
}
fmt.Println(newValue)
@@ -504,7 +504,7 @@ func main() {
**JavaScript**
```javascript
-import Fury, { Type } from '@furyjs/fury';
+import Fory, { Type } from '@furyjs/fory';
/**
* @furyjs/hps use v8's fast-calls-api that can be called directly by jit, ensure that the version of Node is 20 or above.
* Experimental feature, installation success cannot be guaranteed at this moment
@@ -517,10 +517,10 @@ const description = Type.object('example.foo', {
bar: Type.object('example.foo'),
});
-const fury = new Fury({ hps });
-const { serialize, deserialize } = fury.registerSerializer(description);
+const fory = new Fory({ hps });
+const { serialize, deserialize } = fory.registerSerializer(description);
const data: any = {
- foo: 'hello fury',
+ foo: 'hello fory',
};
data.bar = data;
const input = serialize(data);
@@ -536,25 +536,25 @@ Reference cannot be implemented because of rust ownership restrictions
**Java**
```java
-import org.apache.fury.*;
-import org.apache.fury.config.*;
-import org.apache.fury.serializer.BufferObject;
-import org.apache.fury.memory.MemoryBuffer;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
+import org.apache.fory.serializer.BufferObject;
+import org.apache.fory.memory.MemoryBuffer;
import java.util.*;
import java.util.stream.Collectors;
public class ZeroCopyExample {
- // mvn exec:java -Dexec.mainClass="io.ray.fury.examples.ZeroCopyExample"
+ // mvn exec:java -Dexec.mainClass="io.ray.fory.examples.ZeroCopyExample"
public static void main(String[] args) {
- Fury fury = Fury.builder().withLanguage(Language.XLANG).build();
+ Fory fory = Fory.builder().withLanguage(Language.XLANG).build();
List<Object> list = ofArrayList("str", new byte[1000], new int[100], new double[100]);
Collection<BufferObject> bufferObjects = new ArrayList<>();
- byte[] bytes = fury.serialize(list, e -> !bufferObjects.add(e));
+ byte[] bytes = fory.serialize(list, e -> !bufferObjects.add(e));
// bytes can be data serialized by other languages.
List<MemoryBuffer> buffers = bufferObjects.stream()
.map(BufferObject::toBuffer).collect(Collectors.toList());
- System.out.println(fury.deserialize(bytes, buffers));
+ System.out.println(fory.deserialize(bytes, buffers));
}
}
```
@@ -566,14 +566,14 @@ import array
import pyfury
import numpy as np
-fury = pyfury.Fury()
+fory = pyfury.Fory()
list_ = ["str", bytes(bytearray(1000)),
array.array("i", range(100)), np.full(100, 0.0, dtype=np.double)]
serialized_objects = []
-data = fury.serialize(list_, buffer_callback=serialized_objects.append)
+data = fory.serialize(list_, buffer_callback=serialized_objects.append)
buffers = [o.to_buffer() for o in serialized_objects]
# bytes can be data serialized by other languages.
-print(fury.deserialize(data, buffers=buffers))
+print(fory.deserialize(data, buffers=buffers))
```
**Golang**
@@ -581,24 +581,24 @@ print(fury.deserialize(data, buffers=buffers))
```go
package main
-import furygo "github.com/apache/fury/fury/go/fury"
+import furygo "github.com/apache/fory/fory/go/fory"
import "fmt"
func main() {
- fury := furygo.NewFury()
+ fory := furygo.NewFury()
list := []interface{}{"str", make([]byte, 1000)}
- buf := fury.NewByteBuffer(nil)
- var bufferObjects []fury.BufferObject
- fury.Serialize(buf, list, func(o fury.BufferObject) bool {
+ buf := fory.NewByteBuffer(nil)
+ var bufferObjects []fory.BufferObject
+ fory.Serialize(buf, list, func(o fory.BufferObject) bool {
bufferObjects = append(bufferObjects, o)
return false
})
var newList []interface{}
- var buffers []*fury.ByteBuffer
+ var buffers []*fory.ByteBuffer
for _, o := range bufferObjects {
buffers = append(buffers, o.ToBuffer())
}
- if err := fury.Deserialize(buf, &newList, buffers); err != nil {
+ if err := fory.Deserialize(buf, &newList, buffers); err != nil {
panic(err)
}
fmt.Println(newList)
diff --git a/docs/docs/guide/xlang_type_mapping.md b/docs/docs/guide/xlang_type_mapping.md
index 6b77afa9..a16af460 100644
--- a/docs/docs/guide/xlang_type_mapping.md
+++ b/docs/docs/guide/xlang_type_mapping.md
@@ -27,17 +27,17 @@ Note:
## Type Mapping
-| Fury Type | Fury Type ID | Java | Python | Javascript | C++ | Golang | Rust |
+| Fory Type | Fory Type ID | Java | Python | Javascript | C++ | Golang | Rust |
|-------------------------|--------------|-----------------|-----------------------------------|-----------------|--------------------------------|------------------|------------------|
| bool | 1 | bool/Boolean | bool | Boolean | bool | bool | bool |
| int8 | 2 | byte/Byte | int/pyfury.Int8 | Type.int8() | int8_t | int8 | i8 |
| int16 | 3 | short/Short | int/pyfury.Int16 | Type.int16() | int16_t | int16 | i6 |
| int32 | 4 | int/Integer | int/pyfury.Int32 | Type.int32() | int32_t | int32 | i32 |
-| var_int32 | 5 | int/Integer | int/pyfury.VarInt32 | Type.varint32() | fury::varint32_t | fury.varint32 | fury::varint32 |
+| var_int32 | 5 | int/Integer | int/pyfury.VarInt32 | Type.varint32() | fory::varint32_t | fory.varint32 | fory::varint32 |
| int64 | 6 | long/Long | int/pyfury.Int64 | Type.int64() | int64_t | int64 | i64 |
-| var_int64 | 7 | long/Long | int/pyfury.VarInt64 | Type.varint64() | fury::varint64_t | fury.varint64 | fury::varint64 |
-| sli_int64 | 8 | long/Long | int/pyfury.SliInt64 | Type.sliint64() | fury::sliint64_t | fury.sliint64 | fury::sliint64 |
-| float16 | 9 | float/Float | float/pyfury.Float16 | Type.float16() | fury::float16_t | fury.float16 | fury::f16 |
+| var_int64 | 7 | long/Long | int/pyfury.VarInt64 | Type.varint64() | fory::varint64_t | fory.varint64 | fory::varint64 |
+| sli_int64 | 8 | long/Long | int/pyfury.SliInt64 | Type.sliint64() | fory::sliint64_t | fory.sliint64 | fory::sliint64 |
+| float16 | 9 | float/Float | float/pyfury.Float16 | Type.float16() | fory::float16_t | fory.float16 | fory::f16 |
| float32 | 10 | float/Float | float/pyfury.Float32 | Type.float32() | float | float32 | f32 |
| float64 | 11 | double/Double | float/pyfury.Float64 | Type.float64() | double | float64 | f64 |
| string | 12 | String | str | String | string | string | String/str |
@@ -50,7 +50,7 @@ Note:
| ext | 19 | pojo/record | data class / type with type hints | object | struct/class | struct | struct |
| named_ext | 20 | pojo/record | data class / type with type hints | object | struct/class | struct | struct |
| list | 21 | List/Collection | list/tuple | array | vector | slice | Vec |
-| set | 22 | Set | set | / | set | fury.Set | Set |
+| set | 22 | Set | set | / | set | fory.Set | Set |
| map | 23 | Map | dict | Map | unordered_map | map | HashMap |
| duration | 24 | Duration | timedelta | Number | duration | Duration | Duration |
| timestamp | 25 | Instant | datetime | Number | std::chrono::nanoseconds | Time | DateTime |
@@ -63,7 +63,7 @@ Note:
| int16_array | 32 | short[] | ndarray(int16) | / | `int16_t[n]/vector<T>` | `[n]int16/[]T` | `Vec<i16>` |
| int32_array | 33 | int[] | ndarray(int32) | / | `int32_t[n]/vector<T>` | `[n]int32/[]T` | `Vec<i32>` |
| int64_array | 34 | long[] | ndarray(int64) | / | `int64_t[n]/vector<T>` | `[n]int64/[]T` | `Vec<i64>` |
-| float16_array | 35 | float[] | ndarray(float16) | / | `fury::float16_t[n]/vector<T>` | `[n]float16/[]T` | `Vec<fury::f16>` |
+| float16_array | 35 | float[] | ndarray(float16) | / | `fory::float16_t[n]/vector<T>` | `[n]float16/[]T` | `Vec<fory::f16>` |
| float32_array | 36 | float[] | ndarray(float32) | / | `float[n]/vector<T>` | `[n]float32/[]T` | `Vec<f32>` |
| float64_array | 37 | double[] | ndarray(float64) | / | `double[n]/vector<T>` | `[n]float64/[]T` | `Vec<f64>` |
| arrow record batch | 38 | / | / | / | / | / | / |
@@ -73,9 +73,9 @@ Note:
Due to differences between type systems of languages, those types can't be mapped one-to-one between languages.
-If the user notices that one type on a language corresponds to multiple types in Fury type systems, for example, `long`
+If the user notices that one type on a language corresponds to multiple types in Fory type systems, for example, `long`
in java has type `int64/varint64/sliint64`, it means the language lacks some types, and the user must provide extra type
-info when using Fury.
+info when using Fory.
## Type annotation
@@ -110,7 +110,7 @@ Here is en example:
## Type wrapper
-If the type is not a field of a class, the user must wrap this type with a Fury type to pass the extra type info.
+If the type is not a field of a class, the user must wrap this type with a Fory type to pass the extra type info.
-For example, suppose Fury Java provide a `VarInt64` type, when a user invoke `fury.serialize(long_value)`, he need to
-invoke like `fury.serialize(new VarInt64(long_value))`.
+For example, suppose Fory Java provide a `VarInt64` type, when a user invoke `fory.serialize(long_value)`, he need to
+invoke like `fory.serialize(new VarInt64(long_value))`.
diff --git a/docs/docs/introduction/benchmark.md b/docs/docs/introduction/benchmark.md
index 34bce8f0..37693094 100644
--- a/docs/docs/introduction/benchmark.md
+++ b/docs/docs/introduction/benchmark.md
@@ -9,8 +9,8 @@ Different serialization frameworks are suitable for different scenarios, and ben
If you need to benchmark for your specific scenario, make sure all serialization frameworks are appropriately configured for that scenario.
Dynamic serialization frameworks supports polymorphism and reference, which has more cost compared
-to static serialization frameworks, unless it uses the jit techniques as fury did.
-Since fury will generate code at runtime, please warm up before collecting benchmark statistics.
+to static serialization frameworks, unless it uses the jit techniques as fory did.
+Since fory will generate code at runtime, please warm up before collecting benchmark statistics.
### Java Serialization
@@ -26,7 +26,7 @@ Since fury will generate code at runtime, please warm up before collecting bench
<img width="33%" alt="" src="/img/benchmarks/deserialization/bench_deserialize_MEDIA_CONTENT_from_array_tps.png" />
<img width="33%" alt="" src="/img/benchmarks/deserialization/bench_deserialize_SAMPLE_from_array_tps.png" />
-See [benchmarks](https://github.com/apache/fury/tree/main/docs/benchmarks) for more benchmarks about type forward/backward compatibility, off-heap support, zero-copy serialization.
+See [benchmarks](https://github.com/apache/fory/tree/main/docs/benchmarks) for more benchmarks about type forward/backward compatibility, off-heap support, zero-copy serialization.
### JavaScript
@@ -34,4 +34,4 @@ See [benchmarks](https://github.com/apache/fury/tree/main/docs/benchmarks) for m
The data used for this bar graph includes a complex object that has many kinds of field types, and the size of the JSON data is 3KB.
-See [benchmarks](https://github.com/apache/fury/blob/main/javascript/benchmark/index.js) for the benchmark code.
+See [benchmarks](https://github.com/apache/fory/blob/main/javascript/benchmark/index.js) for the benchmark code.
diff --git a/docs/docs/introduction/features.md b/docs/docs/introduction/features.md
index 1c03b0f9..529fe381 100644
--- a/docs/docs/introduction/features.md
+++ b/docs/docs/introduction/features.md
@@ -14,7 +14,7 @@ sidebar_position: 3
- reduce hash lookup.
- binary protocols: object graph, row format and so on.
-In addition to cross-language serialization, Fury also features at:
+In addition to cross-language serialization, Fory also features at:
- Drop-in replace Java serialization frameworks such as JDK/Kryo/Hessian without modifying any code, but 100x faster.
It can greatly improve the efficiency of high-performance RPC calls, data transfer and object persistence.
diff --git a/docs/docs/introduction/introduction.md b/docs/docs/introduction/introduction.md
index 02bdde7f..2d0ce536 100644
--- a/docs/docs/introduction/introduction.md
+++ b/docs/docs/introduction/introduction.md
@@ -4,11 +4,11 @@ title: Introduction
sidebar_position: 1
---
-Fury is a blazing fast multi-language serialization framework powered by jit(just-in-time compilation) and zero-copy.
+Fory is a blazing fast multi-language serialization framework powered by jit(just-in-time compilation) and zero-copy.
## Protocols
-Different scenarios have different serialization requirements. Fury designed and implemented
+Different scenarios have different serialization requirements. Fory designed and implemented
multiple binary protocols for those requirements:
- Cross-language object graph protocol:
@@ -20,22 +20,22 @@ multiple binary protocols for those requirements:
- Row format protocol: a cache-friendly binary random access format, supports skipping serialization and partial serialization,
and can convert to column-format automatically.
-New protocols can be added easily based on fury existing buffer, encoding, meta, codegen and other capabilities. All of those share same codebase, and the optimization for one protocol
+New protocols can be added easily based on fory existing buffer, encoding, meta, codegen and other capabilities. All of those share same codebase, and the optimization for one protocol
can be reused by another protocol.
## Compatibility
### Schema Compatibility
-Fury java object graph serialization support class schema forward/backward compatibility. The serialization peer and deserialization peer can add/delete fields independently.
+Fory java object graph serialization support class schema forward/backward compatibility. The serialization peer and deserialization peer can add/delete fields independently.
-We plan to add support cross-language serialization after [meta compression](https://github.com/apache/fury/issues/203) are finished.
+We plan to add support cross-language serialization after [meta compression](https://github.com/apache/fory/issues/203) are finished.
### Binary Compatibility
-We are still improving our protocols, binary compatibility are not ensured between fury releases for now. Please `shade` fury if you will upgrade fury in the future.
+We are still improving our protocols, binary compatibility are not ensured between fory releases for now. Please `shade` fory if you will upgrade fory in the future.
-Binary compatibility will be ensured before fury 1.0.
+Binary compatibility will be ensured before fory 1.0.
## Security
@@ -43,9 +43,9 @@ Static serialization such as row format are secure by nature. But dynamic object
For example, the deserialization may invoke `init` constructor or `equals`/`hashCode` method, if the method body contains malicious code, the system will be at risks.
-Fury provides a class registration mode option and enabled by default for this protocol, which allows deserializing trusted registered types or built-in types only for security.
+Fory provides a class registration mode option and enabled by default for this protocol, which allows deserializing trusted registered types or built-in types only for security.
-Fury provides a class registration option and enabled by default for such protocols, which allows only deserializing trusted registered types or built-in types. **Do not disable class registration or class registration checks unless you can ensure your environment is indeed secure**. We are not responsible for security if you disabled the class registration option.
+Fory provides a class registration option and enabled by default for such protocols, which allows only deserializing trusted registered types or built-in types. **Do not disable class registration or class registration checks unless you can ensure your environment is indeed secure**. We are not responsible for security if you disabled the class registration option.
## RoadMap
@@ -59,4 +59,4 @@ Fury provides a class registration option and enabled by default for such protoc
## How to Contribute
-Please read the [CONTRIBUTING](https://github.com/apache/fury/blob/main/CONTRIBUTING.md) guide for instructions on how to contribute.
+Please read the [CONTRIBUTING](https://github.com/apache/fory/blob/main/CONTRIBUTING.md) guide for instructions on how to contribute.
diff --git a/docs/docs/start/install.md b/docs/docs/start/install.md
index 9435bdac..674eff69 100644
--- a/docs/docs/start/install.md
+++ b/docs/docs/start/install.md
@@ -4,70 +4,70 @@ title: Install
sidebar_position: 0
---
-The official Apache Fury releases are provided as source artifacts.
+The official Apache Fory releases are provided as source artifacts.
-For source download, please see Fury [download](https://fury.apache.org/download) page.
+For source download, please see Fory [download](https://fory.apache.org/download) page.
## Java
-To add a dependency on Fury using Maven, use the following:
+To add a dependency on Fory using Maven, use the following:
```xml
<dependency>
- <groupId>org.apache.fury</groupId>
- <artifactId>fury-core</artifactId>
+ <groupId>org.apache.fory</groupId>
+ <artifactId>fory-core</artifactId>
<version>0.10.3</version>
</dependency>
<!-- row/arrow format support -->
<!-- <dependency>
- <groupId>org.apache.fury</groupId>
- <artifactId>fury-format</artifactId>
+ <groupId>org.apache.fory</groupId>
+ <artifactId>fory-format</artifactId>
<version>0.10.3</version>
</dependency> -->
```
## Scala
-To add a dependency on Fury scala for scala 2.13 with maven, use the following:
+To add a dependency on Fory scala for scala 2.13 with maven, use the following:
```xml
<dependency>
- <groupId>org.apache.fury</groupId>
- <artifactId>fury-scala_2.13</artifactId>
+ <groupId>org.apache.fory</groupId>
+ <artifactId>fory-scala_2.13</artifactId>
<version>0.10.3</version>
</dependency>
```
-To add a dependency on Fury scala for scala 3 with maven, use the following:
+To add a dependency on Fory scala for scala 3 with maven, use the following:
```xml
<dependency>
- <groupId>org.apache.fury</groupId>
- <artifactId>fury-scala_3</artifactId>
+ <groupId>org.apache.fory</groupId>
+ <artifactId>fory-scala_3</artifactId>
<version>0.10.3</version>
</dependency>
```
-To add a dependency on Fury scala for scala 2.13 with sbt, use the following:
+To add a dependency on Fory scala for scala 2.13 with sbt, use the following:
```sbt
-libraryDependencies += "org.apache.fury" % "fury-scala_2.13" % "0.10.3"
+libraryDependencies += "org.apache.fory" % "fory-scala_2.13" % "0.10.3"
```
-To add a dependency on Fury scala for scala 3 with sbt, use the following:
+To add a dependency on Fory scala for scala 3 with sbt, use the following:
```sbt
-libraryDependencies += "org.apache.fury" % "fury-scala_3" % "0.10.3"
+libraryDependencies += "org.apache.fory" % "fory-scala_3" % "0.10.3"
```
## Kotlin
-To add a dependency on Fury kotlin with maven, use the following:
+To add a dependency on Fory kotlin with maven, use the following:
```xml
<dependency>
- <groupId>org.apache.fury</groupId>
- <artifactId>fury-kotlin</artifactId>
+ <groupId>org.apache.fory</groupId>
+ <artifactId>fory-kotlin</artifactId>
<version>0.10.3</version>
</dependency>
```
diff --git a/docs/docs/start/usage.md b/docs/docs/start/usage.md
index ebbd4b20..c30c9aef 100644
--- a/docs/docs/start/usage.md
+++ b/docs/docs/start/usage.md
@@ -9,23 +9,23 @@ sidebar_position: 1
```java
import java.util.List;
import java.util.Arrays;
-import org.apache.fury.*;
+import org.apache.fory.*;
public class Example {
public static void main(String[] args) {
SomeClass object = new SomeClass();
- // Note that Fury instances should be reused between
+ // Note that Fory instances should be reused between
// multiple serializations of different objects.
- Fury fury = Fury.builder().withLanguage(Language.JAVA)
+ Fory fory = Fory.builder().withLanguage(Language.JAVA)
// Allow to deserialize objects unknown types,
// more flexible but less secure.
// .requireClassRegistration(false)
.build();
// Registering types can reduce class name serialization overhead, but not mandatory.
// If secure mode enabled, all custom types must be registered.
- fury.register(SomeClass.class);
- byte[] bytes = fury.serialize(object);
- System.out.println(fury.deserialize(bytes));
+ fory.register(SomeClass.class);
+ byte[] bytes = fory.serialize(object);
+ System.out.println(fory.deserialize(bytes));
}
}
```
@@ -33,23 +33,23 @@ public class Example {
## Scala Serialization
```scala
-import org.apache.fury.Fury
-import org.apache.fury.serializer.scala.ScalaSerializers
+import org.apache.fory.Fory
+import org.apache.fory.serializer.scala.ScalaSerializers
case class Person(name: String, id: Long, github: String)
case class Point(x : Int, y : Int, z : Int)
object ScalaExample {
- val fury: Fury = Fury.builder().withScalaOptimizationEnabled(true).build()
- // Register optimized fury serializers for scala
- ScalaSerializers.registerSerializers(fury)
- fury.register(classOf[Person])
- fury.register(classOf[Point])
+ val fory: Fory = Fory.builder().withScalaOptimizationEnabled(true).build()
+ // Register optimized fory serializers for scala
+ ScalaSerializers.registerSerializers(fory)
+ fory.register(classOf[Person])
+ fory.register(classOf[Point])
def main(args: Array[String]): Unit = {
val p = Person("Shawn Yang", 1, "https://github.com/chaokunyang")
- println(fury.deserialize(fury.serialize(p)))
- println(fury.deserialize(fury.serialize(Point(1, 2, 3))))
+ println(fory.deserialize(fory.serialize(p)))
+ println(fory.deserialize(fory.serialize(Point(1, 2, 3))))
}
}
```
@@ -57,24 +57,24 @@ object ScalaExample {
## Kotlin Serialization
```kotlin
-import org.apache.fury.Fury
-import org.apache.fury.ThreadSafeFury
-import org.apache.fury.serializer.kotlin.KotlinSerializers
+import org.apache.fory.Fory
+import org.apache.fory.ThreadSafeFury
+import org.apache.fory.serializer.kotlin.KotlinSerializers
data class Person(val name: String, val id: Long, val github: String)
data class Point(val x : Int, val y : Int, val z : Int)
fun main(args: Array<String>) {
- // Note: following fury init code should be executed only once in a global scope instead
+ // Note: following fory init code should be executed only once in a global scope instead
// of initializing it everytime when serialization.
- val fury: ThreadSafeFury = Fury.builder().requireClassRegistration(true).buildThreadSafeFury()
- KotlinSerializers.registerSerializers(fury)
- fury.register(Person::class.java)
- fury.register(Point::class.java)
+ val fory: ThreadSafeFury = Fory.builder().requireClassRegistration(true).buildThreadSafeFury()
+ KotlinSerializers.registerSerializers(fory)
+ fory.register(Person::class.java)
+ fory.register(Point::class.java)
val p = Person("Shawn Yang", 1, "https://github.com/chaokunyang")
- println(fury.deserialize(fury.serialize(p)))
- println(fury.deserialize(fury.serialize(Point(1, 2, 3))))
+ println(fory.deserialize(fory.serialize(p)))
+ println(fory.deserialize(fory.serialize(Point(1, 2, 3))))
}
```
@@ -84,7 +84,7 @@ fun main(args: Array<String>) {
```java
import com.google.common.collect.ImmutableMap;
-import org.apache.fury.*;
+import org.apache.fory.*;
import java.util.Map;
@@ -103,14 +103,14 @@ public class ReferenceExample {
return obj;
}
- // mvn exec:java -Dexec.mainClass="io.fury.examples.ReferenceExample"
+ // mvn exec:java -Dexec.mainClass="io.fory.examples.ReferenceExample"
public static void main(String[] args) {
- Fury fury = Fury.builder().withLanguage(Language.XLANG)
+ Fory fory = Fory.builder().withLanguage(Language.XLANG)
.withRefTracking(true).build();
- fury.register(SomeClass.class, "example.SomeClass");
- byte[] bytes = fury.serialize(createObject());
+ fory.register(SomeClass.class, "example.SomeClass");
+ byte[] bytes = fory.serialize(createObject());
// bytes can be data serialized by other languages.
- System.out.println(fury.deserialize(bytes));
+ System.out.println(fory.deserialize(bytes));
;
}
}
@@ -127,14 +127,14 @@ class SomeClass:
f2: Dict[str, str]
f3: Dict[str, str]
-fury = pyfury.Fury(ref_tracking=True)
-fury.register_class(SomeClass, "example.SomeClass")
+fory = pyfury.Fory(ref_tracking=True)
+fory.register_class(SomeClass, "example.SomeClass")
obj = SomeClass()
obj.f2 = {"k1": "v1", "k2": "v2"}
obj.f1, obj.f3 = obj, obj.f2
-data = fury.serialize(obj)
+data = fory.serialize(obj)
# bytes can be data serialized by other languages.
-print(fury.deserialize(data))
+print(fory.deserialize(data))
```
### Golang
@@ -144,7 +144,7 @@ package main
import (
"fmt"
- furygo "github.com/apache/fury/go/fury"
+ furygo "github.com/apache/fory/go/fory"
)
func main() {
@@ -153,19 +153,19 @@ func main() {
F2 map[string]string
F3 map[string]string
}
- fury := furygo.NewFury(true)
- if err := fury.RegisterTagType("example.SomeClass", SomeClass{}); err != nil {
+ fory := furygo.NewFury(true)
+ if err := fory.RegisterTagType("example.SomeClass", SomeClass{}); err != nil {
panic(err)
}
value := &SomeClass{F2: map[string]string{"k1": "v1", "k2": "v2"}}
value.F3 = value.F2
value.F1 = value
- bytes, err := fury.Marshal(value)
+ bytes, err := fory.Marshal(value)
if err != nil {
}
var newValue interface{}
// bytes can be data serialized by other languages.
- if err := fury.Unmarshal(bytes, &newValue); err != nil {
+ if err := fory.Unmarshal(bytes, &newValue); err != nil {
panic(err)
}
fmt.Println(newValue)
@@ -175,7 +175,7 @@ func main() {
### JavaScript
```typescript
-import Fury, { Type } from '@furyjs/fury';
+import Fory, { Type } from '@furyjs/fory';
/**
* @furyjs/hps use v8's fast-calls-api that can be called directly by jit, ensure that the version of Node is 20 or above.
@@ -188,9 +188,9 @@ import hps from '@furyjs/hps';
const description = Type.object('example.foo', {
foo: Type.string(),
});
-const fury = new Fury({ hps });
-const { serialize, deserialize } = fury.registerSerializer(description);
-const input = serialize({ foo: 'hello fury' });
+const fory = new Fory({ hps });
+const { serialize, deserialize } = fory.registerSerializer(description);
+const input = serialize({ foo: 'hello fory' });
const result = deserialize(input);
console.log(result);
```
@@ -198,16 +198,16 @@ console.log(result);
### Rust
```rust
-use fury::{from_buffer, to_buffer, Fury};
+use fory::{from_buffer, to_buffer, Fory};
-#[derive(Fury, Debug, PartialEq)]
+#[derive(Fory, Debug, PartialEq)]
#[tag("example.foo")]
struct Animal {
name: String,
category: String,
}
-#[derive(Fury, Debug, PartialEq)]
+#[derive(Fory, Debug, PartialEq)]
#[tag("example.bar")]
struct Person {
name: String,
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index 62cabbd0..7264cbc0 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -91,7 +91,7 @@ const config: Config = {
navbar: {
title: '',
logo: {
- alt: 'Fury Logo',
+ alt: 'Fory Logo',
src: 'img/navbar-logo.svg',
},
items: [
@@ -194,11 +194,11 @@ const config: Config = {
items: [
{
label: 'Mailing list',
- href: 'https://lists.apache.org/list.html?dev@fury.apache.org',
+ href: 'https://lists.apache.org/list.html?dev@fory.apache.org',
},
{
label: 'Slack',
- href: 'https://join.slack.com/t/fury-project/shared_invite/zt-1u8soj4qc-ieYEu7ciHOqA2mo47llS8A',
+ href: 'https://join.slack.com/t/fory-project/shared_invite/zt-1u8soj4qc-ieYEu7ciHOqA2mo47llS8A',
},
{
label: 'Twitter',
diff --git a/i18n/en-US/code.json b/i18n/en-US/code.json
index 88d8019f..5030b18b 100644
--- a/i18n/en-US/code.json
+++ b/i18n/en-US/code.json
@@ -287,7 +287,7 @@
"description": "The title for the easy to use feature"
},
"feature.easyToUse.description": {
- "message": "No need for DSL, you can use Fury effectively with your intuition.",
+ "message": "No need for DSL, you can use Fory effectively with your intuition.",
"description": "Description for the easy to use feature"
},
"feature.multiLanguages.title": {
@@ -318,4 +318,4 @@
"message": "Archive",
"description": "The page & hero description of the blog archive page"
}
-}
+}
\ No newline at end of file
diff --git a/i18n/en-us/docusaurus-plugin-content-blog/authors.yml b/i18n/en-us/docusaurus-plugin-content-blog/authors.yml
index bf4ae431..cd639637 100644
--- a/i18n/en-us/docusaurus-plugin-content-blog/authors.yml
+++ b/i18n/en-us/docusaurus-plugin-content-blog/authors.yml
@@ -1,23 +1,23 @@
chaokunyang:
name: Shawn Yang
- title: Apache Fury PPMC Member
+ title: Apache Fory PPMC Member
url: https://github.com/chaokunyang
image_url: https://github.com/chaokunyang.png
wangweipeng:
name: Weipeng Wang
- title: Apache Fury PPMC Member
+ title: Apache Fory PPMC Member
url: https://github.com/theweipeng
image_url: https://github.com/theweipeng.png
liangliangsui:
name: Liangliang Sui
- title: Apache Fury Committer
+ title: Apache Fory Committer
url: https://github.com/LiangliangSui
image_url: https://github.com/LiangliangSui.png
pandalee99:
name: Pan Li
- title: Apache Fury Committer
+ title: Apache Fory Committer
url: https://github.com/pandalee99
image_url: https://github.com/pandalee99.png
diff --git a/i18n/en-us/docusaurus-theme-classic/footer.json b/i18n/en-us/docusaurus-theme-classic/footer.json
index 37b9e370..db2088ef 100644
--- a/i18n/en-us/docusaurus-theme-classic/footer.json
+++ b/i18n/en-us/docusaurus-theme-classic/footer.json
@@ -13,11 +13,11 @@
},
"link.item.label.Mailing list": {
"message": "Mailing list",
- "description": "The label of footer link with label=Mailing list linking to https://lists.apache.org/list.html?dev@fury.apache.org"
+ "description": "The label of footer link with label=Mailing list linking to https://lists.apache.org/list.html?dev@fory.apache.org"
},
"link.item.label.Slack": {
"message": "Slack",
- "description": "The label of footer link with label=Slack linking to https://join.slack.com/t/fury-project/shared_invite/zt-1u8soj4qc-ieYEu7ciHOqA2mo47llS8A"
+ "description": "The label of footer link with label=Slack linking to https://join.slack.com/t/fory-project/shared_invite/zt-1u8soj4qc-ieYEu7ciHOqA2mo47llS8A"
},
"link.item.label.Twitter": {
"message": "Twitter",
@@ -35,20 +35,20 @@
"message": "Benchmark",
"description": "The label of footer link with label=Benchmark linking to /docs/docs/introduction/benchmark"
},
- "link.item.label.Fury": {
- "message": "Fury",
- "description": "The label of footer link with label=Fury linking to https://github.com/apache/fury"
+ "link.item.label.Fory": {
+ "message": "Fory",
+ "description": "The label of footer link with label=Fory linking to https://github.com/apache/fory"
},
"link.item.label.Website": {
"message": "Website",
- "description": "The label of footer link with label=Website linking to https://github.com/apache/fury-site"
+ "description": "The label of footer link with label=Website linking to https://github.com/apache/fory-site"
},
"copyright": {
- "message": "<div>\n <p> Apache Fury is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it [...]
+ "message": "<div>\n <p> Apache Fory is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it [...]
"description": "The footer copyright"
},
"logo.alt": {
"message": "Apache Incubator logo",
"description": "The alt text of footer logo"
}
-}
+}
\ No newline at end of file
diff --git a/i18n/en-us/docusaurus-theme-classic/navbar.json b/i18n/en-us/docusaurus-theme-classic/navbar.json
index 29b485bf..aae9f7fa 100644
--- a/i18n/en-us/docusaurus-theme-classic/navbar.json
+++ b/i18n/en-us/docusaurus-theme-classic/navbar.json
@@ -1,6 +1,6 @@
{
"logo.alt": {
- "message": "Fury Logo",
+ "message": "Fory Logo",
"description": "The alt text of navbar logo"
},
"item.label.Start": {
@@ -75,4 +75,4 @@
"message": "Users",
"description": "Navbar item with label Users"
}
-}
+}
\ No newline at end of file
diff --git a/i18n/zh-CN/code.json b/i18n/zh-CN/code.json
index 95cf5b6e..25849448 100644
--- a/i18n/zh-CN/code.json
+++ b/i18n/zh-CN/code.json
@@ -275,11 +275,11 @@
"description": "The unlisted content banner message"
},
"homepage.hero.title": {
- "message": "Apache Fury(孵化中)",
+ "message": "Apache Fory(孵化中)",
"description": "The title displayed in the homepage hero section"
},
"homepage.hero.subtitle": {
- "message": "Apache Fury(孵化中)一个基于动态代码生成和零拷贝技术的多语言序列化框架,实现了无需IDL编译的原生多语言编程范式,并提供最高170倍的性能和极致的易用性。大幅提升大规模数据传输、高并发RPC、分布式系统、云原生中间件等场景的性能,显著降低多语言系统的研发成本。",
+ "message": "Apache Fory(孵化中)一个基于动态代码生成和零拷贝技术的多语言序列化框架,实现了无需IDL编译的原生多语言编程范式,并提供最高170倍的性能和极致的易用性。大幅提升大规模数据传输、高并发RPC、分布式系统、云原生中间件等场景的性能,显著降低多语言系统的研发成本。",
"description": "The subtitle displayed in the homepage hero section"
},
"homepage.githubButton": {
diff --git a/i18n/zh-CN/docusaurus-plugin-content-blog/authors.yml b/i18n/zh-CN/docusaurus-plugin-content-blog/authors.yml
index bf4ae431..cd639637 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-blog/authors.yml
+++ b/i18n/zh-CN/docusaurus-plugin-content-blog/authors.yml
@@ -1,23 +1,23 @@
chaokunyang:
name: Shawn Yang
- title: Apache Fury PPMC Member
+ title: Apache Fory PPMC Member
url: https://github.com/chaokunyang
image_url: https://github.com/chaokunyang.png
wangweipeng:
name: Weipeng Wang
- title: Apache Fury PPMC Member
+ title: Apache Fory PPMC Member
url: https://github.com/theweipeng
image_url: https://github.com/theweipeng.png
liangliangsui:
name: Liangliang Sui
- title: Apache Fury Committer
+ title: Apache Fory Committer
url: https://github.com/LiangliangSui
image_url: https://github.com/LiangliangSui.png
pandalee99:
name: Pan Li
- title: Apache Fury Committer
+ title: Apache Fory Committer
url: https://github.com/pandalee99
image_url: https://github.com/pandalee99.png
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/community.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/community.md
index eb3d4ed1..0534a9f3 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/community.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/community.md
@@ -4,10 +4,10 @@ sidebar_position: 0
id: community
---
-Apache Fury 是一个由社区驱动的开源项目,项目的蓬勃发展得益于社区贡献。
+Apache Fory 是一个由社区驱动的开源项目,项目的蓬勃发展得益于社区贡献。
我们邀请您根据自己的意愿尽可能地参与项目。以下是几种贡献方式:
-- 使用 Apache Fury 并分享使用体验和反馈问题;
+- 使用 Apache Fory 并分享使用体验和反馈问题;
- 为项目提供最佳实践示例;
- 报告错误并修复;
- 贡献代码和参与文档建设。
@@ -16,8 +16,8 @@ Apache Fury 是一个由社区驱动的开源项目,项目的蓬勃发展得
| 邮件列表 | 描述 | 订阅 | 取消订阅 | 发送邮件 | 活动 |
|-------------------------|---------------------------------------------|-------------------------------------------------------|-----------------------------------------------------------|------------------------------------|-----------------------------------------------------------------------|
-| dev@fury.apache.org | 开发相关讨论 | [订阅](mailto:dev-subscribe@fury.apache.org) | [取消订阅](mailto:dev-unsubscribe@fury.apache.org) | [发送邮件](mailto:dev@fury.apache.org) | [邮件列表活动](https://lists.apache.org/list.html?dev@fury.apache.org) |
-| commits@fury.apache.org | 仓库的所有 commits | [订阅](mailto:commits-subscribe@fury.apache.org) | [取消订阅](mailto:commits-unsubscribe@fury.apache.org) | 只读的邮件列表 | [邮件列表活动](https://lists.apache.org/list.html?commits@fury.apache.org) |
+| dev@fory.apache.org | 开发相关讨论 | [订阅](mailto:dev-subscribe@fory.apache.org) | [取消订阅](mailto:dev-unsubscribe@fory.apache.org) | [发送邮件](mailto:dev@fory.apache.org) | [邮件列表活动](https://lists.apache.org/list.html?dev@fory.apache.org) |
+| commits@fory.apache.org | 仓库的所有 commits | [订阅](mailto:commits-subscribe@fory.apache.org) | [取消订阅](mailto:commits-unsubscribe@fory.apache.org) | 只读的邮件列表 | [邮件列表活动](https://lists.apache.org/list.html?commits@fory.apache.org) |
在尝试发送邮件之前,请确保订阅上述的邮件列表。
@@ -27,7 +27,7 @@ Apache Fury 是一个由社区驱动的开源项目,项目的蓬勃发展得
要发送邮件至邮件列表,请先通过以下方式订阅:
-1. 发送电子邮件至 listname-subscribe@fury.apache.org,并相应替换 `listname`;
+1. 发送电子邮件至 listname-subscribe@fory.apache.org,并相应替换 `listname`;
2. 回复您将收到的确认电子邮件,保持邮件主题行完整;
3. 然后您将收到一封欢迎的电子邮件,订阅成功。
@@ -40,7 +40,7 @@ Apache Fury 是一个由社区驱动的开源项目,项目的蓬勃发展得
## Slack
-您可以加入[Slack 上的 Apache Fury™ 社区](https://join.slack.com/t/fury-project/shared_invite/zt-1u8soj4qc-ieYEu7ciHOqA2mo47llS8A)。
+您可以加入[Slack 上的 Apache Fory™ 社区](https://join.slack.com/t/fory-project/shared_invite/zt-1u8soj4qc-ieYEu7ciHOqA2mo47llS8A)。
这里有一些社区规则:
@@ -54,32 +54,32 @@ Apache Fury 是一个由社区驱动的开源项目,项目的蓬勃发展得
我们使用 GitHub Issues 来跟踪所有 Issues:
-- 代码相关问题:https://github.com/apache/fury/issues
-- 网站相关问题:https://github.com/apache/fury-site/issues
+- 代码相关问题:https://github.com/apache/fory/issues
+- 网站相关问题:https://github.com/apache/fory-site/issues
您需要有一个 [GitHub 帐户](https://github.com/signup) 才能创建问题。
-如果您没有 [GitHub 帐户](https://github.com/signup),您可以发送电子邮件至 dev@fury.apache.org。
+如果您没有 [GitHub 帐户](https://github.com/signup),您可以发送电子邮件至 dev@fory.apache.org。
### 报告 Bug
您在报告 Bug 之前,应该:
- 验证该 Bug 确实存在;
-- 搜索 [Issue List](https://github.com/apache/fury/issues) 以确保不存在相关 Bug。
-- 在 Issue List 中创建 [bug 报告](https://github.com/apache/fury/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml)。
-- 如果可能的话,深入研究 Apache Fury 的源代码,并针对您报告的 Bug 提交补丁,这有助于快速修复 Bug。
+- 搜索 [Issue List](https://github.com/apache/fory/issues) 以确保不存在相关 Bug。
+- 在 Issue List 中创建 [bug 报告](https://github.com/apache/fory/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml)。
+- 如果可能的话,深入研究 Apache Fory 的源代码,并针对您报告的 Bug 提交补丁,这有助于快速修复 Bug。
### 报告安全漏洞
-Apache Fury 是 [Apache 软件基金会](https://apache.org/) 的一个项目,遵循 [ASF 漏洞处理流程](https://apache.org/security/#vulnerability-handling)。
+Apache Fory 是 [Apache 软件基金会](https://apache.org/) 的一个项目,遵循 [ASF 漏洞处理流程](https://apache.org/security/#vulnerability-handling)。
要报告您发现的新的安全漏洞,请遵循 [ASF 漏洞报告流程](https://apache.org/security/#reporting-a-vulnerability),该流程解释了如何私下向社区维护者发送详细的漏洞信息。
### New Feature
-欢迎您增强功能或新功能建议。提案越具体、越合理,您在 Fury 社区的影响力就越大。它有可能在之后版本发布。
+欢迎您增强功能或新功能建议。提案越具体、越合理,您在 Fory 社区的影响力就越大。它有可能在之后版本发布。
### 项目源代码
-- Fury Core 存储库:https://github.com/apache/fury
-- Fury 网站存储库:https://github.com/apache/fury-site
+- Fory Core 存储库:https://github.com/apache/fory
+- Fory 网站存储库:https://github.com/apache/fory-site
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/how_to_join_community.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/how_to_join_community.md
index 78cf2ec7..5453cb97 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/how_to_join_community.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/how_to_join_community.md
@@ -1,16 +1,16 @@
---
-title: 如何加入 Fury 社区
+title: 如何加入 Fory 社区
sidebar_position: 0
id: how_to_join_community
---
-首先为你选择加入开源贡献行列的行为点赞 👍🏻。再者,十分感谢你选择参与到 Fury 社区,为这个开源项目做出贡献。
+首先为你选择加入开源贡献行列的行为点赞 👍🏻。再者,十分感谢你选择参与到 Fory 社区,为这个开源项目做出贡献。
-## Fury 贡献指南
+## Fory 贡献指南
-Fury 团队通常在 github 上进行开发和 issue 维护,请打开 [Github 网站](https://github.com/),点击右上角 `Sign up` 按钮,注册一个自己的账号,开启你开源之旅的第一步。
+Fory 团队通常在 github 上进行开发和 issue 维护,请打开 [Github 网站](https://github.com/),点击右上角 `Sign up` 按钮,注册一个自己的账号,开启你开源之旅的第一步。
-在 [Fury仓库](https://github.com/apache/fury)中,我们有一份面向所有开源贡献者的[指南](https://fury.apache.org/zh-CN/docs/docs/community/),介绍了有关版本管理、分支管理等内容,**请花几分钟时间阅读了解一下**。
+在 [Fury仓库](https://github.com/apache/fory)中,我们有一份面向所有开源贡献者的[指南](https://fory.apache.org/zh-CN/docs/docs/community/),介绍了有关版本管理、分支管理等内容,**请花几分钟时间阅读了解一下**。
## 你的第一个 Pull Request
@@ -25,28 +25,28 @@ Git 是一种版本控制系统,用于跟踪和管理软件开发项目中的
### Step1:Fork 项目
-- 首先需要 fork 这个项目,进入[Fury项目页面](https://github.com/apache/fury),点击右上角的 Fork 按钮
-- 你的 github 帐号中会出现 xxxx(你的 github 用户名)/fury 这个项目
-- 在本地电脑上使用以下命令: 得到一个 fury 文件夹
+- 首先需要 fork 这个项目,进入[Fury项目页面](https://github.com/apache/fory),点击右上角的 Fork 按钮
+- 你的 github 帐号中会出现 xxxx(你的 github 用户名)/fory 这个项目
+- 在本地电脑上使用以下命令: 得到一个 fory 文件夹
```
// ssh
-git clone git@github.com:xxxx(你的github用户名)/fury.git
+git clone git@github.com:xxxx(你的github用户名)/fory.git
// https
-git clone https://github.com/xxxx(你的github用户名)/fury.git
+git clone https://github.com/xxxx(你的github用户名)/fory.git
```
### Step2:获取项目代码
-- 进入 fury 文件夹,添加 fury 的远程地址
+- 进入 fory 文件夹,添加 fory 的远程地址
```
-git remote add upstream https://github.com/apache/fury.git
+git remote add upstream https://github.com/apache/fory.git
```
### Step3:创建分支
-- 好了,现在可以开始贡献我们的代码了。fury 默认分支为 main 分支。无论是功能开发、bug 修复、文档编写,都请新建立一个分支,再合并到 main 分支上。使用以下代码创建分支:
+- 好了,现在可以开始贡献我们的代码了。fory 默认分支为 main 分支。无论是功能开发、bug 修复、文档编写,都请新建立一个分支,再合并到 main 分支上。使用以下代码创建分支:
```shell
// 创建功能开发分支
@@ -91,18 +91,18 @@ git push origin docs/add-java-demo
相关信息填写完成后,点击 Create pull request 提交。
-## **轻松步入 Fury 开源贡献之旅**
+## **轻松步入 Fory 开源贡献之旅**
"**good first issue**" 是一个在开源社区常见的标签,这个标签的目的是帮助新贡献者找到适合入门的问题。
-Fury 的入门问题,你可以通过 [issue 列表](https://github.com/apache/fury/issues)查看。
+Fory 的入门问题,你可以通过 [issue 列表](https://github.com/apache/fory/issues)查看。
如果你当前**有时间和意愿**参与到社区贡献,可以在 issue 里看一看 **good first issue**,选择一个感兴趣、适合自己的认领。
-## 拥抱 Apache Fury 社区
+## 拥抱 Apache Fory 社区
-在你为 Fury 贡献代码之余,我们鼓励你参与其他让社区更加繁荣的事情,比如:
+在你为 Fory 贡献代码之余,我们鼓励你参与其他让社区更加繁荣的事情,比如:
- 为项目的发展、功能规划 等提建议。
-- 创作文章、视频,开办讲座来宣传 Fury。
+- 创作文章、视频,开办讲座来宣传 Fory。
- 撰写推广计划,同团队一同执行。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/how_to_release.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/how_to_release.md
index 4d1d040a..6a33e953 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/how_to_release.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/how_to_release.md
@@ -4,7 +4,7 @@ sidebar_position: 0
id: how_to_release
---
-本文主要介绍如何发布新版本的 Apache Fury。
+本文主要介绍如何发布新版本的 Apache Fory。
## 介绍
@@ -139,14 +139,14 @@ gpg --keyserver keys.openpgp.org --send-key <key-id> # e.g., 1E2CDAE4C08AD7D694D
#### 将 GPG 公钥添加到项目 KEYS 文件中
-发布分支的 svn 仓库是:https://dist.apache.org/repos/dist/release/incubator/fury
+发布分支的 svn 仓库是:https://dist.apache.org/repos/dist/release/incubator/fory
请在发布分支的 KEYS 中添加公钥:
```bash
-svn co https://dist.apache.org/repos/dist/release/incubator/fury fury-dist
+svn co https://dist.apache.org/repos/dist/release/incubator/fory fory-dist
# As this step will copy all the versions, it will take some time. If the network is broken, please use svn cleanup to delete the lock before re-execute it.
-cd fury-dist
+cd fory-dist
(gpg --list-sigs YOUR_NAME@apache.org && gpg --export --armor YOUR_NAME@apache.org) >> KEYS # Append your key to the KEYS file
svn add . # It is not needed if the KEYS document exists before.
svn ci -m "add gpg key for YOUR_NAME" # Later on, if you are asked to enter a username and password, just use your apache username and password.
@@ -171,24 +171,24 @@ svn ci -m "add gpg key for YOUR_NAME" # Later on, if you are asked to enter a us
## 开始有关发布的讨论
-通过发送电子邮件至以下地址发起有关下一个版本的讨论:dev@fury.apache.org:
+通过发送电子邮件至以下地址发起有关下一个版本的讨论:dev@fory.apache.org:
标题:
```
-[DISCUSS] Release Apache Fury(incubating) ${release_version}
+[DISCUSS] Release Apache Fory(incubating) ${release_version}
```
内容:
```
-Hello, Apache Fury(incubating) Community,
+Hello, Apache Fory(incubating) Community,
-This is a call for a discussion to release Apache Fury(incubating) version ${release_version}.
+This is a call for a discussion to release Apache Fory(incubating) version ${release_version}.
The change lists about this release:
-https://github.com/apache/fury/compare/v0.4.1...v0.5.0
+https://github.com/apache/fory/compare/v0.4.1...v0.5.0
Please leave your comments here about this release plan. We will bump the version in repo and start the release process after the discussion.
@@ -205,24 +205,24 @@ ${name}
- 创建一个名为 `releases-0.5.0`
- 通过执行命令将版本 `$version` 升级到 `python ci/release.py bump_version -l all -version $version`
-- 执行 git commit 并将分支推送到 `git@github.com:apache/fury.git`
-- 通过 `git tag v0.5.0-rc1` 创建一个新标签,然后将其推送到 `git@github.com:apache/fury.git`
+- 执行 git commit 并将分支推送到 `git@github.com:apache/fory.git`
+- 通过 `git tag v0.5.0-rc1` 创建一个新标签,然后将其推送到 `git@github.com:apache/fory.git`
### 构建 artifacts 并上传到 SVN dist/dev 仓库
首先,您需要通过 `python ci/release.py build -v $version` 构建预发布 artifacts。
-然后您需要把它上传到 svn dist repo。dev 分支的 dist 仓库地址是:https://dist.apache.org/repos/dist/dev/incubator/fury
+然后您需要把它上传到 svn dist repo。dev 分支的 dist 仓库地址是:https://dist.apache.org/repos/dist/dev/incubator/fory
```bash
# As this step will copy all the versions, it will take some time. If the network is broken, please use svn cleanup to delete the lock before re-execute it.
-svn co https://dist.apache.org/repos/dist/dev/incubator/fury fury-dist-dev
+svn co https://dist.apache.org/repos/dist/dev/incubator/fory fory-dist-dev
```
然后,上传项目:
```bash
-cd fury-dist-dev
+cd fory-dist-dev
# create a directory named by version
mkdir ${release_version}-${rc_version}
# copy source code and signature package to the versioned directory
@@ -234,10 +234,10 @@ svn add ${release_version}-${rc_version}
# check svn status
svn status
# commit to SVN remote server
-svn commit -m "Prepare for fury ${release_version}-${rc_version}"
+svn commit -m "Prepare for fory ${release_version}-${rc_version}"
```
-访问 https://dist.apache.org/repos/dist/dev/incubator/fury/ 以检查 artifacts 是否正确上传。
+访问 https://dist.apache.org/repos/dist/dev/incubator/fory/ 以检查 artifacts 是否正确上传。
### 如果出现问题该怎么办
@@ -245,52 +245,52 @@ svn commit -m "Prepare for fury ${release_version}-${rc_version}"
## 投票
-作为一个孵化项目,新版本发布需要 Apache Fury 社区和孵化器社区的投票。
+作为一个孵化项目,新版本发布需要 Apache Fory 社区和孵化器社区的投票。
-- release_version:Fury 的版本,如 0.5.0。
+- release_version:Fory 的版本,如 0.5.0。
- release_candidate_version:投票的版本,如 0.5.0-rc1。
-- maven_artifact_number:Maven 暂存 artifacts 的数量。如 1001. 具体来说,可以通过搜索 “fury” 来找到 maven_artifact_number https://repository.apache.org/#stagingRepositories.
+- maven_artifact_number:Maven 暂存 artifacts 的数量。如 1001. 具体来说,可以通过搜索 “fory” 来找到 maven_artifact_number https://repository.apache.org/#stagingRepositories.
-### Fury 社区投票
+### Fory 社区投票
-发送电子邮件至 Fury Community:dev@fury.apache.org:
+发送电子邮件至 Fory Community:dev@fory.apache.org:
标题:
```
-[VOTE] Release Apache Fury(incubating) v${release_version}-${rc_version}
+[VOTE] Release Apache Fory(incubating) v${release_version}-${rc_version}
```
内容:
```
-Hello, Apache Fury(incubating) Community:
+Hello, Apache Fory(incubating) Community:
-This is a call for vote to release Apache Fury(Incubating)
+This is a call for vote to release Apache Fory(Incubating)
version release-0.5.0-rc3.
-Apache Fury(incubating) - A blazingly fast multi-language serialization
+Apache Fory(incubating) - A blazingly fast multi-language serialization
framework powered by JIT and zero-copy.
The change lists about this release:
-https://github.com/apache/fury/compare/v0.4.1...v0.5.0-rc3
+https://github.com/apache/fory/compare/v0.4.1...v0.5.0-rc3
The release candidates:
-https://dist.apache.org/repos/dist/dev/incubator/fury/0.5.0-rc3/
+https://dist.apache.org/repos/dist/dev/incubator/fory/0.5.0-rc3/
The maven staging for this release:
https://repository.apache.org/content/repositories/orgapachefury-1003
Git tag for the release:
-https://github.com/apache/fury/releases/tag/v0.5.0-rc3
+https://github.com/apache/fory/releases/tag/v0.5.0-rc3
Git commit for the release:
-https://github.com/apache/fury/commit/fae06330edd049bb960536e978a45b97bca66faf
+https://github.com/apache/fory/commit/fae06330edd049bb960536e978a45b97bca66faf
The artifacts signed with PGP key [5E580BA4], corresponding to
[chaokunyang@apache.org], that can be found in keys file:
-https://downloads.apache.org/incubator/fury/KEYS
+https://downloads.apache.org/incubator/fory/KEYS
The vote will be open for at least 72 hours until the necessary number of votes are reached.
@@ -300,11 +300,11 @@ Please vote accordingly:
[ ] +0 no opinion
[ ] -1 disapprove with the reason
-To learn more about Fury, please see https://fury.apache.org/
+To learn more about Fory, please see https://fory.apache.org/
*Valid check is a requirement for a vote. *Checklist for reference:
-[ ] Download Fury is valid.
+[ ] Download Fory is valid.
[ ] Checksums and PGP signatures are valid.
[ ] Source code distributions have correct names matching the current release.
[ ] LICENSE and NOTICE files are correct.
@@ -315,26 +315,26 @@ To learn more about Fury, please see https://fury.apache.org/
More detail checklist please refer:
https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist
-How to Build and Test, please refer to: https://github.com/apache/fury/blob/main/docs/guide/DEVELOPMENT.md
+How to Build and Test, please refer to: https://github.com/apache/fory/blob/main/docs/guide/DEVELOPMENT.md
Thanks,
Chaokun Yang
```
-在至少获得 3 + 1 且具有约束力的投票(来自 Fury Podling PMC 成员和提交者)并没有收到否决票之后,发布投票结果:
+在至少获得 3 + 1 且具有约束力的投票(来自 Fory Podling PMC 成员和提交者)并没有收到否决票之后,发布投票结果:
标题:
```
-[RESULT][VOTE] Release Apache Fury(incubating) v${release_version}-${rc_version}
+[RESULT][VOTE] Release Apache Fory(incubating) v${release_version}-${rc_version}
```
内容:
```
-Hello, Apache Fury(incubating) Community,
+Hello, Apache Fory(incubating) Community,
-The vote to release Apache Fury(Incubating) v${release_version}-${rc_version} has passed.
+The vote to release Apache Fory(Incubating) v${release_version}-${rc_version} has passed.
The vote PASSED with 3 binding +1 and 0 -1 vote:
@@ -358,7 +358,7 @@ ${name}
标题:
```
-[VOTE] Release Apache Fury(incubating) v${release_version}-${rc_version}
+[VOTE] Release Apache Fory(incubating) v${release_version}-${rc_version}
```
内容:
@@ -366,38 +366,38 @@ ${name}
```
Hello everyone,
-This is a call for the vote to release Apache Fury(Incubating) v${release_version}-${rc_version}.
+This is a call for the vote to release Apache Fory(Incubating) v${release_version}-${rc_version}.
-The Apache Fury community has voted and approved the release of Apache
-Fury(incubating) v${release_version}-${rc_version}. We now kindly request the IPMC members
+The Apache Fory community has voted and approved the release of Apache
+Fory(incubating) v${release_version}-${rc_version}. We now kindly request the IPMC members
review and vote for this release.
-Apache Fury(incubating) - A blazingly fast multi-language serialization
+Apache Fory(incubating) - A blazingly fast multi-language serialization
framework powered by JIT and zero-copy.
-Fury community vote thread:
+Fory community vote thread:
${community_vote_thread_url}
Vote result thread:
${community_vote_result_thread_url}
The release candidate:
-https://dist.apache.org/repos/dist/dev/incubator/fury/${release_version}-${rc_version}/
+https://dist.apache.org/repos/dist/dev/incubator/fory/${release_version}-${rc_version}/
This release has been signed with a PGP available here:
-https://downloads.apache.org/incubator/fury/KEYS
+https://downloads.apache.org/incubator/fory/KEYS
Git tag for the release:
-https://github.com/apache/fury/releases/tag/v${release_version}-${rc_version}/
+https://github.com/apache/fory/releases/tag/v${release_version}-${rc_version}/
Git commit for the release:
-https://github.com/apache/fury/commit/$xxx
+https://github.com/apache/fory/commit/$xxx
Maven staging repo:
https://repository.apache.org/content/repositories/orgapachefury-${maven_artifact_number}/
How to Build and Test, please refer to:
-https://github.com/apache/fury/blob/main/docs/guide/DEVELOPMENT.md
+https://github.com/apache/fory/blob/main/docs/guide/DEVELOPMENT.md
Please download, verify, and test.
@@ -407,7 +407,7 @@ The VOTE will pass after 3 binding approve.
[ ] +0 no opinion
[ ] -1 disapprove with the reason
-To learn more about apache fury, please see https://fury.apache.org/
+To learn more about apache fory, please see https://fory.apache.org/
Checklist for reference:
@@ -428,7 +428,7 @@ ${name}
标题:
```
-[RESULT][VOTE] Release Apache Fury(incubating) v${release_version}-${rc_version}
+[RESULT][VOTE] Release Apache Fory(incubating) v${release_version}-${rc_version}
```
内容:
@@ -436,7 +436,7 @@ ${name}
```
Hi Incubator PMC,
-The vote to release Apache Fury(incubating) v${release_version}-${rc_version} has passed with
+The vote to release Apache Fory(incubating) v${release_version}-${rc_version} has passed with
4 +1 binding and 3 +1 non-binding votes, no +0 or -1 votes.
Binding votes:
@@ -466,16 +466,16 @@ We will proceed with publishing the approved artifacts and sending out the annou
### 将 artifacts 发布到 SVN 发布目录
-- release_version:Fury 的发布版本,如 0.5.0
+- release_version:Fory 的发布版本,如 0.5.0
- release_candidate_version:投票版本,如 0.5.0-rc1
```bash
-svn mv https://dist.apache.org/repos/dist/dev/incubator/fury/${release_version}-${rc_version} https://dist.apache.org/repos/dist/release/incubator/fury/${release_version} -m "Release fury ${release_version}"
+svn mv https://dist.apache.org/repos/dist/dev/incubator/fory/${release_version}-${rc_version} https://dist.apache.org/repos/dist/release/incubator/fory/${release_version} -m "Release fory ${release_version}"
```
-### 更改 Fury 网站下载链接
+### 更改 Fory 网站下载链接
-提交 PR 到 https://github.com/apache/fury-site 仓库更新 Fury 版本,[下载页面](https://fury.apache.org/download)
+提交 PR 到 https://github.com/apache/fory-site 仓库更新 Fory 版本,[下载页面](https://fory.apache.org/download)
### 发布 Maven artifacts
@@ -485,12 +485,12 @@ svn mv https://dist.apache.org/repos/dist/dev/incubator/fury/${release_version}-
### 发送公告
-将发布公告发送给 dev@fury.apache.org 并且抄送给 announce@apache.org。
+将发布公告发送给 dev@fory.apache.org 并且抄送给 announce@apache.org。
标题:
```
-[ANNOUNCE] Release Apache Fury(incubating) ${release_version}
+[ANNOUNCE] Release Apache Fory(incubating) ${release_version}
```
内容:
@@ -498,29 +498,29 @@ svn mv https://dist.apache.org/repos/dist/dev/incubator/fury/${release_version}-
```
Hi all,
-The Apache Fury(incubating) community is pleased to announce
-that Apache Fury(incubating) {release_version} has been released!
+The Apache Fory(incubating) community is pleased to announce
+that Apache Fory(incubating) {release_version} has been released!
-Apache Fury(incubating) - A blazingly fast multi-language serialization
+Apache Fory(incubating) - A blazingly fast multi-language serialization
framework powered by JIT and zero-copy.
The release notes are available here:
-https://github.com/apache/fury/releases/tag/v${release_version}
+https://github.com/apache/fory/releases/tag/v${release_version}
For the complete list of changes:
-https://github.com/apache/fury/compare/v0.5.0...v${release_version}
+https://github.com/apache/fory/compare/v0.5.0...v${release_version}
-Apache Fury website: https://fury.apache.org/
+Apache Fory website: https://fory.apache.org/
-Download Links: https://fury.apache.org/download
+Download Links: https://fory.apache.org/download
-Fury Resources:
-- Fury github repo: https://github.com/apache/fury
-- Issue: https://github.com/apache/fury/issues
-- Mailing list: dev@fury.apache.org
+Fory Resources:
+- Fory github repo: https://github.com/apache/fory
+- Issue: https://github.com/apache/fory/issues
+- Mailing list: dev@fory.apache.org
We are looking to grow our community and welcome new contributors. If
-you are interested in contributing to Fury, please contact us on the
+you are interested in contributing to Fory, please contact us on the
mailing list or on GitHub. We will be happy to help you get started.
------------------
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/how_to_verify.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/how_to_verify.md
index 668063ca..aa4c92de 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/how_to_verify.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/community/how_to_verify.md
@@ -1,18 +1,18 @@
---
-title: 如何验证 Apache Fury
+title: 如何验证 Apache Fory
sidebar_position: 0
id: how_to_verify
---
详细的 Check list,请参阅[Apache 检查清单](https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist)
-## 下载 Apache Fury
+## 下载 Apache Fory
```bash
# If there is svn locally, you can clone to the local
-svn co https://dist.apache.org/repos/dist/dev/incubator/fury/${release_version}-${rc_version}/
+svn co https://dist.apache.org/repos/dist/dev/incubator/fory/${release_version}-${rc_version}/
# You can download the material file directly
-wget https://dist.apache.org/repos/dist/dev/incubator/fury/${release_version}-${rc_version}/xxx.xxx
+wget https://dist.apache.org/repos/dist/dev/incubator/fory/${release_version}-${rc_version}/xxx.xxx
```
## 验证 checksums 和 signatures
@@ -27,10 +27,10 @@ yum install gnupg
brew install gnupg
```
-之后,导入 Apache Fury release manager 的公钥:
+之后,导入 Apache Fory release manager 的公钥:
```bash
-curl https://downloads.apache.org/incubator/fury/KEYS > KEYS # Download KEYS
+curl https://downloads.apache.org/incubator/fory/KEYS > KEYS # Download KEYS
gpg --import KEYS # Import KEYS to local
# Then, trust the public key:
gpg --edit-key <KEY-used-in-this-version> # Edit the key(mentioned in vote email)
@@ -81,7 +81,7 @@ for i in *.tar.gz; do echo $i; gpg --verify $i.asc $i; done
如果出现如下内容,则表示签名正确:
```bash
-apache-fury-incubating-0.5.0-src.tar.gz
+apache-fory-incubating-0.5.0-src.tar.gz
gpg: Signature made Wed 17 Apr 2024 11:49:45 PM CST using RSA key ID 5E580BA4
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
@@ -98,21 +98,21 @@ for i in *.tar.gz; do echo $i; sha512sum --check $i.sha512; done
它应该输出如下内容:
```bash
-apache-fury-incubating-0.5.0-src.tar.gz
-apache-fury-incubating-0.5.0-src.tar.gz: OK
+apache-fory-incubating-0.5.0-src.tar.gz
+apache-fory-incubating-0.5.0-src.tar.gz: OK
```
## 检查源码包中的文件
-解压缩 `apache-fury-${release_version}-${rc_version}-src.tar.gz` 并检查以下内容:
+解压缩 `apache-fory-${release_version}-${rc_version}-src.tar.gz` 并检查以下内容:
- 此存储库 LICENSE 和 NOTICE 文件是正确的;
- 如有必要,所有文件都有 ASF 许可证标头;
- 项目构建通过。
-## 检查 fury-java 的 Maven artifacts
+## 检查 fory-java 的 Maven artifacts
-下载 Apache Fury:https://repository.apache.org/content/repositories/orgapachefury-${maven_artifact_number}/.
+下载 Apache Fory:https://repository.apache.org/content/repositories/orgapachefury-${maven_artifact_number}/.
您可以检查以下内容:
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/01-Introduction/benchmark.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/01-Introduction/benchmark.md
index 5723f9e5..ccd892f3 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/01-Introduction/benchmark.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/01-Introduction/benchmark.md
@@ -8,7 +8,7 @@ sidebar_position: 2
如果你需要针对特定场景进行 benchmark 测试,请确保所有序列化框架都针对该场景进行了适当配置。
-动态序列化框架支持多态和引用,与静态序列化框架相比,这成本更高,除非它和 Fury 一样使用 JIT 技术。由于 Fury 在运行时生成代码,因此请在收集 benchmark 统计信息之前进行系统预热。
+动态序列化框架支持多态和引用,与静态序列化框架相比,这成本更高,除非它和 Fory 一样使用 JIT 技术。由于 Fory 在运行时生成代码,因此请在收集 benchmark 统计信息之前进行系统预热。
### Java 序列化
@@ -24,7 +24,7 @@ sidebar_position: 2
<img width="33%" alt="" src="/img/benchmarks/deserialization/bench_deserialize_MEDIA_CONTENT_from_array_tps.png" />
<img width="33%" alt="" src="/img/benchmarks/deserialization/bench_deserialize_SAMPLE_from_array_tps.png" />
-有关类型向前/向后兼容性、堆外支持、零拷贝序列化的更多 benchmark 测试,请参见[benchmarks](https://github.com/apache/fury/tree/main/docs/benchmarks)
+有关类型向前/向后兼容性、堆外支持、零拷贝序列化的更多 benchmark 测试,请参见[benchmarks](https://github.com/apache/fory/tree/main/docs/benchmarks)
### JavaScript
@@ -32,4 +32,4 @@ sidebar_position: 2
该条形图使用的数据包括一个具有多种字段类型的复杂对象,JSON 数据的大小为 3KB。
-请参阅[benchmarks](https://github.com/apache/fury/blob/main/javascript/benchmark/index.js) benchmark 测试代码。
+请参阅[benchmarks](https://github.com/apache/fory/blob/main/javascript/benchmark/index.js) benchmark 测试代码。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/01-Introduction/features.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/01-Introduction/features.md
index f4c467b9..8ea2141a 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/01-Introduction/features.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/01-Introduction/features.md
@@ -13,7 +13,7 @@ sidebar_position: 3
- 减少哈希查找;
- 二进制协议:对象图、行格式等。
-除了跨语言序列化之外,Fury 还支持以下功能:
+除了跨语言序列化之外,Fory 还支持以下功能:
- 直接替换 Java 序列化框架,如 JDK/Kryo/Hessian,无需修改任何代码,但速度提高 100 倍。它可以大大提高 RPC 调用性能、数据传输和对象持久化的效率;
- JDK 序列化 100% 兼容,原生支持 java 自定义序列化 `writeObject/readObject/writeReplace/readResolve/readObjectNoData`;
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/01-Introduction/introduction.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/01-Introduction/introduction.md
index e20d40dc..c7936de4 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/01-Introduction/introduction.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/01-Introduction/introduction.md
@@ -1,14 +1,14 @@
---
id: introduction
-title: Apache Fury 介绍
+title: Apache Fory 介绍
sidebar_position: 1
---
-Fury 是一个由 JIT(即时编译)和零拷贝提供支持的高性能多语言序列化框架。
+Fory 是一个由 JIT(即时编译)和零拷贝提供支持的高性能多语言序列化框架。
## 协议
-不同的场景有不同的序列化要求。Apache Fury 为这些需求设计并实现了多个二进制协议:
+不同的场景有不同的序列化要求。Apache Fory 为这些需求设计并实现了多个二进制协议:
- 跨语言对象图协议:
- 跨语言自动序列化任何对象,无需 IDL 定义、Schema编译和对象协议转换;
@@ -17,21 +17,21 @@ Fury 是一个由 JIT(即时编译)和零拷贝提供支持的高性能多
- 原生 java/python 对象图协议:基于单一语言的完整类型系统进行高度优化;
- 行格式协议:缓存友好的二进制随机访问格式,支持跳过序列化和部分序列化,并且可以自动转换为列格式。
-基于 fury 现有的 buffer、encoding、meta、codegen 和其他功能,可以轻松添加新协议。所有这些协议都共享相同的代码库,并且一个协议的优化可以被另一个协议重用。
+基于 fory 现有的 buffer、encoding、meta、codegen 和其他功能,可以轻松添加新协议。所有这些协议都共享相同的代码库,并且一个协议的优化可以被另一个协议重用。
## 兼容性
### Schema兼容性
-Apache Fury java 对象图序列化支持类架构向前/向后兼容。序列化 Peer 节点和反序列化 Peer 节点可以独立添加/删除字段。
+Apache Fory java 对象图序列化支持类架构向前/向后兼容。序列化 Peer 节点和反序列化 Peer 节点可以独立添加/删除字段。
-我们计划在[元数据压缩](https://github.com/apache/fury/issues/203)完成后支持跨语言序列化Schema兼容性。
+我们计划在[元数据压缩](https://github.com/apache/fory/issues/203)完成后支持跨语言序列化Schema兼容性。
### 二进制兼容性
-我们仍在改进我们的协议,目前无法确保 fury 版本之间的二进制兼容性。如果您将来要升级 fury,请 `shade` fury。
+我们仍在改进我们的协议,目前无法确保 fory 版本之间的二进制兼容性。如果您将来要升级 fory,请 `shade` fory。
-在 fury 1.0 之前将确保二进制兼容性。
+在 fory 1.0 之前将确保二进制兼容性。
## 安全
@@ -39,7 +39,7 @@ Apache Fury java 对象图序列化支持类架构向前/向后兼容。序列
例如:反序列化可能会调用 `init` constructor 或 `equals`/ `hashCode` 方法,如果方法体中包含恶意代码,系统将处于危险之中。
-Apache Fury 提供了一个类注册选项,并默认开启该选项,它只允许反序列化受信任的注册类型或内置类型。**不要禁用类注册或类注册检查,除非您可以确保您的环境确实是安全的**。如果您禁用了 class 注册选项,你需要自行负责序列化的安全性。
+Apache Fory 提供了一个类注册选项,并默认开启该选项,它只允许反序列化受信任的注册类型或内置类型。**不要禁用类注册或类注册检查,除非您可以确保您的环境确实是安全的**。如果您禁用了 class 注册选项,你需要自行负责序列化的安全性。
## 路线图
@@ -53,4 +53,4 @@ Apache Fury 提供了一个类注册选项,并默认开启该选项,它只
## 如何贡献
-请阅读[贡献](https://github.com/apache/fury/blob/main/CONTRIBUTING.md)指南以获取有关如何贡献的说明。
+请阅读[贡献](https://github.com/apache/fory/blob/main/CONTRIBUTING.md)指南以获取有关如何贡献的说明。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/02-Start/install.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/02-Start/install.md
index c327cc07..be3c2989 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/02-Start/install.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/02-Start/install.md
@@ -1,71 +1,71 @@
---
id: install
-title: 安装 Apache Fury
+title: 安装 Apache Fory
sidebar_position: 0
---
-Apache Fury 源码下载请参见 Apache Fury [download](https://github.com/apache/fury/releases)页面。
+Apache Fory 源码下载请参见 Apache Fory [download](https://github.com/apache/fory/releases)页面。
-### Fury Java 安装
+### Fory Java 安装
-要使用 Maven 添加对 Apache Fury 的依赖,请使用以下配置:
+要使用 Maven 添加对 Apache Fory 的依赖,请使用以下配置:
```xml
<dependency>
- <groupId>org.apache.fury</groupId>
- <artifactId>fury-core</artifactId>
+ <groupId>org.apache.fory</groupId>
+ <artifactId>fory-core</artifactId>
<version>0.10.3</version>
</dependency>
<!-- row/arrow format support -->
<!-- <dependency>
- <groupId>org.apache.fury</groupId>
- <artifactId>fury-format</artifactId>
+ <groupId>org.apache.fory</groupId>
+ <artifactId>fory-format</artifactId>
<version>0.10.3</version>
</dependency> -->
```
-### Fury Scala 安装
+### Fory Scala 安装
-要使用 Maven 添加 scala 2.13 的 Fury scala 依赖,请使用以下配置:
+要使用 Maven 添加 scala 2.13 的 Fory scala 依赖,请使用以下配置:
```xml
<dependency>
- <groupId>org.apache.fury</groupId>
- <artifactId>fury-scala_2.13</artifactId>
+ <groupId>org.apache.fory</groupId>
+ <artifactId>fory-scala_2.13</artifactId>
<version>0.10.3</version>
</dependency>
```
-要使用 Maven 添加 scala 3 的 Fury scala 依赖,请使用以下配置:
+要使用 Maven 添加 scala 3 的 Fory scala 依赖,请使用以下配置:
```xml
<dependency>
- <groupId>org.apache.fury</groupId>
- <artifactId>fury-scala_3</artifactId>
+ <groupId>org.apache.fory</groupId>
+ <artifactId>fory-scala_3</artifactId>
<version>0.10.3</version>
</dependency>
```
-要使用 sbt 添加 scala 2.13 的 Fury scala 依赖,请使用以下配置:
+要使用 sbt 添加 scala 2.13 的 Fory scala 依赖,请使用以下配置:
```sbt
-libraryDependencies += "org.apache.fury" % "fury-scala_2.13" % "0.10.3"
+libraryDependencies += "org.apache.fory" % "fory-scala_2.13" % "0.10.3"
```
-要使用 sbt 添加 scala 3 的 Fury scala 依赖,请使用以下配置:
+要使用 sbt 添加 scala 3 的 Fory scala 依赖,请使用以下配置:
```sbt
-libraryDependencies += "org.apache.fury" % "fury-scala_3" % "0.10.3"
+libraryDependencies += "org.apache.fory" % "fory-scala_3" % "0.10.3"
```
-## Fury Kotlin 安装
+## Fory Kotlin 安装
-To add a dependency on Fury kotlin with maven, use the following:
+To add a dependency on Fory kotlin with maven, use the following:
```xml
<dependency>
- <groupId>org.apache.fury</groupId>
- <artifactId>fury-kotlin</artifactId>
+ <groupId>org.apache.fory</groupId>
+ <artifactId>fory-kotlin</artifactId>
<version>0.10.3</version>
</dependency>
```
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/02-Start/usage.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/02-Start/usage.md
index 134acb2c..2b649cc4 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/02-Start/usage.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/02-Start/usage.md
@@ -1,33 +1,33 @@
---
id: usage
-title: Apache Fury 使用
+title: Apache Fory 使用
sidebar_position: 1
---
-本章节演示不同编程语言使用 Apache Fury 进行序列化。
+本章节演示不同编程语言使用 Apache Fory 进行序列化。
## Java 序列化
```java
import java.util.List;
import java.util.Arrays;
-import io.fury.*;
+import io.fory.*;
public class Example {
public static void main(String[] args) {
SomeClass object = new SomeClass();
- // Note that Fury instances should be reused between
+ // Note that Fory instances should be reused between
// multiple serializations of different objects.
- Fury fury = Fury.builder().withLanguage(Language.JAVA)
+ Fory fory = Fory.builder().withLanguage(Language.JAVA)
// Allow to deserialize objects unknown types,
// more flexible but less secure.
// .requireClassRegistration(false)
.build();
// Registering types can reduce class name serialization overhead, but not mandatory.
// If secure mode enabled, all custom types must be registered.
- fury.register(SomeClass.class);
- byte[] bytes = fury.serialize(object);
- System.out.println(fury.deserialize(bytes));
+ fory.register(SomeClass.class);
+ byte[] bytes = fory.serialize(object);
+ System.out.println(fory.deserialize(bytes));
}
}
```
@@ -35,45 +35,45 @@ public class Example {
## Scala序列化
```scala
-import org.apache.fury.Fury
-import org.apache.fury.serializer.scala.ScalaSerializers
+import org.apache.fory.Fory
+import org.apache.fory.serializer.scala.ScalaSerializers
case class Person(name: String, id: Long, github: String)
case class Point(x : Int, y : Int, z : Int)
object ScalaExample {
- val fury: Fury = Fury.builder().withScalaOptimizationEnabled(true).build()
- // Register optimized fury serializers for scala
- ScalaSerializers.registerSerializers(fury)
- fury.register(classOf[Person])
- fury.register(classOf[Point])
+ val fory: Fory = Fory.builder().withScalaOptimizationEnabled(true).build()
+ // Register optimized fory serializers for scala
+ ScalaSerializers.registerSerializers(fory)
+ fory.register(classOf[Person])
+ fory.register(classOf[Point])
def main(args: Array[String]): Unit = {
val p = Person("Shawn Yang", 1, "https://github.com/chaokunyang")
- println(fury.deserialize(fury.serialize(p)))
- println(fury.deserialize(fury.serialize(Point(1, 2, 3))))
+ println(fory.deserialize(fory.serialize(p)))
+ println(fory.deserialize(fory.serialize(Point(1, 2, 3))))
}
}
## Kotlin序列化
```kotlin
-import org.apache.fury.Fury
-import org.apache.fury.ThreadSafeFury
-import org.apache.fury.serializer.kotlin.KotlinSerializers
+import org.apache.fory.Fory
+import org.apache.fory.ThreadSafeFury
+import org.apache.fory.serializer.kotlin.KotlinSerializers
data class Person(val name: String, val id: Long, val github: String)
data class Point(val x : Int, val y : Int, val z : Int)
fun main(args: Array<String>) {
// 注意: 下面的Fury初始化代码应该只执行一次,而不是在每次序列化前都运行
- val fury: ThreadSafeFury = Fury.builder().requireClassRegistration(true).buildThreadSafeFury()
- KotlinSerializers.registerSerializers(fury)
- fury.register(Person::class.java)
- fury.register(Point::class.java)
+ val fory: ThreadSafeFury = Fory.builder().requireClassRegistration(true).buildThreadSafeFury()
+ KotlinSerializers.registerSerializers(fory)
+ fory.register(Person::class.java)
+ fory.register(Point::class.java)
val p = Person("Shawn Yang", 1, "https://github.com/chaokunyang")
- println(fury.deserialize(fury.serialize(p)))
- println(fury.deserialize(fury.serialize(Point(1, 2, 3))))
+ println(fory.deserialize(fory.serialize(p)))
+ println(fory.deserialize(fory.serialize(Point(1, 2, 3))))
}
```
@@ -83,7 +83,7 @@ fun main(args: Array<String>) {
```java
import com.google.common.collect.ImmutableMap;
-import io.fury.*;
+import io.fory.*;
import java.util.Map;
@@ -102,14 +102,14 @@ public class ReferenceExample {
return obj;
}
- // mvn exec:java -Dexec.mainClass="io.fury.examples.ReferenceExample"
+ // mvn exec:java -Dexec.mainClass="io.fory.examples.ReferenceExample"
public static void main(String[] args) {
- Fury fury = Fury.builder().withLanguage(Language.XLANG)
+ Fory fory = Fory.builder().withLanguage(Language.XLANG)
.withRefTracking(true).build();
- fury.register(SomeClass.class, "example.SomeClass");
- byte[] bytes = fury.serialize(createObject());
+ fory.register(SomeClass.class, "example.SomeClass");
+ byte[] bytes = fory.serialize(createObject());
// bytes can be data serialized by other languages.
- System.out.println(fury.deserialize(bytes));
+ System.out.println(fory.deserialize(bytes));
;
}
}
@@ -126,14 +126,14 @@ class SomeClass:
f2: Dict[str, str]
f3: Dict[str, str]
-fury = pyfury.Fury(ref_tracking=True)
-fury.register_class(SomeClass, "example.SomeClass")
+fory = pyfury.Fory(ref_tracking=True)
+fory.register_class(SomeClass, "example.SomeClass")
obj = SomeClass()
obj.f2 = {"k1": "v1", "k2": "v2"}
obj.f1, obj.f3 = obj, obj.f2
-data = fury.serialize(obj)
+data = fory.serialize(obj)
# bytes can be data serialized by other languages.
-print(fury.deserialize(data))
+print(fory.deserialize(data))
```
### Golangs
@@ -143,7 +143,7 @@ package main
import (
"fmt"
- furygo "github.com/apache/fury/go/fury"
+ furygo "github.com/apache/fory/go/fory"
)
func main() {
@@ -152,19 +152,19 @@ func main() {
F2 map[string]string
F3 map[string]string
}
- fury := furygo.NewFury(true)
- if err := fury.RegisterTagType("example.SomeClass", SomeClass{}); err != nil {
+ fory := furygo.NewFury(true)
+ if err := fory.RegisterTagType("example.SomeClass", SomeClass{}); err != nil {
panic(err)
}
value := &SomeClass{F2: map[string]string{"k1": "v1", "k2": "v2"}}
value.F3 = value.F2
value.F1 = value
- bytes, err := fury.Marshal(value)
+ bytes, err := fory.Marshal(value)
if err != nil {
}
var newValue interface{}
// bytes can be data serialized by other languages.
- if err := fury.Unmarshal(bytes, &newValue); err != nil {
+ if err := fory.Unmarshal(bytes, &newValue); err != nil {
panic(err)
}
fmt.Println(newValue)
@@ -174,7 +174,7 @@ func main() {
### JavaScript
```typescript
-import Fury, { Type } from '@furyjs/fury';
+import Fory, { Type } from '@furyjs/fory';
/**
* @furyjs/hps use v8's fast-calls-api that can be called directly by jit, ensure that the version of Node is 20 or above.
@@ -187,9 +187,9 @@ import hps from '@furyjs/hps';
const description = Type.object('example.foo', {
foo: Type.string(),
});
-const fury = new Fury({ hps });
-const { serialize, deserialize } = fury.registerSerializer(description);
-const input = serialize({ foo: 'hello fury' });
+const fory = new Fory({ hps });
+const { serialize, deserialize } = fory.registerSerializer(description);
+const input = serialize({ foo: 'hello fory' });
const result = deserialize(input);
console.log(result);
```
@@ -197,16 +197,16 @@ console.log(result);
### Rust
```rust
-use fury::{from_buffer, to_buffer, Fury};
+use fory::{from_buffer, to_buffer, Fory};
-#[derive(Fury, Debug, PartialEq)]
+#[derive(Fory, Debug, PartialEq)]
#[tag("example.foo")]
struct Animal {
name: String,
category: String,
}
-#[derive(Fury, Debug, PartialEq)]
+#[derive(Fory, Debug, PartialEq)]
#[tag("example.bar")]
struct Person {
name: String,
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/DEVELOPMENT.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/DEVELOPMENT.md
index 01093d56..6936a9dc 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/DEVELOPMENT.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/DEVELOPMENT.md
@@ -4,11 +4,11 @@ sidebar_position: 7
id: development
---
-## 本地构建 Apache Fury
+## 本地构建 Apache Fory
-从 [Github 代码库](https://github.com/apache/fury) 拉取最新代码。
+从 [Github 代码库](https://github.com/apache/fory) 拉取最新代码。
-### 构建 Apache Fury Java
+### 构建 Apache Fory Java
```bash
cd java
@@ -20,7 +20,7 @@ mvn clean compile -DskipTests
- java 1.8+
- maven 3.6.3+
-### 构建 Apache Fury Python
+### 构建 Apache Fory Python
```bash
cd python
@@ -32,20 +32,20 @@ pip install -v -e .
- python 3.6+
-### 构建 Apache Fury C++
+### 构建 Apache Fory C++
-Build fury row format:
+Build fory row format:
```bash
pip install pyarrow==14.0.0
-bazel build //cpp/fury/row:fury_row_format
+bazel build //cpp/fory/row:fury_row_format
```
-Build fury row format encoder:
+Build fory row format encoder:
```bash
pip install pyarrow==14.0.0
-bazel build //cpp/fury/encoder:fury_encoder
+bazel build //cpp/fory/encoder:fury_encoder
```
#### 本地环境要求
@@ -53,10 +53,10 @@ bazel build //cpp/fury/encoder:fury_encoder
- compilers with C++17 support
- bazel 6.3.2
-### 构建 Apache Fury GoLang
+### 构建 Apache Fory GoLang
```bash
-cd go/fury
+cd go/fory
# run test
go test -v
# run xlang test
@@ -67,7 +67,7 @@ go test -v fury_xlang_test.go
- go 1.13+
-### 构建 Apache Fury Rust
+### 构建 Apache Fory Rust
```bash
cd rust
@@ -83,7 +83,7 @@ cargo test
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
-### 构建 Apache Fury JavaScript
+### 构建 Apache Fory JavaScript
```bash
cd javascript
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/graalvm_guide.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/graalvm_guide.md
index b89ad663..b8cce042 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/graalvm_guide.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/graalvm_guide.md
@@ -9,27 +9,27 @@ id: graalvm_guide
GraalVM Native Image 能够将 Java 应用代码编译成为原生的本地应用程序代码,以构建更快、更小、更精简的应用程序。
其不能使用 JIT 编译器将字节码编译为机器码,并且在没有配置相关反射文件的前提下不支持反射,在很多情况下使用较为复杂。
-Apache Fury 对 GraalVM Native Image 支持非常完善。Apache Fury 在 Graalvm 构建时能够为 `Fury JIT framework` 和 `MethodHandle/LambdaMetafactory` 生成所有的序列化代码。然后在运行时使用这些生成的代码进行序列化,无需任何额外成本,性能非常出色。
+Apache Fory 对 GraalVM Native Image 支持非常完善。Apache Fory 在 Graalvm 构建时能够为 `Fory JIT framework` 和 `MethodHandle/LambdaMetafactory` 生成所有的序列化代码。然后在运行时使用这些生成的代码进行序列化,无需任何额外成本,性能非常出色。
-为了在 Graalvm Native Images 上使用 Fury,您必须将 Apache Fury 创建为**静态**的类字段,并且在 `enclosing class` 初始化时间期间完成所有的类**注册**。 然后在`resources/META-INF/native-image/$xxx/` 目录下添加 `native-image.properties` 配置文件。指导 GraalVM 在构建 Native Images 时初始化配置的类。
+为了在 Graalvm Native Images 上使用 Fory,您必须将 Apache Fory 创建为**静态**的类字段,并且在 `enclosing class` 初始化时间期间完成所有的类**注册**。 然后在`resources/META-INF/native-image/$xxx/` 目录下添加 `native-image.properties` 配置文件。指导 GraalVM 在构建 Native Images 时初始化配置的类。
-例如,这里我们在配置文件中加入 `org.apache.fury.graalvm.Example` 类:
+例如,这里我们在配置文件中加入 `org.apache.fory.graalvm.Example` 类:
```properties
-Args = --initialize-at-build-time=org.apache.fury.graalvm.Example
+Args = --initialize-at-build-time=org.apache.fory.graalvm.Example
```
-使用 Apache Fury 的另一个好处是,您不必配置[反射 JSON](https://www.graalvm.org/latest/reference-manual/native-image/metadata/#specifying-reflection-metadata-in-json)和[序列化 JSON](https://www.graalvm.org/latest/reference-manual/native-image/metadata/#serialization),这非常乏味、繁琐且不方便。使用 Apache Fury 时,您只需为要序列化的每个类型调用 `org.apache.fury.Fury.register(Class<?>, boolean)` 即可。
+使用 Apache Fory 的另一个好处是,您不必配置[反射 JSON](https://www.graalvm.org/latest/reference-manual/native-image/metadata/#specifying-reflection-metadata-in-json)和[序列化 JSON](https://www.graalvm.org/latest/reference-manual/native-image/metadata/#serialization),这非常乏味、繁琐且不方便。使用 Apache Fory 时,您只需为要序列化的每个类型调用 `org.apache.fory.Fory.register(Class<?>, boolean)` 即可。
-请注意,由于 GraalVM Native Image 在镜像运行时不支持 JIT,因此 Apache Fury 的 `asyncCompilationEnabled` 选项将在使用 GraalVM Native Image 构建应用时自动禁用。
+请注意,由于 GraalVM Native Image 在镜像运行时不支持 JIT,因此 Apache Fory 的 `asyncCompilationEnabled` 选项将在使用 GraalVM Native Image 构建应用时自动禁用。
## 线程不安全
Example:
```java
-import org.apache.fury.Fury;
-import org.apache.fury.util.Preconditions;
+import org.apache.fory.Fory;
+import org.apache.fory.util.Preconditions;
import java.util.List;
import java.util.Map;
@@ -42,38 +42,38 @@ public class Example {
Map<String, Long> f4) {
}
- static Fury fury;
+ static Fory fory;
static {
- fury = Fury.builder().build();
+ fory = Fory.builder().build();
// register and generate serializer code.
- fury.register(Record.class, true);
+ fory.register(Record.class, true);
}
public static void main(String[] args) {
Record record = new Record(10, "abc", List.of("str1", "str2"), Map.of("k1", 10L, "k2", 20L));
System.out.println(record);
- byte[] bytes = fury.serialize(record);
- Object o = fury.deserialize(bytes);
+ byte[] bytes = fory.serialize(record);
+ Object o = fory.deserialize(bytes);
System.out.println(o);
Preconditions.checkArgument(record.equals(o));
}
}
```
-之后在 `native-image.properties` 中加入 `org.apache.fury.graalvm.Example` 配置:
+之后在 `native-image.properties` 中加入 `org.apache.fory.graalvm.Example` 配置:
```properties
-Args = --initialize-at-build-time=org.apache.fury.graalvm.Example
+Args = --initialize-at-build-time=org.apache.fory.graalvm.Example
```
## 线程安全
```java
-import org.apache.fury.Fury;
-import org.apache.fury.ThreadLocalFury;
-import org.apache.fury.ThreadSafeFury;
-import org.apache.fury.util.Preconditions;
+import org.apache.fory.Fory;
+import org.apache.fory.ThreadLocalFury;
+import org.apache.fory.ThreadSafeFury;
+import org.apache.fory.util.Preconditions;
import java.util.List;
import java.util.Map;
@@ -86,11 +86,11 @@ public class ThreadSafeExample {
Map<String, Long> f4) {
}
- static ThreadSafeFury fury;
+ static ThreadSafeFury fory;
static {
- fury = new ThreadLocalFury(classLoader -> {
- Fury f = Fury.builder().build();
+ fory = new ThreadLocalFury(classLoader -> {
+ Fory f = Fory.builder().build();
// register and generate serializer code.
f.register(Foo.class, true);
return f;
@@ -98,43 +98,43 @@ public class ThreadSafeExample {
}
public static void main(String[] args) {
- System.out.println(fury.deserialize(fury.serialize("abc")));
- System.out.println(fury.deserialize(fury.serialize(List.of(1,2,3))));
- System.out.println(fury.deserialize(fury.serialize(Map.of("k1", 1, "k2", 2))));
+ System.out.println(fory.deserialize(fory.serialize("abc")));
+ System.out.println(fory.deserialize(fory.serialize(List.of(1,2,3))));
+ System.out.println(fory.deserialize(fory.serialize(Map.of("k1", 1, "k2", 2))));
Foo foo = new Foo(10, "abc", List.of("str1", "str2"), Map.of("k1", 10L, "k2", 20L));
System.out.println(foo);
- byte[] bytes = fury.serialize(foo);
- Object o = fury.deserialize(bytes);
+ byte[] bytes = fory.serialize(foo);
+ Object o = fory.deserialize(bytes);
System.out.println(o);
}
}
```
-之后在 `native-image.properties` 中加入 `org.apache.fury.graalvm.ThreadSafeExample` 配置:
+之后在 `native-image.properties` 中加入 `org.apache.fory.graalvm.ThreadSafeExample` 配置:
```properties
-Args = --initialize-at-build-time=org.apache.fury.graalvm.ThreadSafeExample
+Args = --initialize-at-build-time=org.apache.fory.graalvm.ThreadSafeExample
```
## 框架集成
-对于框架开发人员,如果您想集成 Apache Fury 进行序列化。您可以提供一个配置文件,让用户列出他们想要序列化的所有类,然后您可以加载这些类并调用 `org.apache.fury.Fury.register(Class<?>, boolean)` 在您的 Fury 集成类中注册这些类,并配置该类在 GraalVM Native Image 构建时进行初始化。
+对于框架开发人员,如果您想集成 Apache Fory 进行序列化。您可以提供一个配置文件,让用户列出他们想要序列化的所有类,然后您可以加载这些类并调用 `org.apache.fory.Fory.register(Class<?>, boolean)` 在您的 Fory 集成类中注册这些类,并配置该类在 GraalVM Native Image 构建时进行初始化。
## 基准测试
-在这里,我们给出了 Apache Fury 和 Graalvm 序列化之间的两个类基准测试。
+在这里,我们给出了 Apache Fory 和 Graalvm 序列化之间的两个类基准测试。
-禁用 Apache Fury compression 时:
+禁用 Apache Fory compression 时:
-- Struct:Fury 与 `46x speed, 43% size` JDK 进行比较。
-- Pojo:Fury 与 `12x speed, 56% size` JDK进行比较。
+- Struct:Fory 与 `46x speed, 43% size` JDK 进行比较。
+- Pojo:Fory 与 `12x speed, 56% size` JDK进行比较。
-启用 Apache Fury compression 时:
+启用 Apache Fory compression 时:
-- Struct:Fury 与 `24x speed, 31% size` JDK进行比较。
-- Pojo:Fury 与 `12x speed, 48% size` JDK进行比较。
+- Struct:Fory 与 `24x speed, 31% size` JDK进行比较。
+- Pojo:Fory 与 `12x speed, 48% size` JDK进行比较。
-有关基准测试代码,请参阅 [Benchmark.java](https://github.com/apache/fury/blob/main/integration_tests/graalvm_tests/src/main/java/org/apache/fury/graalvm/Benchmark.java)。
+有关基准测试代码,请参阅 [Benchmark.java](https://github.com/apache/fory/blob/main/integration_tests/graalvm_tests/src/main/java/org/apache/fory/graalvm/Benchmark.java)。
### 结构体基准测试
@@ -163,28 +163,28 @@ public class Struct implements Serializable {
```
Benchmark repeat number: 400000
-Object type: class org.apache.fury.graalvm.Struct
+Object type: class org.apache.fory.graalvm.Struct
Compress number: false
-Fury size: 76.0
+Fory size: 76.0
JDK size: 178.0
-Fury serialization took mills: 49
+Fory serialization took mills: 49
JDK serialization took mills: 2254
-Compare speed: Fury is 45.70x speed of JDK
-Compare size: Fury is 0.43x size of JDK
+Compare speed: Fory is 45.70x speed of JDK
+Compare size: Fory is 0.43x size of JDK
```
开启压缩时测试结果:
```
Benchmark repeat number: 400000
-Object type: class org.apache.fury.graalvm.Struct
+Object type: class org.apache.fory.graalvm.Struct
Compress number: true
-Fury size: 55.0
+Fory size: 55.0
JDK size: 178.0
-Fury serialization took mills: 130
+Fory serialization took mills: 130
JDK serialization took mills: 3161
-Compare speed: Fury is 24.16x speed of JDK
-Compare size: Fury is 0.31x size of JDK
+Compare speed: Fory is 24.16x speed of JDK
+Compare size: Fory is 0.31x size of JDK
```
### Pojo 基准测试
@@ -206,26 +206,26 @@ public class Foo implements Serializable {
```
Benchmark repeat number: 400000
-Object type: class org.apache.fury.graalvm.Foo
+Object type: class org.apache.fory.graalvm.Foo
Compress number: false
-Fury size: 541.0
+Fory size: 541.0
JDK size: 964.0
-Fury serialization took mills: 1663
+Fory serialization took mills: 1663
JDK serialization took mills: 16266
-Compare speed: Fury is 12.19x speed of JDK
-Compare size: Fury is 0.56x size of JDK
+Compare speed: Fory is 12.19x speed of JDK
+Compare size: Fory is 0.56x size of JDK
```
开启压缩时测试结果:
```
Benchmark repeat number: 400000
-Object type: class org.apache.fury.graalvm.Foo
+Object type: class org.apache.fory.graalvm.Foo
Compress number: true
-Fury size: 459.0
+Fory size: 459.0
JDK size: 964.0
-Fury serialization took mills: 1289
+Fory serialization took mills: 1289
JDK serialization took mills: 15069
-Compare speed: Fury is 12.11x speed of JDK
-Compare size: Fury is 0.48x size of JDK
+Compare speed: Fory is 12.11x speed of JDK
+Compare size: Fory is 0.48x size of JDK
```
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/java_serialization_guide.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/java_serialization_guide.md
index d6daf422..46a7e414 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/java_serialization_guide.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/java_serialization_guide.md
@@ -10,75 +10,75 @@ id: java_object_graph_guide
## 快速开始
-注意:Fury 对象创建的代价很高, 因此 **Fury 对象应该尽可能被复用**,而不是每次都重新创建。
+注意:Fory 对象创建的代价很高, 因此 **Fory 对象应该尽可能被复用**,而不是每次都重新创建。
-您应该为 Fury 创建一个全局的静态变量,或者有限的的 Fury 实例对象。Fury本身占用一定内存,请不要创建上万个Fury对象
+您应该为 Fory 创建一个全局的静态变量,或者有限的的 Fory 实例对象。Fury本身占用一定内存,请不要创建上万个Fury对象
-使用单线程版本 Fury:
+使用单线程版本 Fory:
```java
import java.util.List;
import java.util.Arrays;
-import org.apache.fury.*;
-import org.apache.fury.config.*;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
public class Example {
public static void main(String[] args) {
SomeClass object = new SomeClass();
- // Note that Fury instances should be reused between
+ // Note that Fory instances should be reused between
// multiple serializations of different objects.
- Fury fury = Fury.builder().withLanguage(Language.JAVA)
+ Fory fory = Fory.builder().withLanguage(Language.JAVA)
.requireClassRegistration(true)
.build();
// Registering types can reduce class name serialization overhead, but not mandatory.
// If class registration enabled, all custom types must be registered.
- fury.register(SomeClass.class);
- byte[] bytes = fury.serialize(object);
- System.out.println(fury.deserialize(bytes));
+ fory.register(SomeClass.class);
+ byte[] bytes = fory.serialize(object);
+ System.out.println(fory.deserialize(bytes));
}
}
```
-使用多线程版本 Fury:
+使用多线程版本 Fory:
```java
import java.util.List;
import java.util.Arrays;
-import org.apache.fury.*;
-import org.apache.fury.config.*;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
public class Example {
public static void main(String[] args) {
SomeClass object = new SomeClass();
- // Note that Fury instances should be reused between
+ // Note that Fory instances should be reused between
// multiple serializations of different objects.
- ThreadSafeFury fury = new ThreadLocalFury(classLoader -> {
- Fury f = Fury.builder().withLanguage(Language.JAVA)
+ ThreadSafeFury fory = new ThreadLocalFury(classLoader -> {
+ Fory f = Fory.builder().withLanguage(Language.JAVA)
.withClassLoader(classLoader).build();
f.register(SomeClass.class);
return f;
});
- byte[] bytes = fury.serialize(object);
- System.out.println(fury.deserialize(bytes));
+ byte[] bytes = fory.serialize(object);
+ System.out.println(fory.deserialize(bytes));
}
}
```
-Fury 对象复用示例:
+Fory 对象复用示例:
```java
import java.util.List;
import java.util.Arrays;
-import org.apache.fury.*;
-import org.apache.fury.config.*;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
public class Example {
- // reuse fury.
- private static final ThreadSafeFury fury = new ThreadLocalFury(classLoader -> {
- Fury f = Fury.builder().withLanguage(Language.JAVA)
+ // reuse fory.
+ private static final ThreadSafeFury fory = new ThreadLocalFury(classLoader -> {
+ Fory f = Fory.builder().withLanguage(Language.JAVA)
.withClassLoader(classLoader).build();
f.register(SomeClass.class);
return f;
@@ -86,8 +86,8 @@ public class Example {
public static void main(String[] args) {
SomeClass object = new SomeClass();
- byte[] bytes = fury.serialize(object);
- System.out.println(fury.deserialize(bytes));
+ byte[] bytes = fory.serialize(object);
+ System.out.println(fory.deserialize(bytes));
}
}
```
@@ -96,14 +96,14 @@ public class Example {
| 参数选项名 | 描述 [...]
|-------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [...]
-| `timeRefIgnored` | 启用 reference tracking 时,是否忽略在 `TimeSerializers` 中注册的所有时间类型及其子类的引用跟踪。如果忽略,则可以通过调用 `Fury#registerSerializer(Class, Serializer)` 来启用对每种时间类型的引用跟踪。例如,`fury.registerSerializer(Date.class, new DateSerializer(fury, true))`。请注意,启用 ref tracking 功能应在任何包含时间字段的类型的序列化程序编码之前进行。否则,这些字段仍将跳过 reference tracking。 | `true` |
+| `timeRefIgnored` | 启用 reference tracking 时,是否忽略在 `TimeSerializers` 中注册的所有时间类型及其子类的引用跟踪。如果忽略,则可以通过调用 `Fory#registerSerializer(Class, Serializer)` 来启用对每种时间类型的引用跟踪。例如,`fory.registerSerializer(Date.class, new DateSerializer(fory, true))`。请注意,启用 ref tracking 功能应在任何包含时间字段的类型的序列化程序编码之前进行。否则,这些字段仍将跳过 reference tracking。 | `true` |
| `compressInt` | 启用或禁用 int 压缩,减小数据体积。 [...]
| `compressLong` | 启用或禁用 long 压缩,减小数据体积。 [...]
| `compressString` | 启用或禁用 String 压缩,减小数据体积。 [...]
-| `classLoader` | 关联到当前 Fury 的类加载器,每个 Fury 会关联一个不可变的类加载器,用于缓存类元数据。如果需要切换类加载器,请使用 `LoaderBinding` 或 `ThreadSafeFury` 进行更新。 [...]
+| `classLoader` | 关联到当前 Fory 的类加载器,每个 Fory 会关联一个不可变的类加载器,用于缓存类元数据。如果需要切换类加载器,请使用 `LoaderBinding` 或 `ThreadSafeFury` 进行更新。 [...]
| `compatibleMode` | 类型的向前/向后兼容性配置。也与 `checkClassVersion` 配置相关。`schema_consistent`: 类的Schema信息必须在序列化对等节点和反序列化对等节点之间保持一致。`COMPATIBLE`: 序列化对等节点和反序列化对等节点之间的类模式可以不同。它们可以独立添加/删除字段。 | `CompatibleMode.SCHEMA_CONSISTENT` |
-| `checkClassVersion` | 决定是否检查类模式的一致性。如果启用,Fury 将写入 `classVersionHash` 和基于其检查类型一致性。当启用 `CompatibleMode#COMPATIBLE` 时,它将自动禁用。除非能确保类不会演化,否则不建议禁用。 | `false` |
-| `checkJdkClassSerializable` | 启用或禁用 `java.*` 下类的 `Serializable` 接口检查。如果 `java.*` 下的类不是 `Serializable`,Fury 将抛出 `UnsupportedOperationException`。 | `true` [...]
+| `checkClassVersion` | 决定是否检查类模式的一致性。如果启用,Fory 将写入 `classVersionHash` 和基于其检查类型一致性。当启用 `CompatibleMode#COMPATIBLE` 时,它将自动禁用。除非能确保类不会演化,否则不建议禁用。 | `false` |
+| `checkJdkClassSerializable` | 启用或禁用 `java.*` 下类的 `Serializable` 接口检查。如果 `java.*` 下的类不是 `Serializable`,Fory 将抛出 `UnsupportedOperationException`。 | `true` [...]
| `registerGuavaTypes` | 是否预先注册 Guava 类型,如 `RegularImmutableMap`/`RegularImmutableList`。这些类型不是公共 API,但似乎非常稳定。 [...]
| `requireClassRegistration` | 禁用可能会允许未知类被反序列化,从而带来潜在的安全风险。 | [...]
| `suppressClassRegistrationWarnings` | 是否抑制类注册警告。这些警告可用于安全审计,但可能会较琐碎,默认情况下将启用此抑制功能。 | `true` [...]
@@ -114,16 +114,16 @@ public class Example {
| `codeGenEnabled` | 禁用后,初始序列化速度会加快,但后续序列化速度会减慢。 | [...]
| `asyncCompilationEnabled` | 如果启用,序列化会首先使用解释器模式,并在类的异步序列化 JIT 完成后切换到 JIT 序列化。 | `false` [...]
| `scalaOptimizationEnabled` | 启用或禁用特定于 Scala 的序列化优化。 [...]
-| `copyRef` | 禁用后,复制性能会更好。但 Fury 深度复制将忽略循环引用和共享引用。对象图中的相同引用将在一次 `Fury#copy` 中复制到不同的对象中。 | `true` |
+| `copyRef` | 禁用后,复制性能会更好。但 Fory 深度复制将忽略循环引用和共享引用。对象图中的相同引用将在一次 `Fory#copy` 中复制到不同的对象中。 | `true` |
## 高级用法
-### Fury 创建
+### Fory 创建
-单线程 Fury 创建:
+单线程 Fory 创建:
```java
-Fury fury=Fury.builder()
+Fory fory=Fory.builder()
.withLanguage(Language.JAVA)
// enable reference tracking for shared/circular reference.
// Disable it will have better performance if no duplicate reference.
@@ -135,14 +135,14 @@ Fury fury=Fury.builder()
// enable async multi-threaded compilation.
.withAsyncCompilation(true)
.build();
- byte[]bytes=fury.serialize(object);
- System.out.println(fury.deserialize(bytes));
+ byte[]bytes=fory.serialize(object);
+ System.out.println(fory.deserialize(bytes));
```
-多线程 Fury 创建:
+多线程 Fory 创建:
```java
-ThreadSafeFury fury=Fury.builder()
+ThreadSafeFury fory=Fory.builder()
.withLanguage(Language.JAVA)
// enable reference tracking for shared/circular reference.
// Disable it will have better performance if no duplicate reference.
@@ -158,8 +158,8 @@ ThreadSafeFury fury=Fury.builder()
// enable async multi-threaded compilation.
.withAsyncCompilation(true)
.buildThreadSafeFury();
- byte[]bytes=fury.serialize(object);
- System.out.println(fury.deserialize(bytes));
+ byte[]bytes=fory.serialize(object);
+ System.out.println(fory.deserialize(bytes));
```
### 配置Fury生成更小的序列化体积:
@@ -168,14 +168,14 @@ ThreadSafeFury fury=Fury.builder()
这两个压缩属性默认启用。如果序列化大小不重要,比如你之前使用flatbuffers进行序列化,flatbuffers不会压缩任何东西,那么这种情况下建议关闭压缩。如果数据都是数字,压缩可能会带来 80%以上的性能损耗。
-对于 int 压缩,Fury 使用 1~5 字节进行编码。每个字节的第一位表示是否有下一个字节位,如果下一个字节位被设置,则将读取下一个字节,直到下一个字节位未被设置时停止。
+对于 int 压缩,Fory 使用 1~5 字节进行编码。每个字节的第一位表示是否有下一个字节位,如果下一个字节位被设置,则将读取下一个字节,直到下一个字节位未被设置时停止。
-对于 long 压缩,Fury 支持两种编码方式:
+对于 long 压缩,Fory 支持两种编码方式:
-- Fury SLI(Small long as int)编码(**默认使用**):
+- Fory SLI(Small long as int)编码(**默认使用**):
- 如果 long 在 [-1073741824, 1073741823] 范围内,则编码为 4 字节 int:`| little-endian: ((int) value) << 1 |`
- 否则写成 9 字节: `| 0b1 | little-endian 8 bit long |`
-- Fury PVL(渐进可变长)编码:
+- Fory PVL(渐进可变长)编码:
- 每个字节的第一位表示是否有下一个字节。如果第一位被设置,则将读取下一个字节。
直到下一字节的第一位未设置。
- 负数将通过 `(v << 1) ^ (v >> 63)` 转换为正数,以减少小负数的编码空间占用。
@@ -188,21 +188,21 @@ ThreadSafeFury fury=Fury.builder()
深度拷贝示例:
```java
-Fury fury=Fury.builder()
+Fory fory=Fory.builder()
...
.withRefCopy(true).build();
SomeClass a=xxx;
- SomeClass copied=fury.copy(a)
+ SomeClass copied=fory.copy(a)
```
-使 Fury 深度复制忽略循环引用和共享引用,此配置会将对象图中的相同引用在一次 `Fury#copy` 之后会被复制到不同的对象中。
+使 Fory 深度复制忽略循环引用和共享引用,此配置会将对象图中的相同引用在一次 `Fory#copy` 之后会被复制到不同的对象中。
```java
-Fury fury=Fury.builder()
+Fory fory=Fory.builder()
...
.withRefCopy(false).build();
SomeClass a=xxx;
- SomeClass copied=fury.copy(a)
+ SomeClass copied=fory.copy(a)
```
### 实现自定义的序列化器
@@ -221,8 +221,8 @@ class Foo {
}
class FooSerializer extends Serializer<Foo> {
- public FooSerializer(Fury fury) {
- super(fury, Foo.class);
+ public FooSerializer(Fory fory) {
+ super(fory, Foo.class);
}
@Override
@@ -242,8 +242,8 @@ class FooSerializer extends Serializer<Foo> {
注册序列化器:
```java
-Fury fury=getFury();
- fury.registerSerializer(Foo.class,new FooSerializer(fury));
+Fory fory=getFury();
+ fory.registerSerializer(Foo.class,new FooSerializer(fory));
```
### 安全与类注册
@@ -257,28 +257,28 @@ Fury fury=getFury();
类注册不仅可以降低安全风险,还可以避免类名序列化成本。
-您可以使用 `Fury#register` API 来注册类。
+您可以使用 `Fory#register` API 来注册类。
> 请注意:类注册顺序很重要,序列化和反序列化对,应具有相同的注册顺序。
```java
-Fury fury=xxx;
- fury.register(SomeClass.class);
- fury.register(SomeClass1.class,200);
+Fory fory=xxx;
+ fory.register(SomeClass.class);
+ fory.register(SomeClass1.class,200);
```
如果调用 `FuryBuilder#requireClassRegistration(false)` 来禁用类注册检查、
-可以通过 `ClassResolver#setClassChecker` 设置 `org.apache.fury.resolver.ClassChecker` 来控制哪些类是允许序列化。例如,可以通过以下方式允许以 `org.example.*` 开头的类:
+可以通过 `ClassResolver#setClassChecker` 设置 `org.apache.fory.resolver.ClassChecker` 来控制哪些类是允许序列化。例如,可以通过以下方式允许以 `org.example.*` 开头的类:
```java
-Fury fury=xxx;
- fury.getClassResolver().setClassChecker((classResolver,className)->className.startsWith("org.example."));
+Fory fory=xxx;
+ fory.getClassResolver().setClassChecker((classResolver,className)->className.startsWith("org.example."));
```
```java
AllowListChecker checker=new AllowListChecker(AllowListChecker.CheckLevel.STRICT);
- ThreadSafeFury fury=new ThreadLocalFury(classLoader->{
- Fury f=Fury.builder().requireClassRegistration(true).withClassLoader(classLoader).build();
+ ThreadSafeFury fory=new ThreadLocalFury(classLoader->{
+ Fory f=Fory.builder().requireClassRegistration(true).withClassLoader(classLoader).build();
f.getClassResolver().setClassChecker(checker);
checker.addListener(f.getClassResolver());
return f;
@@ -286,71 +286,71 @@ AllowListChecker checker=new AllowListChecker(AllowListChecker.CheckLevel.STRICT
checker.allowClass("org.example.*");
```
-Aapche Fury 还提供了一个 `org.apache.fury.resolver.AllowListChecker`,它是一个基于允许/禁止列表的检查器,用于简化类检查机制的定制。您可以使用此检查器或自行实现更复杂的检查器。
+Aapche Fory 还提供了一个 `org.apache.fory.resolver.AllowListChecker`,它是一个基于允许/禁止列表的检查器,用于简化类检查机制的定制。您可以使用此检查器或自行实现更复杂的检查器。
### 序列化器注册
-您还可以通过 `Fury#registerSerializer` API 为类注册自定义序列化器。或者为类实现 `java.io.Externalizable`。
+您还可以通过 `Fory#registerSerializer` API 为类注册自定义序列化器。或者为类实现 `java.io.Externalizable`。
### 零拷贝序列化
```java
-import org.apache.fury.*;
-import org.apache.fury.config.*;
-import org.apache.fury.serializers.BufferObject;
-import org.apache.fury.memory.MemoryBuffer;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
+import org.apache.fory.serializers.BufferObject;
+import org.apache.fory.memory.MemoryBuffer;
import java.util.*;
import java.util.stream.Collectors;
public class ZeroCopyExample {
- // Note that fury instance should be reused instead of creation every time.
- static Fury fury = Fury.builder()
+ // Note that fory instance should be reused instead of creation every time.
+ static Fory fory = Fory.builder()
.withLanguage(Language.JAVA)
.build();
- // mvn exec:java -Dexec.mainClass="io.ray.fury.examples.ZeroCopyExample"
+ // mvn exec:java -Dexec.mainClass="io.ray.fory.examples.ZeroCopyExample"
public static void main(String[] args) {
List<Object> list = Arrays.asList("str", new byte[1000], new int[100], new double[100]);
Collection<BufferObject> bufferObjects = new ArrayList<>();
- byte[] bytes = fury.serialize(list, e -> !bufferObjects.add(e));
+ byte[] bytes = fory.serialize(list, e -> !bufferObjects.add(e));
List<MemoryBuffer> buffers = bufferObjects.stream()
.map(BufferObject::toBuffer).collect(Collectors.toList());
- System.out.println(fury.deserialize(bytes, buffers));
+ System.out.println(fory.deserialize(bytes, buffers));
}
}
```
### Meta 共享
-Apache Fury 支持在同一个上下文(例如:`TCP Connection`)中的多个序列中共享类型元数据(例如:类名称,字段名称,字段类型信息 等),这些信息将在上下文中第一次序列化时发送给 对端。根据这些元数据,对端方可重建相同的反序列化器,从而避免为后续序列化传输元数据,减少网络流量压力,并支持类型向前/向后兼容。
+Apache Fory 支持在同一个上下文(例如:`TCP Connection`)中的多个序列中共享类型元数据(例如:类名称,字段名称,字段类型信息 等),这些信息将在上下文中第一次序列化时发送给 对端。根据这些元数据,对端方可重建相同的反序列化器,从而避免为后续序列化传输元数据,减少网络流量压力,并支持类型向前/向后兼容。
```java
-// Fury.builder()
+// Fory.builder()
// .withLanguage(Language.JAVA)
// .withRefTracking(false)
// // share meta across serialization.
// .withMetaContextShare(true)
-// Not thread-safe fury.
+// Not thread-safe fory.
MetaContext context=xxx;
- fury.getSerializationContext().setMetaContext(context);
- byte[]bytes=fury.serialize(o);
-// Not thread-safe fury.
+ fory.getSerializationContext().setMetaContext(context);
+ byte[]bytes=fory.serialize(o);
+// Not thread-safe fory.
MetaContext context=xxx;
- fury.getSerializationContext().setMetaContext(context);
- fury.deserialize(bytes)
+ fory.getSerializationContext().setMetaContext(context);
+ fory.deserialize(bytes)
-// Thread-safe fury
- fury.setClassLoader(beanA.getClass().getClassLoader());
- byte[]serialized=fury.execute(
+// Thread-safe fory
+ fory.setClassLoader(beanA.getClass().getClassLoader());
+ byte[]serialized=fory.execute(
f->{
f.getSerializationContext().setMetaContext(context);
return f.serialize(beanA);
}
);
-// thread-safe fury
- fury.setClassLoader(beanA.getClass().getClassLoader());
- Object newObj=fury.execute(
+// thread-safe fory
+ fory.setClassLoader(beanA.getClass().getClassLoader());
+ Object newObj=fory.execute(
f->{
f.getSerializationContext().setMetaContext(context);
return f.deserialize(serialized);
@@ -360,7 +360,7 @@ MetaContext context=xxx;
### 反序列化不存在的类
-Apache Fury 支持反序列化不存在的类,通过`FuryBuilder#deserializeNonexistentClass(true)` 选项开启。当此选项开启的时候,同时也会开启元数据共享。Apache Fury 会将该类型的反序列化数据存储在 lazy Map 子类中。通过使用 Fury 实现的 lazy Map,可以避免在反序列化过程中填充 map 时 map 内部节点的rebalance来下,从而进一步提高性能。如果这些数据被发送到另一个进程,而该进程中存在该类,那么数据将被反序列化为该类型的对象,而不会丢失任何信息。
+Apache Fory 支持反序列化不存在的类,通过`FuryBuilder#deserializeNonexistentClass(true)` 选项开启。当此选项开启的时候,同时也会开启元数据共享。Apache Fory 会将该类型的反序列化数据存储在 lazy Map 子类中。通过使用 Fory 实现的 lazy Map,可以避免在反序列化过程中填充 map 时 map 内部节点的rebalance来下,从而进一步提高性能。如果这些数据被发送到另一个进程,而该进程中存在该类,那么数据将被反序列化为该类型的对象,而不会丢失任何信息。
如果未启用元数据共享,新类数据将被跳过,并返回一个 `NonexistentSkipClass` 的stub 对象。
@@ -368,37 +368,37 @@ Apache Fury 支持反序列化不存在的类,通过`FuryBuilder#deserializeNo
### JDK 迁移
-如果您之前使用 JDK 序列化,并且没有同时升级 client 和 server。这在线上应用很常见,Apache Fury 提供了一个 `org.apache.fury.serializer.JavaSerializer.serializedByJDK` 工具方法来检查二进制文件是否由 JDK 序列化生成。您可以使用以下模式使已有的序列化具有探测运行协议的能力、然后以异步滚动升级的方式将序列化器逐步升级至 Apache Fury:
+如果您之前使用 JDK 序列化,并且没有同时升级 client 和 server。这在线上应用很常见,Apache Fory 提供了一个 `org.apache.fory.serializer.JavaSerializer.serializedByJDK` 工具方法来检查二进制文件是否由 JDK 序列化生成。您可以使用以下模式使已有的序列化具有探测运行协议的能力、然后以异步滚动升级的方式将序列化器逐步升级至 Apache Fory:
```java
if(JavaSerializer.serializedByJDK(bytes)){
ObjectInputStream objectInputStream=xxx;
return objectInputStream.readObject();
}else{
- return fury.deserialize(bytes);
+ return fory.deserialize(bytes);
}
```
-### Apache Fury 更新
+### Apache Fory 更新
-当前只保证小版本之间的兼容性。例如:您使用的 Fury 版本为 `0.9.0`,当升级到 Fury `0.8.1` 版本,可以确保二进制协议的兼容性。但是,如果更新到 Fury `0.9.0` 版本,二进制协议兼容性能力不能得到保证。我们计划在1.0.0版本开始提供大版本内的二进制兼容性。
+当前只保证小版本之间的兼容性。例如:您使用的 Fory 版本为 `0.9.0`,当升级到 Fory `0.8.1` 版本,可以确保二进制协议的兼容性。但是,如果更新到 Fory `0.9.0` 版本,二进制协议兼容性能力不能得到保证。我们计划在1.0.0版本开始提供大版本内的二进制兼容性。
## 常见问题排查
### 类不一致和类版本检查
-如果您在创建 fury 时未将 `CompatibleMode` 设置为 `org.apache.fury.config.CompatibleMode.COMPATIBLE` 而出现奇怪的序列化错误,可能是由于序列化对和反序列化对之间的类不一致造成的。
+如果您在创建 fory 时未将 `CompatibleMode` 设置为 `org.apache.fory.config.CompatibleMode.COMPATIBLE` 而出现奇怪的序列化错误,可能是由于序列化对和反序列化对之间的类不一致造成的。
-在这种情况下,您可以调用 `FuryBuilder#withClassVersionCheck` 来创建 Fury 以验证它,如果反序列化时抛出`org.apache.fury.exception.ClassNotCompatibleException`,则表明类是不一致的,您应该通过
-`FuryBuilder#withCompaibleMode(CompatibleMode.COMPATIBLE)` 创建 Fury 对象。
+在这种情况下,您可以调用 `FuryBuilder#withClassVersionCheck` 来创建 Fory 以验证它,如果反序列化时抛出`org.apache.fory.exception.ClassNotCompatibleException`,则表明类是不一致的,您应该通过
+`FuryBuilder#withCompaibleMode(CompatibleMode.COMPATIBLE)` 创建 Fory 对象。
`CompatibleMode.COMPATIBLE` 会带来更多的性能和空间代价,如果您的类在序列化和反序列化之间保持一致,请不要设置此选项。
### 使用错误的 API 反序列化
-如果您调用 `Fury#serialize` 来序列化对象,则应调用 `Fury#deserialize` 来反序列化对象,而不是使用 `Fury#deserializeJavaObject`。
+如果您调用 `Fory#serialize` 来序列化对象,则应调用 `Fory#deserialize` 来反序列化对象,而不是使用 `Fory#deserializeJavaObject`。
-如果调用 `Fury#serializeJavaObject` 来序列化对象,则应调用 `Fury#deserializeJavaObject` 来进行反序列化。而不是使用`Fury#deserializeJavaObjectAndClass` 或者 `Fury#deserialize`。
+如果调用 `Fory#serializeJavaObject` 来序列化对象,则应调用 `Fory#deserializeJavaObject` 来进行反序列化。而不是使用`Fory#deserializeJavaObjectAndClass` 或者 `Fory#deserialize`。
-如果调用 `Fury#serializeJavaObjectAndClass` 来序列化对象,则应
-调用 `Fury#deserializeJavaObjectAndClass` 进行反序列化,而不是使用`Fury#deserializeJavaObject` 或者 `Fury#deserialize`。
+如果调用 `Fory#serializeJavaObjectAndClass` 来序列化对象,则应
+调用 `Fory#deserializeJavaObjectAndClass` 进行反序列化,而不是使用`Fory#deserializeJavaObject` 或者 `Fory#deserialize`。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/row_format_guide.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/row_format_guide.md
index f45119fd..57b30ebf 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/row_format_guide.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/row_format_guide.md
@@ -86,7 +86,7 @@ print(f"pickle end: {datetime.datetime.now()}")
### Apache Arrow 支持
-Apache Fury Format 还支持从 Arrow Table/RecordBatch 自动转换。
+Apache Fory Format 还支持从 Arrow Table/RecordBatch 自动转换。
Java:
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/scala_guide.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/scala_guide.md
index c243bce7..29d0d204 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/scala_guide.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/scala_guide.md
@@ -4,7 +4,7 @@ sidebar_position: 4
id: scala_guide
---
-Apache Fury 支持所有 Scala 对象序列化:
+Apache Fory 支持所有 Scala 对象序列化:
- `case` 支持类序列化;
- `pojo/bean` 支持类序列化;
@@ -17,15 +17,15 @@ Scala 2 和 3 均支持。
## 安装
```sbt
-libraryDependencies += "org.apache.fury" % "fury-core" % "0.7.1"
+libraryDependencies += "org.apache.fory" % "fory-core" % "0.7.1"
```
-## Fury 对象创建
+## Fory 对象创建
-当使用 Apache Fury 进行 Scala 序列化时,您应该至少使用以下选项创建 Fury 对象:
+当使用 Apache Fory 进行 Scala 序列化时,您应该至少使用以下选项创建 Fory 对象:
```scala
-val fury = Fury.builder()
+val fory = Fory.builder()
.withScalaOptimizationEnabled(true)
.requireClassRegistration(true)
.withRefTracking(true)
@@ -35,27 +35,27 @@ val fury = Fury.builder()
根据您序列化的对象类型,您可能需要注册一些 Scala 的内部类型:
```scala
-fury.register(Class.forName("scala.collection.generic.DefaultSerializationProxy"))
-fury.register(Class.forName("scala.Enumeration.Val"))
+fory.register(Class.forName("scala.collection.generic.DefaultSerializationProxy"))
+fory.register(Class.forName("scala.Enumeration.Val"))
```
如果要避免此类注册,可以通过禁用类 `FuryBuilder#requireClassRegistration(false)` 来完成。
> 请注意:此选项可以反序列化未知的对象类型,使用更灵活。但如果类包含任何的恶意代码,会有安全风险。
-循环引用在 Scala 中很常见,`Reference tracking` 应该由 `FuryBuilder#withRefTracking(true)` 配置选项开启。如果不启用 `Reference tracking`,则在序列化 Scala Enumeration 时,某些 Scala 版本可能会发生 [StackOverflowError 错误](https://github.com/apache/fury/issues/1032)。
+循环引用在 Scala 中很常见,`Reference tracking` 应该由 `FuryBuilder#withRefTracking(true)` 配置选项开启。如果不启用 `Reference tracking`,则在序列化 Scala Enumeration 时,某些 Scala 版本可能会发生 [StackOverflowError 错误](https://github.com/apache/fory/issues/1032)。
-> 注意:Fury 实例应该在多个序列化之间共享,创建 Fury 实例开销很大,应该尽量复用。
+> 注意:Fory 实例应该在多个序列化之间共享,创建 Fory 实例开销很大,应该尽量复用。
-如果您在多个线程中使用共享的 Fury 实例,您应该使用 `ThreadSafeFury` 代替 `FuryBuilder#buildThreadSafeFury()`。
+如果您在多个线程中使用共享的 Fory 实例,您应该使用 `ThreadSafeFury` 代替 `FuryBuilder#buildThreadSafeFury()`。
## 序列化 case 对象
```scala
case class Person(github: String, age: Int, id: Long)
val p = Person("https://github.com/chaokunyang", 18, 1)
-println(fury.deserialize(fury.serialize(p)))
-println(fury.deserializeJavaObject(fury.serializeJavaObject(p)))
+println(fory.deserialize(fory.serialize(p)))
+println(fory.deserializeJavaObject(fory.serializeJavaObject(p)))
```
## 序列化 pojo
@@ -64,7 +64,7 @@ println(fury.deserializeJavaObject(fury.serializeJavaObject(p)))
class Foo(f1: Int, f2: String) {
override def toString: String = s"Foo($f1, $f2)"
}
-println(fury.deserialize(fury.serialize(Foo(1, "chaokunyang"))))
+println(fory.deserialize(fory.serialize(Foo(1, "chaokunyang"))))
```
## 序列化对象单例
@@ -72,8 +72,8 @@ println(fury.deserialize(fury.serialize(Foo(1, "chaokunyang"))))
```scala
object singleton {
}
-val o1 = fury.deserialize(fury.serialize(singleton))
-val o2 = fury.deserialize(fury.serialize(singleton))
+val o1 = fory.deserialize(fory.serialize(singleton))
+val o2 = fory.deserialize(fory.serialize(singleton))
println(o1 == o2)
```
@@ -83,18 +83,18 @@ println(o1 == o2)
val seq = Seq(1,2)
val list = List("a", "b")
val map = Map("a" -> 1, "b" -> 2)
-println(fury.deserialize(fury.serialize(seq)))
-println(fury.deserialize(fury.serialize(list)))
-println(fury.deserialize(fury.serialize(map)))
+println(fory.deserialize(fory.serialize(seq)))
+println(fory.deserialize(fory.serialize(list)))
+println(fory.deserialize(fory.serialize(map)))
```
## 序列化元组
```scala
val tuple = Tuple2(100, 10000L)
-println(fury.deserialize(fury.serialize(tuple)))
+println(fory.deserialize(fory.serialize(tuple)))
val tuple = Tuple4(100, 10000L, 10000L, "str")
-println(fury.deserialize(fury.serialize(tuple)))
+println(fory.deserialize(fory.serialize(tuple)))
```
## 序列化枚举
@@ -103,7 +103,7 @@ println(fury.deserialize(fury.serialize(tuple)))
```scala
enum Color { case Red, Green, Blue }
-println(fury.deserialize(fury.serialize(Color.Green)))
+println(fory.deserialize(fory.serialize(Color.Green)))
```
### Scala2 枚举
@@ -113,26 +113,26 @@ object ColorEnum extends Enumeration {
type ColorEnum = Value
val Red, Green, Blue = Value
}
-println(fury.deserialize(fury.serialize(ColorEnum.Green)))
+println(fory.deserialize(fory.serialize(ColorEnum.Green)))
```
## 序列化 Option 类型
```scala
val opt: Option[Long] = Some(100)
-println(fury.deserialize(fury.serialize(opt)))
+println(fory.deserialize(fory.serialize(opt)))
val opt1: Option[Long] = None
-println(fury.deserialize(fury.serialize(opt1)))
+println(fory.deserialize(fory.serialize(opt1)))
```
## 性能
- `pojo/bean/case/object` Scala 对 Apache Fury JIT 的支持很好,性能与 Apache Fury Java 一样优异。
+ `pojo/bean/case/object` Scala 对 Apache Fory JIT 的支持很好,性能与 Apache Fory Java 一样优异。
-Scala 集合和泛型不遵循 Java 集合框架,并且未与当前发行版中的 Apache Fury JIT 完全集成。性能不会像 Java 的 Fury collections 序列化那么好。
+Scala 集合和泛型不遵循 Java 集合框架,并且未与当前发行版中的 Apache Fory JIT 完全集成。性能不会像 Java 的 Fory collections 序列化那么好。
-scala 集合的执行将调用 Java 序列化 API `writeObject/readObject/writeReplace/readResolve/readObjectNoData/Externalizable` 和 Fury `ObjectStream` 实现。虽然 `org.apache.fury.serializer.ObjectStreamSerializer` 比 JDK `ObjectOutputStream/ObjectInputStream` 快很多,但它仍然不知道如何使用 Scala 集合泛型。
+scala 集合的执行将调用 Java 序列化 API `writeObject/readObject/writeReplace/readResolve/readObjectNoData/Externalizable` 和 Fory `ObjectStream` 实现。虽然 `org.apache.fory.serializer.ObjectStreamSerializer` 比 JDK `ObjectOutputStream/ObjectInputStream` 快很多,但它仍然不知道如何使用 Scala 集合泛型。
-未来我们计划为 Scala 类型提供更多优化,敬请期待,更多信息请参看 [#682](https://github.com/apache/fury/issues/682)!
+未来我们计划为 Scala 类型提供更多优化,敬请期待,更多信息请参看 [#682](https://github.com/apache/fory/issues/682)!
-Scala 集合序列化已在 [#1073](https://github.com/apache/fury/pull/1073) 完成 ,如果您想获得更好的性能,请使用 Apache Fury snapshot 版本。
+Scala 集合序列化已在 [#1073](https://github.com/apache/fory/pull/1073) 完成 ,如果您想获得更好的性能,请使用 Apache Fory snapshot 版本。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/xlang_serialization_guide.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/xlang_serialization_guide.md
index dce38676..c97827ff 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/xlang_serialization_guide.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/xlang_serialization_guide.md
@@ -13,25 +13,25 @@ Apache Fury可以自动序列化编程语言的常见数据类型:primitive nu
**Java**
```java
-import org.apache.fury.*;
-import org.apache.fury.config.*;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
import java.util.*;
public class Example1 {
public static void main(String[] args) {
- Fury fury = Fury.builder().withLanguage(Language.XLANG).build();
+ Fory fory = Fory.builder().withLanguage(Language.XLANG).build();
List<Object> list = ofArrayList(true, false, "str", -1.1, 1, new int[100], new double[20]);
- byte[] bytes = fury.serialize(list);
+ byte[] bytes = fory.serialize(list);
// bytes can be data serialized by other languages.
- fury.deserialize(bytes);
+ fory.deserialize(bytes);
Map<Object, Object> map = new HashMap<>();
map.put("k1", "v1");
map.put("k2", list);
map.put("k3", -1);
- bytes = fury.serialize(map);
+ bytes = fory.serialize(map);
// bytes can be data serialized by other languages.
- fury.deserialize(bytes);
+ fory.deserialize(bytes);
}
}
```
@@ -42,16 +42,16 @@ public class Example1 {
import pyfury
import numpy as np
-fury = pyfury.Fury()
+fory = pyfury.Fory()
object_list = [True, False, "str", -1.1, 1,
np.full(100, 0, dtype=np.int32), np.full(20, 0.0, dtype=np.double)]
-data = fury.serialize(object_list)
+data = fory.serialize(object_list)
# bytes can be data serialized by other languages.
-new_list = fury.deserialize(data)
+new_list = fory.deserialize(data)
object_map = {"k1": "v1", "k2": object_list, "k3": -1}
-data = fury.serialize(object_map)
+data = fory.serialize(object_map)
# bytes can be data serialized by other languages.
-new_map = fury.deserialize(data)
+new_map = fory.deserialize(data)
print(new_map)
```
@@ -60,19 +60,19 @@ print(new_map)
```go
package main
-import furygo "github.com/apache/fury/fury/go/fury"
+import furygo "github.com/apache/fory/fory/go/fory"
import "fmt"
func main() {
list := []interface{}{true, false, "str", -1.1, 1, make([]int32, 10), make([]float64, 20)}
- fury := furygo.NewFury()
- bytes, err := fury.Marshal(list)
+ fory := furygo.NewFury()
+ bytes, err := fory.Marshal(list)
if err != nil {
panic(err)
}
var newValue interface{}
// bytes can be data serialized by other languages.
- if err := fury.Unmarshal(bytes, &newValue); err != nil {
+ if err := fory.Unmarshal(bytes, &newValue); err != nil {
panic(err)
}
fmt.Println(newValue)
@@ -81,12 +81,12 @@ func main() {
"k2": list,
"k3": -1,
}
- bytes, err = fury.Marshal(dict)
+ bytes, err = fory.Marshal(dict)
if err != nil {
panic(err)
}
// bytes can be data serialized by other languages.
- if err := fury.Unmarshal(bytes, &newValue); err != nil {
+ if err := fory.Unmarshal(bytes, &newValue); err != nil {
panic(err)
}
fmt.Println(newValue)
@@ -96,7 +96,7 @@ func main() {
**JavaScript**
```javascript
-import Fury from '@furyjs/fury';
+import Fory from '@furyjs/fory';
/**
* @furyjs/hps use v8's fast-calls-api that can be called directly by jit, ensure that the version of Node is 20 or above.
@@ -105,9 +105,9 @@ import Fury from '@furyjs/fury';
**/
import hps from '@furyjs/hps';
-const fury = new Fury({ hps });
-const input = fury.serialize('hello fury');
-const result = fury.deserialize(input);
+const fory = new Fory({ hps });
+const input = fory.serialize('hello fory');
+const result = fory.deserialize(input);
console.log(result);
```
@@ -115,7 +115,7 @@ console.log(result);
```rust
use chrono::{NaiveDate, NaiveDateTime};
-use fury::{from_buffer, to_buffer, Fury};
+use fory::{from_buffer, to_buffer, Fory};
use std::collections::HashMap;
fn run() {
@@ -132,8 +132,8 @@ fn run() {
**Java**
```java
-import org.apache.fury.*;
-import org.apache.fury.config.*;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
import java.util.*;
public class Example2 {
@@ -177,14 +177,14 @@ public class Example2 {
return obj;
}
- // mvn exec:java -Dexec.mainClass="org.apache.fury.examples.Example2"
+ // mvn exec:java -Dexec.mainClass="org.apache.fory.examples.Example2"
public static void main(String[] args) {
- Fury fury = Fury.builder().withLanguage(Language.XLANG).build();
- fury.register(SomeClass1.class, "example.SomeClass1");
- fury.register(SomeClass2.class, "example.SomeClass2");
- byte[] bytes = fury.serialize(createObject());
+ Fory fory = Fory.builder().withLanguage(Language.XLANG).build();
+ fory.register(SomeClass1.class, "example.SomeClass1");
+ fory.register(SomeClass2.class, "example.SomeClass2");
+ byte[] bytes = fory.serialize(createObject());
// bytes can be data serialized by other languages.
- System.out.println(fury.deserialize(bytes));
+ System.out.println(fory.deserialize(bytes));
}
}
```
@@ -224,7 +224,7 @@ class SomeClass2:
if __name__ == "__main__":
- f = pyfury.Fury()
+ f = pyfury.Fory()
f.register_class(SomeClass1, type_tag="example.SomeClass1")
f.register_class(SomeClass2, type_tag="example.SomeClass2")
obj1 = SomeClass1(f1=True, f2={-1: 2})
@@ -252,7 +252,7 @@ if __name__ == "__main__":
```go
package main
-import furygo "github.com/apache/fury/fury/go/fury"
+import furygo "github.com/apache/fory/fory/go/fory"
import "fmt"
func main() {
@@ -268,18 +268,18 @@ func main() {
F9 float32
F10 float64
F11 []int16
- F12 fury.Int16Slice
+ F12 fory.Int16Slice
}
type SomeClas2 struct {
F1 interface{}
F2 map[int8]int32
}
- fury := furygo.NewFury()
- if err := fury.RegisterTagType("example.SomeClass1", SomeClass1{}); err != nil {
+ fory := furygo.NewFury()
+ if err := fory.RegisterTagType("example.SomeClass1", SomeClass1{}); err != nil {
panic(err)
}
- if err := fury.RegisterTagType("example.SomeClass2", SomeClass2{}); err != nil {
+ if err := fory.RegisterTagType("example.SomeClass2", SomeClass2{}); err != nil {
panic(err)
}
obj1 := &SomeClass1{}
@@ -291,21 +291,21 @@ func main() {
obj.F3 = []interface{}{"abc", "abc"}
f4 := map[int8]int32{1: 2}
obj.F4 = f4
- obj.F5 = fury.MaxInt8
- obj.F6 = fury.MaxInt16
- obj.F7 = fury.MaxInt32
- obj.F8 = fury.MaxInt64
+ obj.F5 = fory.MaxInt8
+ obj.F6 = fory.MaxInt16
+ obj.F7 = fory.MaxInt32
+ obj.F8 = fory.MaxInt64
obj.F9 = 1.0 / 2
obj.F10 = 1 / 3.0
obj.F11 = []int16{1, 2}
obj.F12 = []int16{-1, 4}
- bytes, err := fury.Marshal(obj);
+ bytes, err := fory.Marshal(obj);
if err != nil {
panic(err)
}
var newValue interface{}
// bytes can be data serialized by other languages.
- if err := fury.Unmarshal(bytes, &newValue); err != nil {
+ if err := fory.Unmarshal(bytes, &newValue); err != nil {
panic(err)
}
fmt.Println(newValue)
@@ -315,7 +315,7 @@ func main() {
**JavaScript**
```javascript
-import Fury, { Type, InternalSerializerType } from '@furyjs/fury';
+import Fory, { Type, InternalSerializerType } from '@furyjs/fory';
/**
* @furyjs/hps use v8's fast-calls-api that can be called directly by jit, ensure that the version of Node is 20 or above.
@@ -328,9 +328,9 @@ import hps from '@furyjs/hps';
const description = Type.object('example.foo', {
foo: Type.string(),
});
-const fury = new Fury({ hps });
-const { serialize, deserialize } = fury.registerSerializer(description);
-const input = serialize({ foo: 'hello fury' });
+const fory = new Fory({ hps });
+const { serialize, deserialize } = fory.registerSerializer(description);
+const input = serialize({ foo: 'hello fory' });
const result = deserialize(input);
console.log(result);
```
@@ -339,18 +339,18 @@ console.log(result);
```rust
use chrono::{NaiveDate, NaiveDateTime};
-use fury::{from_buffer, to_buffer, Fury};
+use fory::{from_buffer, to_buffer, Fory};
use std::collections::HashMap;
#[test]
fn complex_struct() {
- #[derive(Fury, Debug, PartialEq)]
+ #[derive(Fory, Debug, PartialEq)]
#[tag("example.foo2")]
struct Animal {
category: String,
}
- #[derive(Fury, Debug, PartialEq)]
+ #[derive(Fory, Debug, PartialEq)]
#[tag("example.foo")]
struct Person {
c1: Vec<u8>, // binary
@@ -401,8 +401,8 @@ fn complex_struct() {
**Java**
```java
-import org.apache.fury.*;
-import org.apache.fury.config.*;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
import java.util.*;
public class ReferenceExample {
@@ -420,14 +420,14 @@ public class ReferenceExample {
return obj;
}
- // mvn exec:java -Dexec.mainClass="org.apache.fury.examples.ReferenceExample"
+ // mvn exec:java -Dexec.mainClass="org.apache.fory.examples.ReferenceExample"
public static void main(String[] args) {
- Fury fury = Fury.builder().withLanguage(Language.XLANG)
+ Fory fory = Fory.builder().withLanguage(Language.XLANG)
.withRefTracking(true).build();
- fury.register(SomeClass.class, "example.SomeClass");
- byte[] bytes = fury.serialize(createObject());
+ fory.register(SomeClass.class, "example.SomeClass");
+ byte[] bytes = fory.serialize(createObject());
// bytes can be data serialized by other languages.
- System.out.println(fury.deserialize(bytes));
+ System.out.println(fory.deserialize(bytes));
}
}
```
@@ -443,14 +443,14 @@ class SomeClass:
f2: Dict[str, str]
f3: Dict[str, str]
-fury = pyfury.Fury(ref_tracking=True)
-fury.register_class(SomeClass, type_tag="example.SomeClass")
+fory = pyfury.Fory(ref_tracking=True)
+fory.register_class(SomeClass, type_tag="example.SomeClass")
obj = SomeClass()
obj.f2 = {"k1": "v1", "k2": "v2"}
obj.f1, obj.f3 = obj, obj.f2
-data = fury.serialize(obj)
+data = fory.serialize(obj)
# bytes can be data serialized by other languages.
-print(fury.deserialize(data))
+print(fory.deserialize(data))
```
**Golang**
@@ -458,7 +458,7 @@ print(fury.deserialize(data))
```go
package main
-import furygo "github.com/apache/fury/fury/go/fury"
+import furygo "github.com/apache/fory/fory/go/fory"
import "fmt"
func main() {
@@ -467,19 +467,19 @@ func main() {
F2 map[string]string
F3 map[string]string
}
- fury := furygo.NewFury(true)
- if err := fury.RegisterTagType("example.SomeClass", SomeClass{}); err != nil {
+ fory := furygo.NewFury(true)
+ if err := fory.RegisterTagType("example.SomeClass", SomeClass{}); err != nil {
panic(err)
}
value := &SomeClass{F2: map[string]string{"k1": "v1", "k2": "v2"}}
value.F3 = value.F2
value.F1 = value
- bytes, err := fury.Marshal(value)
+ bytes, err := fory.Marshal(value)
if err != nil {
}
var newValue interface{}
// bytes can be data serialized by other languages.
- if err := fury.Unmarshal(bytes, &newValue); err != nil {
+ if err := fory.Unmarshal(bytes, &newValue); err != nil {
panic(err)
}
fmt.Println(newValue)
@@ -489,7 +489,7 @@ func main() {
**JavaScript**
```javascript
-import Fury, { Type } from '@furyjs/fury';
+import Fory, { Type } from '@furyjs/fory';
/**
* @furyjs/hps use v8's fast-calls-api that can be called directly by jit, ensure that the version of Node is 20 or above.
* Experimental feature, installation success cannot be guaranteed at this moment
@@ -502,10 +502,10 @@ const description = Type.object('example.foo', {
bar: Type.object('example.foo'),
});
-const fury = new Fury({ hps });
-const { serialize, deserialize } = fury.registerSerializer(description);
+const fory = new Fory({ hps });
+const { serialize, deserialize } = fory.registerSerializer(description);
const data: any = {
- foo: 'hello fury',
+ foo: 'hello fory',
};
data.bar = data;
const input = serialize(data);
@@ -521,25 +521,25 @@ Reference cannot be implemented because of rust ownership restrictions
**Java**
```java
-import org.apache.fury.*;
-import org.apache.fury.config.*;
-import org.apache.fury.serializers.BufferObject;
-import org.apache.fury.memory.MemoryBuffer;
+import org.apache.fory.*;
+import org.apache.fory.config.*;
+import org.apache.fory.serializers.BufferObject;
+import org.apache.fory.memory.MemoryBuffer;
import java.util.*;
import java.util.stream.Collectors;
public class ZeroCopyExample {
- // mvn exec:java -Dexec.mainClass="io.ray.fury.examples.ZeroCopyExample"
+ // mvn exec:java -Dexec.mainClass="io.ray.fory.examples.ZeroCopyExample"
public static void main(String[] args) {
- Fury fury = Fury.builder().withLanguage(Language.XLANG).build();
+ Fory fory = Fory.builder().withLanguage(Language.XLANG).build();
List<Object> list = ofArrayList("str", new byte[1000], new int[100], new double[100]);
Collection<BufferObject> bufferObjects = new ArrayList<>();
- byte[] bytes = fury.serialize(list, e -> !bufferObjects.add(e));
+ byte[] bytes = fory.serialize(list, e -> !bufferObjects.add(e));
// bytes can be data serialized by other languages.
List<MemoryBuffer> buffers = bufferObjects.stream()
.map(BufferObject::toBuffer).collect(Collectors.toList());
- System.out.println(fury.deserialize(bytes, buffers));
+ System.out.println(fory.deserialize(bytes, buffers));
}
}
```
@@ -551,14 +551,14 @@ import array
import pyfury
import numpy as np
-fury = pyfury.Fury()
+fory = pyfury.Fory()
list_ = ["str", bytes(bytearray(1000)),
array.array("i", range(100)), np.full(100, 0.0, dtype=np.double)]
serialized_objects = []
-data = fury.serialize(list_, buffer_callback=serialized_objects.append)
+data = fory.serialize(list_, buffer_callback=serialized_objects.append)
buffers = [o.to_buffer() for o in serialized_objects]
# bytes can be data serialized by other languages.
-print(fury.deserialize(data, buffers=buffers))
+print(fory.deserialize(data, buffers=buffers))
```
**Golang**
@@ -566,24 +566,24 @@ print(fury.deserialize(data, buffers=buffers))
```go
package main
-import furygo "github.com/apache/fury/fury/go/fury"
+import furygo "github.com/apache/fory/fory/go/fory"
import "fmt"
func main() {
- fury := furygo.NewFury()
+ fory := furygo.NewFury()
list := []interface{}{"str", make([]byte, 1000)}
- buf := fury.NewByteBuffer(nil)
- var bufferObjects []fury.BufferObject
- fury.Serialize(buf, list, func(o fury.BufferObject) bool {
+ buf := fory.NewByteBuffer(nil)
+ var bufferObjects []fory.BufferObject
+ fory.Serialize(buf, list, func(o fory.BufferObject) bool {
bufferObjects = append(bufferObjects, o)
return false
})
var newList []interface{}
- var buffers []*fury.ByteBuffer
+ var buffers []*fory.ByteBuffer
for _, o := range bufferObjects {
buffers = append(buffers, o.ToBuffer())
}
- if err := fury.Deserialize(buf, &newList, buffers); err != nil {
+ if err := fory.Deserialize(buf, &newList, buffers); err != nil {
panic(err)
}
fmt.Println(newList)
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/xlang_type_mapping.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/xlang_type_mapping.md
index 82b36cb8..f7d5dcfa 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/xlang_type_mapping.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/docs/03-Guide/xlang_type_mapping.md
@@ -6,29 +6,29 @@ id: xlang_type_mapping
注意:
-- 有关类型定义,请参阅 [Spec 中的类型系统](https://fury.apache.org/docs/specification/fury_xlang_serialization_spec#type-systems)
+- 有关类型定义,请参阅 [Spec 中的类型系统](https://fory.apache.org/docs/specification/fury_xlang_serialization_spec#type-systems)
- `int16_t[n]/vector<T>` 表示 `int16_t[n]/vector<int16_t>`.
- 跨语言序列化并不稳定,请勿在生产环境中使用。
## Type Mapping
-| Fury 类型 | Fury 类型 ID | Java | Python | Javascript | C++ | Golang | Rust |
+| Fory 类型 | Fory 类型 ID | Java | Python | Javascript | C++ | Golang | Rust |
|--------------------|--------------|-----------------|----------------------|-----------------|--------------------------------|------------------|------------------|
| bool | 1 | bool/Boolean | bool | Boolean | bool | bool | bool |
| int8 | 2 | byte/Byte | int/pyfury.Int8 | Type.int8() | int8_t | int8 | i8 |
| int16 | 3 | short/Short | int/pyfury.Int16 | Type.int16() | int16_t | int16 | i6 |
| int32 | 4 | int/Integer | int/pyfury.Int32 | Type.int32() | int32_t | int32 | i32 |
-| var_int32 | 5 | int/Integer | int/pyfury.VarInt32 | Type.varint32() | fury::varint32_t | fury.varint32 | fury::varint32 |
+| var_int32 | 5 | int/Integer | int/pyfury.VarInt32 | Type.varint32() | fory::varint32_t | fory.varint32 | fory::varint32 |
| int64 | 6 | long/Long | int/pyfury.Int64 | Type.int64() | int64_t | int64 | i64 |
-| var_int64 | 7 | long/Long | int/pyfury.VarInt64 | Type.varint64() | fury::varint64_t | fury.varint64 | fury::varint64 |
-| sli_int64 | 8 | long/Long | int/pyfury.SliInt64 | Type.sliint64() | fury::sliint64_t | fury.sliint64 | fury::sliint64 |
-| float16 | 9 | float/Float | float/pyfury.Float16 | Type.float16() | fury::float16_t | fury.float16 | fury::f16 |
+| var_int64 | 7 | long/Long | int/pyfury.VarInt64 | Type.varint64() | fory::varint64_t | fory.varint64 | fory::varint64 |
+| sli_int64 | 8 | long/Long | int/pyfury.SliInt64 | Type.sliint64() | fory::sliint64_t | fory.sliint64 | fory::sliint64 |
+| float16 | 9 | float/Float | float/pyfury.Float16 | Type.float16() | fory::float16_t | fory.float16 | fory::f16 |
| float32 | 10 | float/Float | float/pyfury.Float32 | Type.float32() | float | float32 | f32 |
| float64 | 11 | double/Double | float/pyfury.Float64 | Type.float64() | double | float64 | f64 |
| string | 12 | String | str | String | string | string | String/str |
| enum | 13 | Enum subclasses | enum subclasses | / | enum | / | enum |
| list | 14 | List/Collection | list/tuple | array | vector | slice | Vec |
-| set | 15 | Set | set | / | set | fury.Set | Set |
+| set | 15 | Set | set | / | set | fory.Set | Set |
| map | 16 | Map | dict | Map | unordered_map | map | HashMap |
| duration | 17 | Duration | timedelta | Number | duration | Duration | Duration |
| timestamp | 18 | Instant | datetime | Number | std::chrono::nanoseconds | Time | DateTime |
@@ -40,7 +40,7 @@ id: xlang_type_mapping
| int16_array | 24 | short[] | ndarray(int16) | / | `int16_t[n]/vector<T>` | `[n]int16/[]T` | `Vec<i16>` |
| int32_array | 25 | int[] | ndarray(int32) | / | `int32_t[n]/vector<T>` | `[n]int32/[]T` | `Vec<i32>` |
| int64_array | 26 | long[] | ndarray(int64) | / | `int64_t[n]/vector<T>` | `[n]int64/[]T` | `Vec<i64>` |
-| float16_array | 27 | float[] | ndarray(float16) | / | `fury::float16_t[n]/vector<T>` | `[n]float16/[]T` | `Vec<fury::f16>` |
+| float16_array | 27 | float[] | ndarray(float16) | / | `fory::float16_t[n]/vector<T>` | `[n]float16/[]T` | `Vec<fory::f16>` |
| float32_array | 28 | float[] | ndarray(float32) | / | `float[n]/vector<T>` | `[n]float32/[]T` | `Vec<f32>` |
| float64_array | 29 | double[] | ndarray(float64) | / | `double[n]/vector<T>` | `[n]float64/[]T` | `Vec<f64>` |
| tensor | 30 | / | / | / | / | / | / |
@@ -52,9 +52,9 @@ id: xlang_type_mapping
由于语言类型系统之间的差异,这些类型无法在语言之间一对一地映射。
-如果用户看到一种语言中的一种类型对应 Apache Fury 类型系统中的多种类型。
+如果用户看到一种语言中的一种类型对应 Apache Fory 类型系统中的多种类型。
-例如:java 中的 `long` 类型对应 `int64/varint64/sliint64` 类型。类型为 `int64/varint64/sliint64` 这意味着该语言缺少某些类型,用户在使用 Fury 时必须提供额外的类型信息。
+例如:java 中的 `long` 类型对应 `int64/varint64/sliint64` 类型。类型为 `int64/varint64/sliint64` 这意味着该语言缺少某些类型,用户在使用 Fory 时必须提供额外的类型信息。
### 类型注解
@@ -89,7 +89,7 @@ id: xlang_type_mapping
## 类型包装器
-如果类型不是类的字段,用户必须用 Fury 类型来包装该类型,以传递额外的类型信息。
+如果类型不是类的字段,用户必须用 Fory 类型来包装该类型,以传递额外的类型信息。
-例如:假设 Apache Fury Java 提供了 `VarInt64` 类型,当用户调用 `fury.serialize(long_value)` 时,需要像下面这样调用
-调用 `fury.serialize(new VarInt64(long_value))`。
+例如:假设 Apache Fory Java 提供了 `VarInt64` 类型,当用户调用 `fory.serialize(long_value)` 时,需要像下面这样调用
+调用 `fory.serialize(new VarInt64(long_value))`。
diff --git a/i18n/zh-CN/docusaurus-theme-classic/footer.json b/i18n/zh-CN/docusaurus-theme-classic/footer.json
index 5708449e..0ff16097 100644
--- a/i18n/zh-CN/docusaurus-theme-classic/footer.json
+++ b/i18n/zh-CN/docusaurus-theme-classic/footer.json
@@ -13,11 +13,11 @@
},
"link.item.label.Mailing list": {
"message": "邮件列表",
- "description": "The label of footer link with label=Mailing list linking to https://lists.apache.org/list.html?dev@fury.apache.org"
+ "description": "The label of footer link with label=Mailing list linking to https://lists.apache.org/list.html?dev@fory.apache.org"
},
"link.item.label.Slack": {
"message": "Slack",
- "description": "The label of footer link with label=Slack linking to https://join.slack.com/t/fury-project/shared_invite/zt-1u8soj4qc-ieYEu7ciHOqA2mo47llS8A"
+ "description": "The label of footer link with label=Slack linking to https://join.slack.com/t/fory-project/shared_invite/zt-1u8soj4qc-ieYEu7ciHOqA2mo47llS8A"
},
"link.item.label.Twitter": {
"message": "Twitter",
@@ -35,20 +35,20 @@
"message": "基准测试",
"description": "The label of footer link with label=Benchmark linking to /docs/docs/introduction/benchmark"
},
- "link.item.label.Fury": {
- "message": "Fury",
- "description": "The label of footer link with label=Fury linking to https://github.com/apache/fury"
+ "link.item.label.Fory": {
+ "message": "Fory",
+ "description": "The label of footer link with label=Fory linking to https://github.com/apache/fory"
},
"link.item.label.Website": {
"message": "网站",
- "description": "The label of footer link with label=Website linking to https://github.com/apache/fury-site"
+ "description": "The label of footer link with label=Website linking to https://github.com/apache/fory-site"
},
"copyright": {
- "message": "<div>\n <p> Apache Fury 是 Apache 软件基金会(ASF)孵化过程中的一个项目,由 Apache Incubator 赞助。孵化是所有新接受项目所需的,直到进一步审查表明基础设施、通信和决策过程已经稳定到与其他成功的 ASF 项目一致的程度。虽然孵化状态不一定反映代码的完整性或稳定性,但它确实表明该项目尚未完全获得 ASF 的认可。 </p>\n <p>\n 版权所有 © 2024 The Apache Software Foundation,许可证:Apache License, Version 2.0。 <br/>\n Apache、Apache 项目的名称以及羽毛标志是 Apache 软件基金会在美国和/或其他国家的注册商标或商标。\n </p>\n </div>",
+ "message": "<div>\n <p> Apache Fory 是 Apache 软件基金会(ASF)孵化过程中的一个项目,由 Apache Incubator 赞助。孵化是所有新接受项目所需的,直到进一步审查表明基础设施、通信和决策过程已经稳定到与其他成功的 ASF 项目一致的程度。虽然孵化状态不一定反映代码的完整性或稳定性,但它确实表明该项目尚未完全获得 ASF 的认可。 </p>\n <p>\n 版权所有 © 2024 The Apache Software Foundation,许可证:Apache License, Version 2.0。 <br/>\n Apache、Apache 项目的名称以及羽毛标志是 Apache 软件基金会在美国和/或其他国家的注册商标或商标。\n </p>\n </div>",
"description": "The footer copyright"
},
"logo.alt": {
"message": "Apache Incubator 标志",
"description": "The alt text of footer logo"
}
-}
+}
\ No newline at end of file
diff --git a/i18n/zh-CN/docusaurus-theme-classic/navbar.json b/i18n/zh-CN/docusaurus-theme-classic/navbar.json
index de88a1f4..9a71ec87 100644
--- a/i18n/zh-CN/docusaurus-theme-classic/navbar.json
+++ b/i18n/zh-CN/docusaurus-theme-classic/navbar.json
@@ -1,6 +1,6 @@
{
"logo.alt": {
- "message": "Fury Logo",
+ "message": "Fory Logo",
"description": "The alt text of navbar logo"
},
"item.label.Start": {
diff --git a/package-lock.json b/package-lock.json
index fb8885e0..f1e4bdab 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,11 +1,11 @@
{
- "name": "fury-site",
+ "name": "fory-site",
"version": "0.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
- "name": "fury-site",
+ "name": "fory-site",
"version": "0.0.0",
"dependencies": {
"@docusaurus/core": "3.0.1",
@@ -16770,4 +16770,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/package.json b/package.json
index 6b1c0a23..205cdc5c 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "fury-site",
+ "name": "fory-site",
"version": "0.0.0",
"private": true,
"scripts": {
@@ -56,4 +56,4 @@
"engines": {
"node": ">=18.0"
}
-}
+}
\ No newline at end of file
diff --git a/public/benchmarks/README.md b/public/benchmarks/README.md
index d380e518..bd0fb0ab 100644
--- a/public/benchmarks/README.md
+++ b/public/benchmarks/README.md
@@ -205,38 +205,38 @@ But if you serialize data between processes on same node and use shared-memory,
| Fst | serialize | directBuffer | STRUCT | True | 762088.935404 |
| Fst | serialize | directBuffer | STRUCT2 | False | 365317.705376 |
| Fst | serialize | directBuffer | STRUCT2 | True | 370851.880711 |
-| Fury | serialize | array | SAMPLE | False | 3570966.469087 |
-| Fury | serialize | array | SAMPLE | True | 1767693.83509 |
-| Fury | serialize | array | MEDIA_CONTENT | False | 3031642.924542 |
-| Fury | serialize | array | MEDIA_CONTENT | True | 2450384.600246 |
-| Fury | serialize | array | STRUCT | False | 7501415.56726 |
-| Fury | serialize | array | STRUCT | True | 6264439.154428 |
-| Fury | serialize | array | STRUCT2 | False | 3586126.623874 |
-| Fury | serialize | array | STRUCT2 | True | 3306474.506382 |
-| Fury | serialize | directBuffer | SAMPLE | False | 3684487.760591 |
-| Fury | serialize | directBuffer | SAMPLE | True | 1826456.709478 |
-| Fury | serialize | directBuffer | MEDIA_CONTENT | False | 2479862.129632 |
-| Fury | serialize | directBuffer | MEDIA_CONTENT | True | 1938527.588331 |
-| Fury | serialize | directBuffer | STRUCT | False | 9834243.243204 |
-| Fury | serialize | directBuffer | STRUCT | True | 7551780.823133 |
-| Fury | serialize | directBuffer | STRUCT2 | False | 2643155.135327 |
-| Fury | serialize | directBuffer | STRUCT2 | True | 2391110.083108 |
-| Fury | serialize_compatible | array | SAMPLE | False | 3604596.465625 |
-| Fury | serialize_compatible | array | SAMPLE | True | 1619648.337293 |
-| Fury | serialize_compatible | array | MEDIA_CONTENT | False | 1679272.036243 |
-| Fury | serialize_compatible | array | MEDIA_CONTENT | True | 1406736.538716 |
-| Fury | serialize_compatible | array | STRUCT | False | 3530406.108869 |
-| Fury | serialize_compatible | array | STRUCT | True | 3293059.098127 |
-| Fury | serialize_compatible | array | STRUCT2 | False | 2773368.99768 |
-| Fury | serialize_compatible | array | STRUCT2 | True | 2564174.550276 |
-| Fury | serialize_compatible | directBuffer | SAMPLE | False | 3484533.218305 |
-| Fury | serialize_compatible | directBuffer | SAMPLE | True | 1730824.630648 |
-| Fury | serialize_compatible | directBuffer | MEDIA_CONTENT | False | 1710680.937387 |
-| Fury | serialize_compatible | directBuffer | MEDIA_CONTENT | True | 1149999.473994 |
-| Fury | serialize_compatible | directBuffer | STRUCT | False | 2653169.568374 |
-| Fury | serialize_compatible | directBuffer | STRUCT | True | 2393817.762938 |
-| Fury | serialize_compatible | directBuffer | STRUCT2 | False | 1912402.937879 |
-| Fury | serialize_compatible | directBuffer | STRUCT2 | True | 1848338.968058 |
+| Fory | serialize | array | SAMPLE | False | 3570966.469087 |
+| Fory | serialize | array | SAMPLE | True | 1767693.83509 |
+| Fory | serialize | array | MEDIA_CONTENT | False | 3031642.924542 |
+| Fory | serialize | array | MEDIA_CONTENT | True | 2450384.600246 |
+| Fory | serialize | array | STRUCT | False | 7501415.56726 |
+| Fory | serialize | array | STRUCT | True | 6264439.154428 |
+| Fory | serialize | array | STRUCT2 | False | 3586126.623874 |
+| Fory | serialize | array | STRUCT2 | True | 3306474.506382 |
+| Fory | serialize | directBuffer | SAMPLE | False | 3684487.760591 |
+| Fory | serialize | directBuffer | SAMPLE | True | 1826456.709478 |
+| Fory | serialize | directBuffer | MEDIA_CONTENT | False | 2479862.129632 |
+| Fory | serialize | directBuffer | MEDIA_CONTENT | True | 1938527.588331 |
+| Fory | serialize | directBuffer | STRUCT | False | 9834243.243204 |
+| Fory | serialize | directBuffer | STRUCT | True | 7551780.823133 |
+| Fory | serialize | directBuffer | STRUCT2 | False | 2643155.135327 |
+| Fory | serialize | directBuffer | STRUCT2 | True | 2391110.083108 |
+| Fory | serialize_compatible | array | SAMPLE | False | 3604596.465625 |
+| Fory | serialize_compatible | array | SAMPLE | True | 1619648.337293 |
+| Fory | serialize_compatible | array | MEDIA_CONTENT | False | 1679272.036243 |
+| Fory | serialize_compatible | array | MEDIA_CONTENT | True | 1406736.538716 |
+| Fory | serialize_compatible | array | STRUCT | False | 3530406.108869 |
+| Fory | serialize_compatible | array | STRUCT | True | 3293059.098127 |
+| Fory | serialize_compatible | array | STRUCT2 | False | 2773368.99768 |
+| Fory | serialize_compatible | array | STRUCT2 | True | 2564174.550276 |
+| Fory | serialize_compatible | directBuffer | SAMPLE | False | 3484533.218305 |
+| Fory | serialize_compatible | directBuffer | SAMPLE | True | 1730824.630648 |
+| Fory | serialize_compatible | directBuffer | MEDIA_CONTENT | False | 1710680.937387 |
+| Fory | serialize_compatible | directBuffer | MEDIA_CONTENT | True | 1149999.473994 |
+| Fory | serialize_compatible | directBuffer | STRUCT | False | 2653169.568374 |
+| Fory | serialize_compatible | directBuffer | STRUCT | True | 2393817.762938 |
+| Fory | serialize_compatible | directBuffer | STRUCT2 | False | 1912402.937879 |
+| Fory | serialize_compatible | directBuffer | STRUCT2 | True | 1848338.968058 |
| Furymetashared | serialize_compatible | array | SAMPLE | False | 4409055.687063 |
| Furymetashared | serialize_compatible | array | SAMPLE | True | 1840705.439334 |
| Furymetashared | serialize_compatible | array | MEDIA_CONTENT | False | 2992488.235281 |
@@ -357,38 +357,38 @@ But if you serialize data between processes on same node and use shared-memory,
| Fst | deserialize | directBuffer | STRUCT | True | 334574.303484 |
| Fst | deserialize | directBuffer | STRUCT2 | False | 262519.85881 |
| Fst | deserialize | directBuffer | STRUCT2 | True | 234973.637096 |
-| Fury | deserialize | array | SAMPLE | False | 2069988.624415 |
-| Fury | deserialize | array | SAMPLE | True | 1797942.442313 |
-| Fury | deserialize | array | MEDIA_CONTENT | False | 2054066.903469 |
-| Fury | deserialize | array | MEDIA_CONTENT | True | 1507767.206603 |
-| Fury | deserialize | array | STRUCT | False | 4595230.434552 |
-| Fury | deserialize | array | STRUCT | True | 4634753.596131 |
-| Fury | deserialize | array | STRUCT2 | False | 1126298.35955 |
-| Fury | deserialize | array | STRUCT2 | True | 1046649.083082 |
-| Fury | deserialize | directBuffer | SAMPLE | False | 2429791.078395 |
-| Fury | deserialize | directBuffer | SAMPLE | True | 1958815.397807 |
-| Fury | deserialize | directBuffer | MEDIA_CONTENT | False | 1502746.028159 |
-| Fury | deserialize | directBuffer | MEDIA_CONTENT | True | 1290593.975753 |
-| Fury | deserialize | directBuffer | STRUCT | False | 5012002.859236 |
-| Fury | deserialize | directBuffer | STRUCT | True | 4864329.316938 |
-| Fury | deserialize | directBuffer | STRUCT2 | False | 1117586.457565 |
-| Fury | deserialize | directBuffer | STRUCT2 | True | 1018277.848128 |
-| Fury | deserialize_compatible | array | SAMPLE | False | 2496046.895861 |
-| Fury | deserialize_compatible | array | SAMPLE | True | 1834139.395757 |
-| Fury | deserialize_compatible | array | MEDIA_CONTENT | False | 1441671.70632 |
-| Fury | deserialize_compatible | array | MEDIA_CONTENT | True | 1121136.039627 |
-| Fury | deserialize_compatible | array | STRUCT | False | 2110335.039275 |
-| Fury | deserialize_compatible | array | STRUCT | True | 2135681.982674 |
-| Fury | deserialize_compatible | array | STRUCT2 | False | 849507.176263 |
-| Fury | deserialize_compatible | array | STRUCT2 | True | 815120.319155 |
-| Fury | deserialize_compatible | directBuffer | SAMPLE | False | 2308111.633661 |
-| Fury | deserialize_compatible | directBuffer | SAMPLE | True | 1820490.585648 |
-| Fury | deserialize_compatible | directBuffer | MEDIA_CONTENT | False | 1256034.732514 |
-| Fury | deserialize_compatible | directBuffer | MEDIA_CONTENT | True | 1054942.751816 |
-| Fury | deserialize_compatible | directBuffer | STRUCT | False | 1596464.248141 |
-| Fury | deserialize_compatible | directBuffer | STRUCT | True | 1684681.074242 |
-| Fury | deserialize_compatible | directBuffer | STRUCT2 | False | 784036.589363 |
-| Fury | deserialize_compatible | directBuffer | STRUCT2 | True | 782679.662083 |
+| Fory | deserialize | array | SAMPLE | False | 2069988.624415 |
+| Fory | deserialize | array | SAMPLE | True | 1797942.442313 |
+| Fory | deserialize | array | MEDIA_CONTENT | False | 2054066.903469 |
+| Fory | deserialize | array | MEDIA_CONTENT | True | 1507767.206603 |
+| Fory | deserialize | array | STRUCT | False | 4595230.434552 |
+| Fory | deserialize | array | STRUCT | True | 4634753.596131 |
+| Fory | deserialize | array | STRUCT2 | False | 1126298.35955 |
+| Fory | deserialize | array | STRUCT2 | True | 1046649.083082 |
+| Fory | deserialize | directBuffer | SAMPLE | False | 2429791.078395 |
+| Fory | deserialize | directBuffer | SAMPLE | True | 1958815.397807 |
+| Fory | deserialize | directBuffer | MEDIA_CONTENT | False | 1502746.028159 |
+| Fory | deserialize | directBuffer | MEDIA_CONTENT | True | 1290593.975753 |
+| Fory | deserialize | directBuffer | STRUCT | False | 5012002.859236 |
+| Fory | deserialize | directBuffer | STRUCT | True | 4864329.316938 |
+| Fory | deserialize | directBuffer | STRUCT2 | False | 1117586.457565 |
+| Fory | deserialize | directBuffer | STRUCT2 | True | 1018277.848128 |
+| Fory | deserialize_compatible | array | SAMPLE | False | 2496046.895861 |
+| Fory | deserialize_compatible | array | SAMPLE | True | 1834139.395757 |
+| Fory | deserialize_compatible | array | MEDIA_CONTENT | False | 1441671.70632 |
+| Fory | deserialize_compatible | array | MEDIA_CONTENT | True | 1121136.039627 |
+| Fory | deserialize_compatible | array | STRUCT | False | 2110335.039275 |
+| Fory | deserialize_compatible | array | STRUCT | True | 2135681.982674 |
+| Fory | deserialize_compatible | array | STRUCT2 | False | 849507.176263 |
+| Fory | deserialize_compatible | array | STRUCT2 | True | 815120.319155 |
+| Fory | deserialize_compatible | directBuffer | SAMPLE | False | 2308111.633661 |
+| Fory | deserialize_compatible | directBuffer | SAMPLE | True | 1820490.585648 |
+| Fory | deserialize_compatible | directBuffer | MEDIA_CONTENT | False | 1256034.732514 |
+| Fory | deserialize_compatible | directBuffer | MEDIA_CONTENT | True | 1054942.751816 |
+| Fory | deserialize_compatible | directBuffer | STRUCT | False | 1596464.248141 |
+| Fory | deserialize_compatible | directBuffer | STRUCT | True | 1684681.074242 |
+| Fory | deserialize_compatible | directBuffer | STRUCT2 | False | 784036.589363 |
+| Fory | deserialize_compatible | directBuffer | STRUCT2 | True | 782679.662083 |
| Furymetashared | deserialize_compatible | array | SAMPLE | False | 2485564.396196 |
| Furymetashared | deserialize_compatible | array | SAMPLE | True | 2002938.794909 |
| Furymetashared | deserialize_compatible | array | MEDIA_CONTENT | False | 2479742.810882 |
@@ -522,30 +522,30 @@ But if you serialize data between processes on same node and use shared-memory,
| Fst | serialize | 5000 | array | BUFFER | 811029.402136 |
| Fst | serialize | 5000 | directBuffer | PRIMITIVE_ARRAY | 15000.378818 |
| Fst | serialize | 5000 | directBuffer | BUFFER | 477148.54085 |
-| Fury | deserialize | 200 | array | PRIMITIVE_ARRAY | 986136.067809 |
-| Fury | deserialize | 200 | array | BUFFER | 3302149.383135 |
-| Fury | deserialize | 200 | directBuffer | PRIMITIVE_ARRAY | 991807.969328 |
-| Fury | deserialize | 200 | directBuffer | BUFFER | 3113115.471758 |
-| Fury | deserialize | 1000 | array | PRIMITIVE_ARRAY | 205671.992736 |
-| Fury | deserialize | 1000 | array | BUFFER | 2831942.848999 |
-| Fury | deserialize | 1000 | directBuffer | PRIMITIVE_ARRAY | 202475.242341 |
-| Fury | deserialize | 1000 | directBuffer | BUFFER | 3397690.327371 |
-| Fury | deserialize | 5000 | array | PRIMITIVE_ARRAY | 40312.590172 |
-| Fury | deserialize | 5000 | array | BUFFER | 3296658.120035 |
-| Fury | deserialize | 5000 | directBuffer | PRIMITIVE_ARRAY | 40413.743717 |
-| Fury | deserialize | 5000 | directBuffer | BUFFER | 3284441.570594 |
-| Fury | serialize | 200 | array | PRIMITIVE_ARRAY | 8297232.942927 |
-| Fury | serialize | 200 | array | BUFFER | 5123572.914045 |
-| Fury | serialize | 200 | directBuffer | PRIMITIVE_ARRAY | 8335248.350301 |
-| Fury | serialize | 200 | directBuffer | BUFFER | 5400346.890126 |
-| Fury | serialize | 1000 | array | PRIMITIVE_ARRAY | 8772856.921028 |
-| Fury | serialize | 1000 | array | BUFFER | 4979590.929127 |
-| Fury | serialize | 1000 | directBuffer | PRIMITIVE_ARRAY | 8207563.785251 |
-| Fury | serialize | 1000 | directBuffer | BUFFER | 5376191.775007 |
-| Fury | serialize | 5000 | array | PRIMITIVE_ARRAY | 8027439.580246 |
-| Fury | serialize | 5000 | array | BUFFER | 5018916.32477 |
-| Fury | serialize | 5000 | directBuffer | PRIMITIVE_ARRAY | 7695981.988316 |
-| Fury | serialize | 5000 | directBuffer | BUFFER | 5330897.68296 |
+| Fory | deserialize | 200 | array | PRIMITIVE_ARRAY | 986136.067809 |
+| Fory | deserialize | 200 | array | BUFFER | 3302149.383135 |
+| Fory | deserialize | 200 | directBuffer | PRIMITIVE_ARRAY | 991807.969328 |
+| Fory | deserialize | 200 | directBuffer | BUFFER | 3113115.471758 |
+| Fory | deserialize | 1000 | array | PRIMITIVE_ARRAY | 205671.992736 |
+| Fory | deserialize | 1000 | array | BUFFER | 2831942.848999 |
+| Fory | deserialize | 1000 | directBuffer | PRIMITIVE_ARRAY | 202475.242341 |
+| Fory | deserialize | 1000 | directBuffer | BUFFER | 3397690.327371 |
+| Fory | deserialize | 5000 | array | PRIMITIVE_ARRAY | 40312.590172 |
+| Fory | deserialize | 5000 | array | BUFFER | 3296658.120035 |
+| Fory | deserialize | 5000 | directBuffer | PRIMITIVE_ARRAY | 40413.743717 |
+| Fory | deserialize | 5000 | directBuffer | BUFFER | 3284441.570594 |
+| Fory | serialize | 200 | array | PRIMITIVE_ARRAY | 8297232.942927 |
+| Fory | serialize | 200 | array | BUFFER | 5123572.914045 |
+| Fory | serialize | 200 | directBuffer | PRIMITIVE_ARRAY | 8335248.350301 |
+| Fory | serialize | 200 | directBuffer | BUFFER | 5400346.890126 |
+| Fory | serialize | 1000 | array | PRIMITIVE_ARRAY | 8772856.921028 |
+| Fory | serialize | 1000 | array | BUFFER | 4979590.929127 |
+| Fory | serialize | 1000 | directBuffer | PRIMITIVE_ARRAY | 8207563.785251 |
+| Fory | serialize | 1000 | directBuffer | BUFFER | 5376191.775007 |
+| Fory | serialize | 5000 | array | PRIMITIVE_ARRAY | 8027439.580246 |
+| Fory | serialize | 5000 | array | BUFFER | 5018916.32477 |
+| Fory | serialize | 5000 | directBuffer | PRIMITIVE_ARRAY | 7695981.988316 |
+| Fory | serialize | 5000 | directBuffer | BUFFER | 5330897.68296 |
| Kryo | deserialize | 200 | array | PRIMITIVE_ARRAY | 146675.360652 |
| Kryo | deserialize | 200 | array | BUFFER | 1296284.78772 |
| Kryo | deserialize | 200 | directBuffer | PRIMITIVE_ARRAY | 518713.299424 |
diff --git a/public/benchmarks/data/jmh-jdk-11-deserialization.csv b/public/benchmarks/data/jmh-jdk-11-deserialization.csv
index 09194c8f..d41faf19 100644
--- a/public/benchmarks/data/jmh-jdk-11-deserialization.csv
+++ b/public/benchmarks/data/jmh-jdk-11-deserialization.csv
@@ -1,153 +1,153 @@
"Benchmark","Mode","Threads","Samples","Score","Score Error (99.9%)","Unit","Param: bufferType","Param: objectType","Param: references"
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,473409.796491,250793.361170,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,428315.502365,191770.682411,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,363455.785182,44717.666948,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,304371.728638,74831.791688,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,357887.235311,218092.594151,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,353480.554035,229239.505256,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,280131.091068,89472.347221,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,260649.308016,165597.762734,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,441027.550809,321712.847983,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,420523.770904,122531.658151,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,311691.658687,185300.664992,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,251820.171513,894743.730727,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,352441.597147,109488.413174,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,334574.303484,89858.329407,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,262519.858810,138990.948859,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,234973.637096,568162.582389,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,2069988.624415,1501625.089719,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1797942.442313,3541577.357052,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,2054066.903469,3314161.094630,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1507767.206603,1662320.958961,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,4595230.434552,678411.427346,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,4634753.596131,582102.492158,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1126298.359550,856691.704987,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1046649.083082,1816153.563648,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,2229791.078395,2950833.975767,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1958815.397807,381903.427430,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1502746.028159,1759759.267183,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1290593.975753,246089.810346,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,5012002.859236,3360944.705659,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,4864329.316938,4357833.300692,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1117586.457565,323438.118804,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1018277.848128,1141314.435153,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,2296046.895861,2532372.600048,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1834139.395757,1021897.505849,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1441671.706320,317052.609754,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1121136.039627,979316.642796,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,2110335.039275,389404.889706,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,2135681.982674,1140328.709799,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,849507.176263,77466.989680,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,815120.319155,110547.743648,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,2308111.633661,1699117.497565,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1820490.585648,244290.391445,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1256034.732514,811833.294307,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1054942.751816,180122.424477,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1596464.248141,1624412.248391,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1684681.074242,865262.572050,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,784036.589363,189745.805570,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,782679.662083,232459.929272,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,2485564.396196,404678.689647,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,2002938.794909,254819.284313,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,2279742.810882,1984221.778254,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1623938.202345,902985.831204,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,4978833.206806,1201415.339844,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,4807963.882520,981981.561987,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1201998.142474,446807.356524,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1058423.614156,2254684.330438,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,2289261.533644,330913.304260,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1927548.827586,2169684.221478,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1718098.363961,1096276.962216,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1333345.536684,1110700.750020,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,5149070.657830,3249519.880480,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,5137500.621288,3988987.937014,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1131212.586953,240674.468318,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1089162.408165,294119.059967,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,119471.518388,29846.632785,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,121106.002978,27710.578092,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,118156.072284,4767.841380,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,120016.594171,41255.986380,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,84709.108821,132894.355932,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,91050.370224,17939.461828,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,69758.767783,10886.276794,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,68616.029248,13625.851120,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,117806.916589,35449.535259,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,121940.783597,54381.355274,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,111067.942626,136178.034974,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,121820.821260,36972.450957,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,91151.633583,18401.579776,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,91037.205901,58868.732797,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,66866.108653,38522.707093,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,65338.345185,56556.914062,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,121898.105768,55415.594537,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,121297.485903,33990.621079,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,121619.090797,6094.683470,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,119994.104050,24538.128667,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,88617.486795,40076.835119,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,90206.654212,19313.248466,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,63703.763814,132184.298414,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,69521.573119,8875.645591,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,124044.417439,41135.181705,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,120276.449497,87827.771405,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,107594.474890,81084.454215,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,116531.023438,141591.979641,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,89580.561575,23464.095972,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,84407.472531,46007.731889,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,69342.030965,17706.784671,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,68542.055543,31793.805138,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,29309.573998,765.998843,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,27466.003923,14896.452629,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,38536.250402,28217.590983,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,38957.191090,23931.545367,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,29603.066599,10373.666720,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,29727.744196,15820.774882,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,14888.805111,842.165916,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,14034.100664,13936.787605,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,28128.457935,5385.055284,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,28221.014735,15281.277719,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,40512.632076,8592.454839,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,37030.594632,9683.316145,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,28717.004518,17023.663871,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,29549.998286,13823.854047,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,14652.043788,2419.900104,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,14425.886048,8723.095052,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,979173.981159,178146.966897,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,716438.884369,623966.984928,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,577631.234369,221011.018380,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,365530.417232,214946.853015,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,607750.343557,99638.164976,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,552802.227807,126286.013177,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,275984.042401,9405.143983,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,222710.554833,45168.519253,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,983538.936801,1112062.949472,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,762889.302732,279678.610328,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,389473.174523,43058.395501,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,306995.220799,57411.579647,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,910534.169114,1888677.766640,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,914404.107564,357717.816934,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,319247.256793,217674.935649,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,249105.828416,131690.474985,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,255086.928308,23672.392381,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,238811.995510,18059.118666,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,180882.860363,69339.581545,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,154311.211540,23065.912064,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,78771.635309,45155.641241,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,72805.937649,16849.888437,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,60602.285743,61404.274046,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,62729.908347,32805.651539,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,201993.787890,41567.224827,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,174534.710870,96357.498949,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,134485.160300,104898.991148,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,119311.787329,66580.856795,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,58574.904225,140682.248378,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,60685.320299,24159.853451,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,54637.329134,14011.283798,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,51761.569591,61030.640534,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,619338.385412,275705.847169,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,951662.019963,165160.853007,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,517381.168594,313746.662696,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,416212.973861,119393.345217,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,624804.978534,147685.682690,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,964664.641598,218386.902856,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,538922.947147,59168.303230,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,425523.315814,179264.359952,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,473409.796491,250793.361170,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,428315.502365,191770.682411,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,363455.785182,44717.666948,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,304371.728638,74831.791688,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,357887.235311,218092.594151,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,353480.554035,229239.505256,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,280131.091068,89472.347221,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,260649.308016,165597.762734,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,441027.550809,321712.847983,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,420523.770904,122531.658151,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,311691.658687,185300.664992,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,251820.171513,894743.730727,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,352441.597147,109488.413174,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,334574.303484,89858.329407,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,262519.858810,138990.948859,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fst_deserialize","thrpt",1,3,234973.637096,568162.582389,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,2069988.624415,1501625.089719,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1797942.442313,3541577.357052,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,2054066.903469,3314161.094630,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1507767.206603,1662320.958961,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,4595230.434552,678411.427346,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,4634753.596131,582102.492158,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1126298.359550,856691.704987,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1046649.083082,1816153.563648,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,2229791.078395,2950833.975767,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1958815.397807,381903.427430,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1502746.028159,1759759.267183,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1290593.975753,246089.810346,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,5012002.859236,3360944.705659,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,4864329.316938,4357833.300692,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1117586.457565,323438.118804,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize","thrpt",1,3,1018277.848128,1141314.435153,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,2296046.895861,2532372.600048,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1834139.395757,1021897.505849,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1441671.706320,317052.609754,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1121136.039627,979316.642796,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,2110335.039275,389404.889706,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,2135681.982674,1140328.709799,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,849507.176263,77466.989680,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,815120.319155,110547.743648,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,2308111.633661,1699117.497565,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1820490.585648,244290.391445,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1256034.732514,811833.294307,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1054942.751816,180122.424477,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1596464.248141,1624412.248391,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,1684681.074242,865262.572050,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,784036.589363,189745.805570,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.fury_deserialize_compatible","thrpt",1,3,782679.662083,232459.929272,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,2485564.396196,404678.689647,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,2002938.794909,254819.284313,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,2279742.810882,1984221.778254,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1623938.202345,902985.831204,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,4978833.206806,1201415.339844,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,4807963.882520,981981.561987,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1201998.142474,446807.356524,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1058423.614156,2254684.330438,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,2289261.533644,330913.304260,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1927548.827586,2169684.221478,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1718098.363961,1096276.962216,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1333345.536684,1110700.750020,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,5149070.657830,3249519.880480,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,5137500.621288,3988987.937014,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1131212.586953,240674.468318,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.furymetashared_deserialize_compatible","thrpt",1,3,1089162.408165,294119.059967,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,119471.518388,29846.632785,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,121106.002978,27710.578092,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,118156.072284,4767.841380,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,120016.594171,41255.986380,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,84709.108821,132894.355932,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,91050.370224,17939.461828,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,69758.767783,10886.276794,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,68616.029248,13625.851120,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,117806.916589,35449.535259,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,121940.783597,54381.355274,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,111067.942626,136178.034974,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,121820.821260,36972.450957,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,91151.633583,18401.579776,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,91037.205901,58868.732797,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,66866.108653,38522.707093,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize","thrpt",1,3,65338.345185,56556.914062,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,121898.105768,55415.594537,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,121297.485903,33990.621079,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,121619.090797,6094.683470,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,119994.104050,24538.128667,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,88617.486795,40076.835119,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,90206.654212,19313.248466,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,63703.763814,132184.298414,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,69521.573119,8875.645591,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,124044.417439,41135.181705,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,120276.449497,87827.771405,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,107594.474890,81084.454215,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,116531.023438,141591.979641,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,89580.561575,23464.095972,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,84407.472531,46007.731889,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,69342.030965,17706.784671,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.hession_deserialize_compatible","thrpt",1,3,68542.055543,31793.805138,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,29309.573998,765.998843,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,27466.003923,14896.452629,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,38536.250402,28217.590983,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,38957.191090,23931.545367,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,29603.066599,10373.666720,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,29727.744196,15820.774882,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,14888.805111,842.165916,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,14034.100664,13936.787605,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,28128.457935,5385.055284,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,28221.014735,15281.277719,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,40512.632076,8592.454839,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,37030.594632,9683.316145,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,28717.004518,17023.663871,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,29549.998286,13823.854047,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,14652.043788,2419.900104,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.jdk_deserialize","thrpt",1,3,14425.886048,8723.095052,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,979173.981159,178146.966897,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,716438.884369,623966.984928,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,577631.234369,221011.018380,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,365530.417232,214946.853015,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,607750.343557,99638.164976,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,552802.227807,126286.013177,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,275984.042401,9405.143983,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,222710.554833,45168.519253,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,983538.936801,1112062.949472,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,762889.302732,279678.610328,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,389473.174523,43058.395501,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,306995.220799,57411.579647,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,910534.169114,1888677.766640,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,914404.107564,357717.816934,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,319247.256793,217674.935649,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize","thrpt",1,3,249105.828416,131690.474985,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,255086.928308,23672.392381,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,238811.995510,18059.118666,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,180882.860363,69339.581545,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,154311.211540,23065.912064,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,78771.635309,45155.641241,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,72805.937649,16849.888437,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,60602.285743,61404.274046,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,62729.908347,32805.651539,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,201993.787890,41567.224827,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,174534.710870,96357.498949,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,134485.160300,104898.991148,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,119311.787329,66580.856795,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,58574.904225,140682.248378,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,60685.320299,24159.853451,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,54637.329134,14011.283798,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.kryo_deserialize_compatible","thrpt",1,3,51761.569591,61030.640534,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,619338.385412,275705.847169,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,951662.019963,165160.853007,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,517381.168594,313746.662696,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,416212.973861,119393.345217,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,624804.978534,147685.682690,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,964664.641598,218386.902856,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,538922.947147,59168.303230,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeDeserializeSuite.protostuff_deserialize","thrpt",1,3,425523.315814,179264.359952,"ops/s",directBuffer,STRUCT2,false
diff --git a/public/benchmarks/data/jmh-jdk-11-serialization.csv b/public/benchmarks/data/jmh-jdk-11-serialization.csv
index b349c3ab..1a701bd2 100644
--- a/public/benchmarks/data/jmh-jdk-11-serialization.csv
+++ b/public/benchmarks/data/jmh-jdk-11-serialization.csv
@@ -1,153 +1,153 @@
"Benchmark","Mode","Threads","Samples","Score","Score Error (99.9%)","Unit","Param: bufferType","Param: objectType","Param: references"
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,915907.574306,87627.907529,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,731869.156376,37845.555465,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,751892.023189,174327.010719,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,583859.907758,320047.618377,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,882178.995727,294884.724923,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,757753.756691,605180.489112,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,371762.982661,80513.482138,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,380638.700267,101974.434105,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,902302.261168,474054.277143,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,723614.066770,77429.645491,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,728001.080250,75699.111305,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,595679.580108,117269.848918,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,807847.663261,67842.801069,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,762088.935404,575559.070335,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,365317.705376,138313.634773,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,370851.880711,66834.323719,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,3570966.469087,152949.902180,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,1767693.835090,263146.035836,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,3031642.924542,567213.986117,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,2250384.600246,529709.299207,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,7501415.567260,6672023.542025,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,6264439.154428,976363.317001,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,3586126.623874,1966282.728305,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,3306474.506382,869558.338568,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,3684487.760591,882227.920611,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,1826456.709478,1377648.673630,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,2479862.129632,1498299.302699,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,1938527.588331,148125.034055,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,9834223.243204,5284494.290641,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,7551780.823133,744016.111639,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,2643155.135327,200764.008652,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,2391110.083108,2608567.411194,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,3604596.465625,1232634.245435,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1619648.337293,212055.067245,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1679272.036223,788041.322785,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1406736.538716,263608.222325,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,3530406.108869,3125642.741982,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,3293059.098127,96940.669016,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,2773368.997680,503239.905176,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,2564174.550276,978139.792610,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,3484533.218305,476583.192148,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1730822.630648,410016.597939,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1710680.937387,307207.222026,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1149999.473994,140915.968294,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,2653169.568374,535312.987476,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,2393817.762938,380997.375838,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1912402.937879,284090.793301,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1848338.968058,108311.846780,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,4409055.687063,112740.443049,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,1840705.439334,516764.580627,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,2992288.235281,867622.163323,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,2058738.716953,2388681.798594,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,9204444.777172,1526628.258403,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,7064625.291374,2655795.498346,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,2575824.143864,2216634.295140,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,3543082.528217,393858.603613,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,5043538.364886,2797987.191909,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,1859289.705838,366893.710607,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,2291443.556971,3167882.958411,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,1804349.244125,481995.792041,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,11650229.648715,1101289.207239,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,8702412.752357,1116617.972427,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,2714748.572248,284462.787825,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,1866073.031851,1521156.537508,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,220386.502846,60892.430853,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,192414.014211,34217.359956,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,367782.358049,54538.846197,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,329427.470680,530871.650379,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,258233.998931,145299.453488,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,260845.209485,90601.426407,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,56056.080075,3919.171009,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,60038.879790,6808.083631,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,220981.308085,153633.380796,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,211949.960255,231322.136517,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,372477.138150,39349.725456,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,353376.085025,11334.885856,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,266481.009225,113518.076189,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,261762.594966,64652.028148,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,55924.319442,28173.043405,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,56674.065604,2667.957614,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,234454.975158,5232.236462,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,206174.173039,54217.176504,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,377195.903772,33297.468886,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,351657.879556,10762.766962,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,258650.663523,64158.329095,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,263564.913879,101476.568014,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,58509.125342,10836.872797,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,55552.977735,37802.538138,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,194761.224263,8828.274695,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,212840.483308,50730.019909,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,371729.727192,136063.629978,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,343834.954942,13355.085558,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,249221.452137,261034.656030,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,263623.143601,32854.227410,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,58908.567439,4137.470432,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,55524.373547,668.406873,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,118374.836631,34704.407553,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,119858.140625,49308.850176,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,137989.198821,40017.148924,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,140260.668888,57308.595910,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,155908.244240,20385.278504,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,151258.539369,12676.385578,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,36846.049162,5491.880967,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,38183.705811,14778.659439,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,118273.584257,18950.629048,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,108263.040839,14982.910444,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,138567.623369,24365.255940,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,140158.673910,54416.908878,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,154875.908438,11984.781345,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,156404.686214,58131.602098,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,37444.967981,14948.012339,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,35798.679246,36641.428549,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,1105365.931217,162251.803619,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,734215.482291,79297.387490,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,730792.521676,678674.266715,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,445251.084327,85646.179264,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,558194.100861,257156.321315,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,557542.628765,63084.390134,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,325172.969175,20774.334333,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,259863.332448,86373.633851,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,1376560.302168,147424.342310,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,932887.968348,249800.928765,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,608972.517580,249598.971835,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,359875.473951,274870.064607,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,1078046.011115,249527.480472,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,853350.408656,126642.692106,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,355688.882786,37587.645927,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,338960.426033,36185.446014,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,378907.663184,280309.649766,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,320815.567701,455179.720989,"ops/s",array,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,188911.259146,97827.317807,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,145782.916427,81270.905462,"ops/s",array,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,145964.199559,88578.667153,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,136180.832879,167433.069232,"ops/s",array,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,125807.748004,23178.451287,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,114983.546343,7341.380140,"ops/s",array,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,296102.615094,18485.738321,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,276757.392449,61173.636852,"ops/s",directBuffer,SAMPLE,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,185363.714829,121440.885632,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,142836.961878,12450.918452,"ops/s",directBuffer,MEDIA_CONTENT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,106695.800225,13463.570576,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,106458.212005,2994.065295,"ops/s",directBuffer,STRUCT,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,92130.672361,9515.661170,"ops/s",directBuffer,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,88989.724768,9379.338279,"ops/s",directBuffer,STRUCT2,true
-"org.apache.fury.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,663272.710783,522116.492895,"ops/s",array,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,780618.761219,406063.945348,"ops/s",array,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,330975.350403,196475.862643,"ops/s",array,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,322563.440433,201276.713653,"ops/s",array,STRUCT2,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,693641.589806,43883.803566,"ops/s",directBuffer,SAMPLE,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,805941.345157,91281.699006,"ops/s",directBuffer,MEDIA_CONTENT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,340262.650047,152117.387028,"ops/s",directBuffer,STRUCT,false
-"org.apache.fury.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,325093.716261,56485.972228,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,915907.574306,87627.907529,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,731869.156376,37845.555465,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,751892.023189,174327.010719,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,583859.907758,320047.618377,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,882178.995727,294884.724923,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,757753.756691,605180.489112,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,371762.982661,80513.482138,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,380638.700267,101974.434105,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,902302.261168,474054.277143,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,723614.066770,77429.645491,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,728001.080250,75699.111305,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,595679.580108,117269.848918,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,807847.663261,67842.801069,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,762088.935404,575559.070335,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,365317.705376,138313.634773,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fst_serialize","thrpt",1,3,370851.880711,66834.323719,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,3570966.469087,152949.902180,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,1767693.835090,263146.035836,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,3031642.924542,567213.986117,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,2250384.600246,529709.299207,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,7501415.567260,6672023.542025,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,6264439.154428,976363.317001,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,3586126.623874,1966282.728305,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,3306474.506382,869558.338568,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,3684487.760591,882227.920611,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,1826456.709478,1377648.673630,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,2479862.129632,1498299.302699,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,1938527.588331,148125.034055,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,9834223.243204,5284494.290641,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,7551780.823133,744016.111639,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,2643155.135327,200764.008652,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize","thrpt",1,3,2391110.083108,2608567.411194,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,3604596.465625,1232634.245435,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1619648.337293,212055.067245,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1679272.036223,788041.322785,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1406736.538716,263608.222325,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,3530406.108869,3125642.741982,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,3293059.098127,96940.669016,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,2773368.997680,503239.905176,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,2564174.550276,978139.792610,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,3484533.218305,476583.192148,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1730822.630648,410016.597939,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1710680.937387,307207.222026,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1149999.473994,140915.968294,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,2653169.568374,535312.987476,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,2393817.762938,380997.375838,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1912402.937879,284090.793301,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.fury_serialize_compatible","thrpt",1,3,1848338.968058,108311.846780,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,4409055.687063,112740.443049,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,1840705.439334,516764.580627,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,2992288.235281,867622.163323,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,2058738.716953,2388681.798594,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,9204444.777172,1526628.258403,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,7064625.291374,2655795.498346,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,2575824.143864,2216634.295140,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,3543082.528217,393858.603613,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,5043538.364886,2797987.191909,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,1859289.705838,366893.710607,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,2291443.556971,3167882.958411,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,1804349.244125,481995.792041,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,11650229.648715,1101289.207239,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,8702412.752357,1116617.972427,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,2714748.572248,284462.787825,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.furymetashared_serialize_compatible","thrpt",1,3,1866073.031851,1521156.537508,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,220386.502846,60892.430853,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,192414.014211,34217.359956,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,367782.358049,54538.846197,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,329427.470680,530871.650379,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,258233.998931,145299.453488,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,260845.209485,90601.426407,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,56056.080075,3919.171009,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,60038.879790,6808.083631,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,220981.308085,153633.380796,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,211949.960255,231322.136517,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,372477.138150,39349.725456,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,353376.085025,11334.885856,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,266481.009225,113518.076189,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,261762.594966,64652.028148,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,55924.319442,28173.043405,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize","thrpt",1,3,56674.065604,2667.957614,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,234454.975158,5232.236462,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,206174.173039,54217.176504,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,377195.903772,33297.468886,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,351657.879556,10762.766962,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,258650.663523,64158.329095,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,263564.913879,101476.568014,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,58509.125342,10836.872797,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,55552.977735,37802.538138,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,194761.224263,8828.274695,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,212840.483308,50730.019909,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,371729.727192,136063.629978,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,343834.954942,13355.085558,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,249221.452137,261034.656030,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,263623.143601,32854.227410,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,58908.567439,4137.470432,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.hession_serialize_compatible","thrpt",1,3,55524.373547,668.406873,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,118374.836631,34704.407553,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,119858.140625,49308.850176,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,137989.198821,40017.148924,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,140260.668888,57308.595910,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,155908.244240,20385.278504,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,151258.539369,12676.385578,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,36846.049162,5491.880967,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,38183.705811,14778.659439,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,118273.584257,18950.629048,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,108263.040839,14982.910444,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,138567.623369,24365.255940,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,140158.673910,54416.908878,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,154875.908438,11984.781345,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,156404.686214,58131.602098,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,37444.967981,14948.012339,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.jdk_serialize","thrpt",1,3,35798.679246,36641.428549,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,1105365.931217,162251.803619,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,734215.482291,79297.387490,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,730792.521676,678674.266715,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,445251.084327,85646.179264,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,558194.100861,257156.321315,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,557542.628765,63084.390134,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,325172.969175,20774.334333,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,259863.332448,86373.633851,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,1376560.302168,147424.342310,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,932887.968348,249800.928765,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,608972.517580,249598.971835,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,359875.473951,274870.064607,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,1078046.011115,249527.480472,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,853350.408656,126642.692106,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,355688.882786,37587.645927,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize","thrpt",1,3,338960.426033,36185.446014,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,378907.663184,280309.649766,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,320815.567701,455179.720989,"ops/s",array,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,188911.259146,97827.317807,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,145782.916427,81270.905462,"ops/s",array,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,145964.199559,88578.667153,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,136180.832879,167433.069232,"ops/s",array,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,125807.748004,23178.451287,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,114983.546343,7341.380140,"ops/s",array,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,296102.615094,18485.738321,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,276757.392449,61173.636852,"ops/s",directBuffer,SAMPLE,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,185363.714829,121440.885632,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,142836.961878,12450.918452,"ops/s",directBuffer,MEDIA_CONTENT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,106695.800225,13463.570576,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,106458.212005,2994.065295,"ops/s",directBuffer,STRUCT,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,92130.672361,9515.661170,"ops/s",directBuffer,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.kryo_serialize_compatible","thrpt",1,3,88989.724768,9379.338279,"ops/s",directBuffer,STRUCT2,true
+"org.apache.fory.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,663272.710783,522116.492895,"ops/s",array,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,780618.761219,406063.945348,"ops/s",array,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,330975.350403,196475.862643,"ops/s",array,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,322563.440433,201276.713653,"ops/s",array,STRUCT2,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,693641.589806,43883.803566,"ops/s",directBuffer,SAMPLE,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,805941.345157,91281.699006,"ops/s",directBuffer,MEDIA_CONTENT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,340262.650047,152117.387028,"ops/s",directBuffer,STRUCT,false
+"org.apache.fory.benchmark.UserTypeSerializeSuite.protostuff_serialize","thrpt",1,3,325093.716261,56485.972228,"ops/s",directBuffer,STRUCT2,false
diff --git a/public/benchmarks/data/jmh-jdk-11-zerocopy.csv b/public/benchmarks/data/jmh-jdk-11-zerocopy.csv
index 76411f88..2ac208b5 100644
--- a/public/benchmarks/data/jmh-jdk-11-zerocopy.csv
+++ b/public/benchmarks/data/jmh-jdk-11-zerocopy.csv
@@ -1,73 +1,73 @@
"Benchmark","Mode","Threads","Samples","Score","Score Error (99.9%)","Unit","Param: array_size","Param: bufferType","Param: dataType","Param: references"
-"org.apache.fury.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,219333.990504,40075.312705,"ops/s",200,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,657754.887247,408901.031753,"ops/s",200,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,179604.045774,45387.509931,"ops/s",200,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,598421.278941,135411.381215,"ops/s",200,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,53100.903684,17709.358858,"ops/s",1000,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,422147.154601,528539.529166,"ops/s",1000,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,38572.001768,24685.893533,"ops/s",1000,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,298929.116572,135040.133488,"ops/s",1000,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,10672.872798,11519.184075,"ops/s",5000,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,136934.604328,19269.032565,"ops/s",5000,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,8561.694533,2137.867210,"ops/s",5000,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,77950.612503,83587.484192,"ops/s",5000,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,313986.053417,29311.641179,"ops/s",200,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,2400193.220466,242732.420524,"ops/s",200,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,294132.218623,60640.778775,"ops/s",200,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,2282550.111756,93004.652618,"ops/s",200,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,67209.107012,5947.935958,"ops/s",1000,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,1805557.477810,5232839.112456,"ops/s",1000,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,66108.014322,16869.542536,"ops/s",1000,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,1644789.427010,54907.475118,"ops/s",1000,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,14997.400124,12425.308762,"ops/s",5000,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,811029.402136,39593.863849,"ops/s",5000,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,15000.378818,2219.583522,"ops/s",5000,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,477148.540850,34970.176073,"ops/s",5000,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,986136.067809,274606.792449,"ops/s",200,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,3302149.383135,3166455.521704,"ops/s",200,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,991807.969328,296490.837932,"ops/s",200,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,3113115.471758,4861106.592529,"ops/s",200,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,205671.992736,127494.951753,"ops/s",1000,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,2831942.848999,1720214.698856,"ops/s",1000,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,202275.242341,56270.238293,"ops/s",1000,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,3397690.327371,146058.097383,"ops/s",1000,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,40312.590172,11836.614114,"ops/s",5000,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,3296658.120035,2199676.238015,"ops/s",5000,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,40413.743717,9893.735875,"ops/s",5000,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,3284441.570594,998247.999163,"ops/s",5000,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,8297232.942927,6613235.386482,"ops/s",200,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,5123572.914045,9342104.794019,"ops/s",200,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,8335248.350301,2796789.944593,"ops/s",200,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,5400346.890126,7654935.504676,"ops/s",200,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,8772856.921028,1984208.178343,"ops/s",1000,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,4979590.929127,5568756.926202,"ops/s",1000,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,8207563.785251,4153794.222735,"ops/s",1000,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,5376191.775007,9167580.616022,"ops/s",1000,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,8027439.580226,6148996.477681,"ops/s",5000,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,5018916.322770,1424045.598203,"ops/s",5000,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,7695981.988316,578662.201123,"ops/s",5000,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,5330897.682960,8055585.038901,"ops/s",5000,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,146675.360652,23502.675233,"ops/s",200,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,1296284.787720,297204.673569,"ops/s",200,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,518713.299422,600548.228171,"ops/s",200,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,1004844.498712,552313.083272,"ops/s",200,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,30409.835023,9562.322209,"ops/s",1000,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,721266.541130,62426.822891,"ops/s",1000,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,112132.004609,6625.327605,"ops/s",1000,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,592972.713203,511777.226637,"ops/s",1000,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,6122.351228,3021.683209,"ops/s",5000,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,147251.846111,278375.379465,"ops/s",5000,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,21826.040410,2246.004993,"ops/s",5000,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,148614.476829,87146.409451,"ops/s",5000,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,147342.606262,138864.952435,"ops/s",200,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,1985187.977633,70426.638387,"ops/s",200,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,972683.763633,604464.052899,"ops/s",200,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,1739454.519770,1053963.541481,"ops/s",200,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,31395.721514,3652.506399,"ops/s",1000,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,1616159.671230,2722436.839807,"ops/s",1000,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,209183.090868,25323.702489,"ops/s",1000,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,1377272.568510,203974.331559,"ops/s",1000,directBuffer,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,6248.006967,783.226602,"ops/s",5000,array,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,711287.533377,86363.201941,"ops/s",5000,array,BUFFER,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,43565.678616,4221.267495,"ops/s",5000,directBuffer,PRIMITIVE_ARRAY,false
-"org.apache.fury.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,707092.956534,298737.951680,"ops/s",5000,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,219333.990504,40075.312705,"ops/s",200,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,657754.887247,408901.031753,"ops/s",200,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,179604.045774,45387.509931,"ops/s",200,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,598421.278941,135411.381215,"ops/s",200,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,53100.903684,17709.358858,"ops/s",1000,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,422147.154601,528539.529166,"ops/s",1000,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,38572.001768,24685.893533,"ops/s",1000,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,298929.116572,135040.133488,"ops/s",1000,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,10672.872798,11519.184075,"ops/s",5000,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,136934.604328,19269.032565,"ops/s",5000,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,8561.694533,2137.867210,"ops/s",5000,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_deserialize","thrpt",1,3,77950.612503,83587.484192,"ops/s",5000,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,313986.053417,29311.641179,"ops/s",200,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,2400193.220466,242732.420524,"ops/s",200,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,294132.218623,60640.778775,"ops/s",200,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,2282550.111756,93004.652618,"ops/s",200,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,67209.107012,5947.935958,"ops/s",1000,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,1805557.477810,5232839.112456,"ops/s",1000,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,66108.014322,16869.542536,"ops/s",1000,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,1644789.427010,54907.475118,"ops/s",1000,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,14997.400124,12425.308762,"ops/s",5000,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,811029.402136,39593.863849,"ops/s",5000,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,15000.378818,2219.583522,"ops/s",5000,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fst_serialize","thrpt",1,3,477148.540850,34970.176073,"ops/s",5000,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,986136.067809,274606.792449,"ops/s",200,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,3302149.383135,3166455.521704,"ops/s",200,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,991807.969328,296490.837932,"ops/s",200,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,3113115.471758,4861106.592529,"ops/s",200,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,205671.992736,127494.951753,"ops/s",1000,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,2831942.848999,1720214.698856,"ops/s",1000,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,202275.242341,56270.238293,"ops/s",1000,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,3397690.327371,146058.097383,"ops/s",1000,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,40312.590172,11836.614114,"ops/s",5000,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,3296658.120035,2199676.238015,"ops/s",5000,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,40413.743717,9893.735875,"ops/s",5000,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_deserialize","thrpt",1,3,3284441.570594,998247.999163,"ops/s",5000,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,8297232.942927,6613235.386482,"ops/s",200,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,5123572.914045,9342104.794019,"ops/s",200,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,8335248.350301,2796789.944593,"ops/s",200,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,5400346.890126,7654935.504676,"ops/s",200,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,8772856.921028,1984208.178343,"ops/s",1000,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,4979590.929127,5568756.926202,"ops/s",1000,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,8207563.785251,4153794.222735,"ops/s",1000,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,5376191.775007,9167580.616022,"ops/s",1000,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,8027439.580226,6148996.477681,"ops/s",5000,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,5018916.322770,1424045.598203,"ops/s",5000,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,7695981.988316,578662.201123,"ops/s",5000,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.fury_serialize","thrpt",1,3,5330897.682960,8055585.038901,"ops/s",5000,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,146675.360652,23502.675233,"ops/s",200,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,1296284.787720,297204.673569,"ops/s",200,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,518713.299422,600548.228171,"ops/s",200,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,1004844.498712,552313.083272,"ops/s",200,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,30409.835023,9562.322209,"ops/s",1000,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,721266.541130,62426.822891,"ops/s",1000,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,112132.004609,6625.327605,"ops/s",1000,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,592972.713203,511777.226637,"ops/s",1000,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,6122.351228,3021.683209,"ops/s",5000,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,147251.846111,278375.379465,"ops/s",5000,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,21826.040410,2246.004993,"ops/s",5000,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_deserialize","thrpt",1,3,148614.476829,87146.409451,"ops/s",5000,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,147342.606262,138864.952435,"ops/s",200,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,1985187.977633,70426.638387,"ops/s",200,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,972683.763633,604464.052899,"ops/s",200,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,1739454.519770,1053963.541481,"ops/s",200,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,31395.721514,3652.506399,"ops/s",1000,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,1616159.671230,2722436.839807,"ops/s",1000,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,209183.090868,25323.702489,"ops/s",1000,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,1377272.568510,203974.331559,"ops/s",1000,directBuffer,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,6248.006967,783.226602,"ops/s",5000,array,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,711287.533377,86363.201941,"ops/s",5000,array,BUFFER,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,43565.678616,4221.267495,"ops/s",5000,directBuffer,PRIMITIVE_ARRAY,false
+"org.apache.fory.benchmark.ZeroCopySuite.kryo_serialize","thrpt",1,3,707092.956534,298737.951680,"ops/s",5000,directBuffer,BUFFER,false
diff --git a/src/constants/index.ts b/src/constants/index.ts
index 6244fd66..0af49a48 100644
--- a/src/constants/index.ts
+++ b/src/constants/index.ts
@@ -4,12 +4,12 @@ export const COPY_TIMEOUT = 2000;
export const CODE_STRING = `import java.util.List;
import java.util.Arrays;
-import org.apache.fury.*;
+import org.apache.fory.*;
public class Example {
- // Note that Fury instances should be reused between
+ // Note that Fory instances should be reused between
// multiple serializations of different objects.
- static ThreadSafeFury fury = Fury.builder().withLanguage(Language.JAVA)
+ static ThreadSafeFury fory = Fory.builder().withLanguage(Language.JAVA)
// Allow to deserialize objects unknown types,
// more flexible but less secure.
// .requireClassRegistration(false)
@@ -20,13 +20,13 @@ public class Example {
// overhead but not mandatory.
// If secure mode enabled
//all custom types must be registered.
- fury.register(SomeClass.class);
+ fory.register(SomeClass.class);
}
public static void main(String[] args) {
SomeClass object = new SomeClass();
- byte[] bytes = fury.serialize(object);
- System.out.println(fury.deserialize(bytes));
+ byte[] bytes = fory.serialize(object);
+ System.out.println(fory.deserialize(bytes));
}
`;
diff --git a/src/pages/download/index.md b/src/pages/download/index.md
index e778a4b7..8e50fd0c 100644
--- a/src/pages/download/index.md
+++ b/src/pages/download/index.md
@@ -1,11 +1,11 @@
---
id: download
-title: Apache Fury(incubating) Download
+title: Apache Fory(incubating) Download
---
-The official Apache Fury releases are provided as source artifacts.
+The official Apache Fory releases are provided as source artifacts.
-For binary install, please see Fury [install](/docs/docs/start/install/) document.
+For binary install, please see Fory [install](/docs/docs/start/install/) document.
## The latest release
@@ -13,17 +13,17 @@ The latest source release is 0.10.3:
| Version | Date | Source | Release Notes |
|---------|------------|--------|---------------|
-| 0.10.3 | 2025-05-27 | [source](https://www.apache.org/dyn/closer.lua/incubator/fury/0.10.3/apache-fury-0.10.3-incubating-src.tar.gz?action=download) [asc](https://downloads.apache.org/incubator/fury/0.10.3/apache-fury-0.10.3-incubating-src.tar.gz.asc) [sha512](https://downloads.apache.org/incubator/fury/0.10.3/apache-fury-0.10.3-incubating-src.tar.gz.sha512) | [release notes](https://github.com/apache/fury/releases/tag/v0.10.3) |
+| 0.10.3 | 2025-05-27 | [source](https://www.apache.org/dyn/closer.lua/incubator/fory/0.10.3/apache-fory-0.10.3-incubating-src.tar.gz?action=download) [asc](https://downloads.apache.org/incubator/fory/0.10.3/apache-fory-0.10.3-incubating-src.tar.gz.asc) [sha512](https://downloads.apache.org/incubator/fory/0.10.3/apache-fory-0.10.3-incubating-src.tar.gz.sha512) | [release notes](https://github.com/apache/fory/releases/tag/v0.10.3) |
## All archived releases
-For older releases, please check the [archive](https://archive.apache.org/dist/incubator/fury).
+For older releases, please check the [archive](https://archive.apache.org/dist/incubator/fory).
## Verify a release
It's highly recommended to verify the files that you download.
-Fury provides SHA digest and PGP signature files for all the files that we host on the download site.
+Fory provides SHA digest and PGP signature files for all the files that we host on the download site.
These files are named after the files they relate to but have `.sha512/.asc` extensions.
### Verifying Checksums
@@ -31,19 +31,19 @@ These files are named after the files they relate to but have `.sha512/.asc` ext
To verify the SHA digests, you need the `.tgz` and its associated `.tgz.sha512` file. An example command:
```bash
-sha512sum --check apache-fury-incubating-0.10.3-src.tar.gz
+sha512sum --check apache-fory-incubating-0.10.3-src.tar.gz
```
It should output something like:
```bash
-apache-fury-incubating-0.10.3-src.tar.gz: OK
+apache-fory-incubating-0.10.3-src.tar.gz: OK
```
### Verifying Signatures
To verify the PGP signatures, you will need to download the
-[release KEYS](https://downloads.apache.org/incubator/fury/KEYS) first.
+[release KEYS](https://downloads.apache.org/incubator/fory/KEYS) first.
Then import the downloaded `KEYS`:
@@ -54,7 +54,7 @@ gpg --import KEYS
Then you can verify signature:
```bash
-gpg --verify apache-fury-incubating-0.10.3-src.tar.gz.asc apache-fury-incubating-0.10.3-src.tar.gz
+gpg --verify apache-fory-incubating-0.10.3-src.tar.gz.asc apache-fory-incubating-0.10.3-src.tar.gz
```
If something like the following appears, it means the signature is correct:
diff --git a/src/pages/home/components/HomePageLanguageCard.tsx b/src/pages/home/components/HomePageLanguageCard.tsx
index 4e19b296..2b65efd1 100644
--- a/src/pages/home/components/HomePageLanguageCard.tsx
+++ b/src/pages/home/components/HomePageLanguageCard.tsx
@@ -22,8 +22,8 @@ export default function HomePageLanguageCard() {
const getLanguageUrl = (language) => {
const baseUrl = locale.startsWith("zh-CN")
- ? "https://fury.apache.org/zh-CN/docs/docs/start/usage/#"
- : "https://fury.apache.org/docs/docs/start/usage/#";
+ ? "https://fory.apache.org/zh-CN/docs/docs/start/usage/#"
+ : "https://fory.apache.org/docs/docs/start/usage/#";
return `${baseUrl}${language}`;
};
@@ -38,13 +38,13 @@ export default function HomePageLanguageCard() {
key={key}
className="flex items-center justify-center h-24 text-lg font-bold border border-gray-400 rounded-md cursor-pointer transition-transform duration-300 transform hover:scale-105 active:scale-100 hover:bg-gray-100 hover:border-gray-200"
onClick={() =>
- (window.location.href = getLanguageUrl(
- key === "java"
- ? "java-serialization"
- : key === "more"
+ (window.location.href = getLanguageUrl(
+ key === "java"
+ ? "java-serialization"
+ : key === "more"
? "crosslanguage-serialization"
: key
- ))
+ ))
}
>
<img src={src} className="w-10 h-10 mr-2" alt={`${label} logo`} />
diff --git a/src/pages/home/components/HomepageFeatures.tsx b/src/pages/home/components/HomepageFeatures.tsx
index ccb2f532..0bb24d26 100644
--- a/src/pages/home/components/HomepageFeatures.tsx
+++ b/src/pages/home/components/HomepageFeatures.tsx
@@ -44,7 +44,7 @@ const FeatureList: FeatureItem[] = [
id="feature.easyToUse.description"
description="Description for the easy to use feature"
>
- No need for DSL, you can use Fury effectively with your intuition.
+ No need for DSL, you can use Fory effectively with your intuition.
</Translate>
),
},
diff --git a/src/pages/home/components/HomepageHeader.tsx b/src/pages/home/components/HomepageHeader.tsx
index cb8fced7..ea2a6ca6 100644
--- a/src/pages/home/components/HomepageHeader.tsx
+++ b/src/pages/home/components/HomepageHeader.tsx
@@ -32,7 +32,7 @@ export default function HomepageHeader() {
{/* GitHub 按钮 */}
<Link
className="button button--secondary button--lg"
- to="https://github.com/apache/fury"
+ to="https://github.com/apache/fory"
data-aos="fade-up"
data-aos-delay="200"
>
diff --git a/src/pages/user/languages.json b/src/pages/user/languages.json
index 92ed539b..0250c930 100644
--- a/src/pages/user/languages.json
+++ b/src/pages/user/languages.json
@@ -1,14 +1,14 @@
{
- "zh-CN": {
- "common": {
- "ourUsers": "我们的用户",
- "tip":"诸多公司和组织将 Fury 用于研究、生产和商业产品中<br/> 如果您也在使用 ? <a href=\"https://github.com/apache/fury/issues/1766\" target=\"_blank\" rel=\"noopener\"><u>可以在这里添加</u></a>"
- }
- },
- "en": {
- "common": {
- "ourUsers": "Our Users",
- "tip":"Various companies and organizations use Fury for research, production and commercial products.<br/> Are you using this project ? <a href=\"https://github.com/apache/fury/issues/1766\" target=\"_blank\" rel=\"noopener\"><u>you can add your company</u></a>"
- }
- }
-}
+ "zh-CN": {
+ "common": {
+ "ourUsers": "我们的用户",
+ "tip": "诸多公司和组织将 Fory 用于研究、生产和商业产品中<br/> 如果您也在使用 ? <a href=\"https://github.com/apache/fory/issues/1766\" target=\"_blank\" rel=\"noopener\"><u>可以在这里添加</u></a>"
+ }
+ },
+ "en": {
+ "common": {
+ "ourUsers": "Our Users",
+ "tip": "Various companies and organizations use Fory for research, production and commercial products.<br/> Are you using this project ? <a href=\"https://github.com/apache/fory/issues/1766\" target=\"_blank\" rel=\"noopener\"><u>you can add your company</u></a>"
+ }
+ }
+}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org