fastjson2/docs/android_benchmark.md
2023-07-10 12:53:00 +08:00

21 lines
948 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 1. SerDe Benchmark
执行10000次的耗时数字越小越好。
| 手机型号 | library | eishay-ser | eishay-deser |
|-------------------|-----------|--------------|----------------|
| Huawei Mate40 Pro | fastjson2 | 104 | 115 |
| | fastjson1 | 69 | 109 |
| | jackson | 154 | 196 |
| | gson | 411 | 183 |
# 2. Parse Benchmark
执行1000次的耗时数字越小越好。
| 手机型号 ˚ | library | eishay | cart | homepage | h5api |
|-------------------|-----------|----------|------|------------|------------|
| Huawei Mate40 Pro | fastjson2 | 34 | 3556 | 1411 | 3252 |
| | fastjson1 | 79 | 3699 | 1621 | 3330 |
| | orgjson | 53 | 5238 | 1924 | 4400 |