Skip to content

Conversation

@dimatwl
Copy link

@dimatwl dimatwl commented Feb 28, 2024

Implemented parsing from string with scientific notation

@dimatwl dimatwl force-pushed the feat/scientific-notation branch from a227058 to 4685f6a Compare February 28, 2024 07:52
@dimatwl dimatwl force-pushed the feat/scientific-notation branch from 4685f6a to efd5b0a Compare February 28, 2024 07:54
(cherry picked from commit 50e5775c932046d5d588515298cb006415f8886c)
…tion.

(cherry picked from commit 14bad1d7aa8867a38611f47818b568721ca13f9f)
@dimatwl
Copy link
Author

dimatwl commented Aug 24, 2025

Benchmark result:

F64p9/serialize 123.456 to string
                        time:   [12.689 ns 12.727 ns 12.772 ns]
                        change: [-1.0087% -0.2577% +0.9012%] (p = 0.68 > 0.05)
                        No change in performance detected.
Found 7 outliers among 100 measurements (7.00%)
  1 (1.00%) low mild
  3 (3.00%) high mild
  3 (3.00%) high severe
F64p9/serialize MAX to string
                        time:   [16.173 ns 16.239 ns 16.331 ns]
                        change: [-1.6824% -1.1291% -0.5998%] (p = 0.00 < 0.05)
                        Change within noise threshold.
Found 4 outliers among 100 measurements (4.00%)
  1 (1.00%) low mild
  1 (1.00%) high mild
  2 (2.00%) high severe
F64p9/deserialize 123.456 from string
                        time:   [24.627 ns 24.681 ns 24.738 ns]
                        change: [+7.7490% +9.5647% +11.197%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 10 outliers among 100 measurements (10.00%)
  6 (6.00%) high mild
  4 (4.00%) high severe
F64p9/deserialize MAX from string
                        time:   [38.384 ns 38.462 ns 38.540 ns]
                        change: [+20.567% +21.144% +21.814%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 6 outliers among 100 measurements (6.00%)
  1 (1.00%) high mild
  5 (5.00%) high severe
F64p9/deserialize 1.23e4 from string
                        time:   [27.145 ns 27.199 ns 27.257 ns]
Found 9 outliers among 100 measurements (9.00%)
  3 (3.00%) high mild
  6 (6.00%) high severe
F64p9/deserialize MAXe0 from string
                        time:   [54.600 ns 54.721 ns 54.856 ns]
Found 7 outliers among 100 measurements (7.00%)
  2 (2.00%) high mild
  5 (5.00%) high severe
F64p9/serialize 123.456 to f64
                        time:   [27.657 ns 27.711 ns 27.771 ns]
                        change: [-7.1814% -5.8493% -4.5450%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
  3 (3.00%) high mild
  7 (7.00%) high severe
F64p9/serialize MAX to f64
                        time:   [23.348 ns 23.597 ns 23.880 ns]
                        change: [-5.0723% -4.0554% -2.9221%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
  2 (2.00%) high mild
  4 (4.00%) high severe
F64p9/deserialize 123.456 from f64
                        time:   [66.385 ns 66.681 ns 67.007 ns]
                        change: [-4.2319% -3.2655% -2.4983%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
  6 (6.00%) high mild
F64p9/deserialize MAX from f64
                        time:   [42.702 ns 43.102 ns 43.541 ns]
                        change: [-3.1112% -2.2208% -1.4348%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 9 outliers among 100 measurements (9.00%)
  7 (7.00%) high mild
  2 (2.00%) high severe

F128p18/serialize 123.456 to string
                        time:   [27.993 ns 28.381 ns 28.820 ns]
                        change: [-5.0174% -2.9510% -0.9556%] (p = 0.00 < 0.05)
                        Change within noise threshold.
Found 4 outliers among 100 measurements (4.00%)
  1 (1.00%) high mild
  3 (3.00%) high severe
F128p18/serialize MAX to string
                        time:   [42.062 ns 42.947 ns 43.910 ns]
                        change: [-3.1756% -1.1493% +0.7104%] (p = 0.26 > 0.05)
                        No change in performance detected.
Found 8 outliers among 100 measurements (8.00%)
  8 (8.00%) high mild
F128p18/deserialize 123.456 from string
                        time:   [38.318 ns 38.862 ns 39.543 ns]
                        change: [+3.0261% +4.8601% +6.8162%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 6 outliers among 100 measurements (6.00%)
  6 (6.00%) high severe
F128p18/deserialize MAX from string
                        time:   [87.591 ns 89.181 ns 91.025 ns]
                        change: [+12.925% +15.157% +17.638%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 3 outliers among 100 measurements (3.00%)
  3 (3.00%) high severe
F128p18/deserialize 1.23e4 from string
                        time:   [36.743 ns 37.188 ns 37.745 ns]
Found 3 outliers among 100 measurements (3.00%)
  3 (3.00%) high severe
F128p18/deserialize MAXe0 from string
                        time:   [109.88 ns 111.02 ns 112.36 ns]
Found 6 outliers among 100 measurements (6.00%)
  4 (4.00%) high mild
  2 (2.00%) high severe
F128p18/serialize 123.456 to f64
                        time:   [43.124 ns 43.355 ns 43.602 ns]
                        change: [-4.7355% -3.4867% -2.2701%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
  5 (5.00%) high mild
  1 (1.00%) high severe
F128p18/serialize MAX to f64
                        time:   [35.364 ns 35.629 ns 35.924 ns]
                        change: [+1.7798% +3.5420% +4.9941%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 7 outliers among 100 measurements (7.00%)
  3 (3.00%) high mild
  4 (4.00%) high severe
F128p18/deserialize 123.456 from f64
                        time:   [64.692 ns 64.967 ns 65.297 ns]
                        change: [+0.9951% +1.5010% +1.9852%] (p = 0.00 < 0.05)
                        Change within noise threshold.
Found 4 outliers among 100 measurements (4.00%)
  3 (3.00%) high mild
  1 (1.00%) high severe
F128p18/deserialize MAX from f64
                        time:   [35.138 ns 35.416 ns 35.733 ns]
                        change: [+1.9321% +3.0048% +4.0243%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high severe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant