-
Notifications
You must be signed in to change notification settings - Fork 426
Closed
Description
Test the performance of sonicjson on x86 and ARM. The performance of sonicjson on ARM is much weaker than that on x86 and even worse than that of std json in some scenarios. What is the support for Arm? Does some feature optimization support only x86 but not ARM?
Run the test cases in the encoder directory.
go test -bench BenchmarkEncoder_Binding
| X86(ns/op) | ARM(ns/op) | |
|---|---|---|
| BenchmarkEncoder_Binding_Sonic-8 | 29389 | 85548 |
| BenchmarkEncoder_Binding_Sonic_Fast-8 | 18757 | 65064 |
| BenchmarkEncoder_Binding_StdLib-8 | 45134 | 58744 |
Metadata
Metadata
Assignees
Labels
No labels