bytedance / sonic

A blazingly fast JSON serializing & deserializing library
Apache License 2.0
6.59k stars 327 forks source link

feat:(encoder) implement encoding on Virtual Machine for supporting AArch64 #580

Closed AsterDY closed 5 months ago

AsterDY commented 5 months ago

Background

Implemnt encoder by Vitural Machine

Performance

codecov-commenter commented 5 months ago

Codecov Report

Attention: 764 lines in your changes are missing coverage. Please review.

Comparison is base (9f2242e) 78.53% compared to head (ab9ed87) 69.41%. Report is 6 commits behind head on test/aarch64.

Files Patch % Lines
internal/encoder/vm/vm.go 27.14% 198 Missing and 6 partials :warning:
internal/encoder/compiler.go 57.76% 178 Missing and 15 partials :warning:
internal/encoder/alg/spec_amd64.go 0.00% 110 Missing :warning:
internal/encoder/x86/debug_go117.go 1.26% 77 Missing and 1 partial :warning:
internal/encoder/x86/assembler_regabi_amd64.go 91.72% 44 Missing and 7 partials :warning:
internal/encoder/alg/mapiter.go 0.00% 40 Missing and 1 partial :warning:
internal/encoder/alg/primitives.go 0.00% 34 Missing :warning:
internal/encoder/pools_amd64.go 26.47% 22 Missing and 3 partials :warning:
internal/encoder/encoder.go 55.17% 12 Missing and 1 partial :warning:
internal/encoder/vm/stbus.go 36.36% 3 Missing and 4 partials :warning:
... and 3 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## test/aarch64 #580 +/- ## ================================================ - Coverage 78.53% 69.41% -9.13% ================================================ Files 69 65 -4 Lines 10836 8664 -2172 ================================================ - Hits 8510 6014 -2496 - Misses 1947 2310 +363 + Partials 379 340 -39 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.