Open mingodad opened 11 months ago
Building https://github.com/ArashPartow/exprtk/blob/master/exprtk_benchmark.cpp we get this output (where circle is around 30% slower):
/usr/bin/time g++ -O1 exprtk_benchmark.cpp -o exprtk_benchmark-gcc 48.43user 1.01system 0:49.46elapsed 99%CPU (0avgtext+0avgdata 1246452maxresident)k 64inputs+15456outputs (2major+462919minor)pagefaults 0swaps /usr/bin/time circle -O1 exprtk_benchmark.cpp -o exprtk_benchmark-circle 35.19user 1.31system 0:36.57elapsed 99%CPU (0avgtext+0avgdata 898416maxresident)k 3792inputs+17376outputs (0major+372730minor)pagefaults 0swaps /usr/bin/time clang-16-env clang++ -O1 exprtk_benchmark.cpp -o exprtk_benchmark-clang16 50.83user 0.85system 0:51.70elapsed 99%CPU (0avgtext+0avgdata 574596maxresident)k 16inputs+15768outputs (0major+200919minor)pagefaults 0swaps /usr/bin/time ./exprtk_benchmark-gcc --- EXPRTK --- [exprtk] Total Time: 0.95819600 Rate: 338849630.973evals/sec Expression: (y + x) [exprtk] Total Time: 0.89724500 Rate: 361868119.633evals/sec Expression: 2 * (y + x) [exprtk] Total Time: 0.89231200 Rate: 363868647.962evals/sec Expression: (2 * y + 2 * x) [exprtk] Total Time: 2.14141100 Rate: 151621692.893evals/sec Expression: ((1.23 * x^2) / y) - 123.123 [exprtk] Total Time: 2.25346000 Rate: 144082593.434evals/sec Expression: (y + x / y) * (x - y / x) [exprtk] Total Time: 2.83406500 Rate: 114564895.653evals/sec Expression: x / ((x + y) + (x - y)) / y [exprtk] Total Time: 1.62287300 Rate: 200067633.758evals/sec Expression: 1 - ((x * y) + (y / x)) - 3 [exprtk] Total Time: 4.54846600 Rate: 71383266.578evals/sec Expression: (5.5 + x) + (2 * x - 2 / 3 * y) * (x / 3 + y / 4) + (y + 7.7) [exprtk] Total Time: 14.20133500 Rate: 22862946.406evals/sec Expression: 1.1x^1 + 2.2y^2 - 3.3x^3 + 4.4y^15 - 5.5x^23 + 6.6y^55 [exprtk] Total Time: 10.93893200 Rate: 29681541.214evals/sec Expression: sin(2 * x) + cos(pi / y) [exprtk] Total Time: 11.76014200 Rate: 27608880.998evals/sec Expression: 1 - sin(2 * x) + cos(pi / y) [exprtk] Total Time: 14.04371500 Rate: 23119549.279evals/sec Expression: sqrt(111.111 - sin(2 * x) + cos(pi / y) / 333.333) [exprtk] Total Time: 6.80965100 Rate: 47680029.564evals/sec Expression: (x^2 / sin(2 * pi / y)) - x / 2 [exprtk] Total Time: 28.87408400 Rate: 11244836.754evals/sec Expression: x + (cos(y - sin(2 / x * pi)) - sin(x - cos(2 * y / pi))) - y [exprtk] Total Time: 14.94978200 Rate: 21718334.154evals/sec Expression: clamp(-1.0, sin(2 * pi * x) + cos(y / 2 * pi), +1.0) [exprtk] Total Time: 20.70010900 Rate: 15685152.238evals/sec Expression: max(3.33, min(sqrt(1 - sin(2 * x) + cos(pi / y) / 3), 1.11)) [exprtk] Total Time: 4.48840000 Rate: 72338552.936evals/sec Expression: if((y + (x * 2.2)) <= (x + y + 1.1), x - y, x * y) + 2 * pi / x --- NATIVE --- [native] Total Time: 0.88218000 Rate: 368047746.492evals/sec Expression: (y + x) [native] Total Time: 0.90823500 Rate: 357489373.345evals/sec Expression: 2 * (y + x) [native] Total Time: 0.87765600 Rate: 369944899.824evals/sec Expression: (2 * y + 2 * x) [native] Total Time: 0.86132300 Rate: 376960049.830evals/sec Expression: ((1.23 * x^2) / y) - 123.123 [native] Total Time: 0.94184400 Rate: 344732631.943evals/sec Expression: (y + x / y) * (x - y / x) [native] Total Time: 1.02610900 Rate: 316422876.127evals/sec Expression: x / ((x + y) + (x - y)) / y [native] Total Time: 1.01176500 Rate: 320908868.166evals/sec Expression: 1 - ((x * y) + (y / x)) - 3 [native] Total Time: 1.09262400 Rate: 297160195.090evals/sec Expression: (5.5 + x) + (2 * x - 2 / 3 * y) * (x / 3 + y / 4) + (y + 7.7) [native] Total Time: 77.09983600 Rate: 4211219.866evals/sec Expression: 1.1x^1 + 2.2y^2 - 3.3x^3 + 4.4y^15 - 5.5x^23 + 6.6y^55 [native] Total Time: 8.70687500 Rate: 37290573.369evals/sec Expression: sin(2 * x) + cos(pi / y) [native] Total Time: 8.79298400 Rate: 36925389.720evals/sec Expression: 1 - sin(2 * x) + cos(pi / y) [native] Total Time: 9.54532600 Rate: 34015010.174evals/sec Expression: sqrt(111.111 - sin(2 * x) + cos(pi / y) / 333.333) [native] Total Time: 3.76026800 Rate: 86346069.216evals/sec Expression: (x^2 / sin(2 * pi / y)) - x / 2 [native] Total Time: 23.14488900 Rate: 14028339.518evals/sec Expression: x + (cos(y - sin(2 / x * pi)) - sin(x - cos(2 * y / pi))) - y [native] Total Time: 10.65335700 Rate: 30477187.707evals/sec Expression: clamp(-1.0, sin(2 * pi * x) + cos(y / 2 * pi), +1.0) [native] Total Time: 11.04340100 Rate: 29400758.064evals/sec Expression: max(3.33, min(sqrt(1 - sin(2 * x) + cos(pi / y) / 3), 1.11)) [native] Total Time: 1.02317400 Rate: 317330542.997evals/sec Expression: if((y + (x * 2.2)) <= (x + y + 1.1), x - y, x * y) + 2 * pi / x --- PARSE ---- [parse] Total Time: 1.19671800 Rate: 83561.875parse/sec Expression: (y + x) [parse] Total Time: 1.33175300 Rate: 75088.999parse/sec Expression: 2 * (y + x) [parse] Total Time: 1.44681900 Rate: 69117.146parse/sec Expression: (2 * y + 2 * x) [parse] Total Time: 1.75654400 Rate: 56929.972parse/sec Expression: ((1.23 * x^2) / y) - 123.123 [parse] Total Time: 1.83139100 Rate: 54603.304parse/sec Expression: (y + x / y) * (x - y / x) [parse] Total Time: 1.87409400 Rate: 53359.116parse/sec Expression: x / ((x + y) + (x - y)) / y [parse] Total Time: 1.83220900 Rate: 54578.926parse/sec Expression: 1 - ((x * y) + (y / x)) - 3 [parse] Total Time: 2.84574500 Rate: 35140.183parse/sec Expression: (5.5 + x) + (2 * x - 2 / 3 * y) * (x / 3 + y / 4) + (y + 7.7) [parse] Total Time: 3.60633500 Rate: 27728.982parse/sec Expression: 1.1x^1 + 2.2y^2 - 3.3x^3 + 4.4y^15 - 5.5x^23 + 6.6y^55 [parse] Total Time: 1.74492800 Rate: 57308.955parse/sec Expression: sin(2 * x) + cos(pi / y) [parse] Total Time: 1.90211600 Rate: 52573.029parse/sec Expression: 1 - sin(2 * x) + cos(pi / y) [parse] Total Time: 2.17202900 Rate: 46039.901parse/sec Expression: sqrt(111.111 - sin(2 * x) + cos(pi / y) / 333.333) [parse] Total Time: 2.00190000 Rate: 49952.545parse/sec Expression: (x^2 / sin(2 * pi / y)) - x / 2 [parse] Total Time: 2.87748400 Rate: 34752.582parse/sec Expression: x + (cos(y - sin(2 / x * pi)) - sin(x - cos(2 * y / pi))) - y [parse] Total Time: 2.31616900 Rate: 43174.742parse/sec Expression: clamp(-1.0, sin(2 * pi * x) + cos(y / 2 * pi), +1.0) [parse] Total Time: 2.50604600 Rate: 39903.497parse/sec Expression: max(3.33, min(sqrt(1 - sin(2 * x) + cos(pi / y) / 3), 1.11)) [parse] Total Time: 2.76488500 Rate: 36167.870parse/sec Expression: if((y + (x * 2.2)) <= (x + y + 1.1), x - y, x * y) + 2 * pi / x 331.46user 10.36system 5:41.88elapsed 99%CPU (0avgtext+0avgdata 8232maxresident)k 0inputs+0outputs (0major+3515472minor)pagefaults 0swaps /usr/bin/time ./exprtk_benchmark-circle --- EXPRTK --- [exprtk] Total Time: 1.42128100 Rate: 228444875.433evals/sec Expression: (y + x) [exprtk] Total Time: 1.37185800 Rate: 236674904.400evals/sec Expression: 2 * (y + x) [exprtk] Total Time: 1.37407200 Rate: 236293557.397evals/sec Expression: (2 * y + 2 * x) [exprtk] Total Time: 4.15292000 Rate: 78182185.306evals/sec Expression: ((1.23 * x^2) / y) - 123.123 [exprtk] Total Time: 3.97173500 Rate: 81748747.336evals/sec Expression: (y + x / y) * (x - y / x) [exprtk] Total Time: 4.50258100 Rate: 72110720.718evals/sec Expression: x / ((x + y) + (x - y)) / y [exprtk] Total Time: 2.95882200 Rate: 109734333.799evals/sec Expression: 1 - ((x * y) + (y / x)) - 3 [exprtk] Total Time: 8.20608800 Rate: 39566278.231evals/sec Expression: (5.5 + x) + (2 * x - 2 / 3 * y) * (x / 3 + y / 4) + (y + 7.7) [exprtk] Total Time: 17.32153300 Rate: 18744551.132evals/sec Expression: 1.1x^1 + 2.2y^2 - 3.3x^3 + 4.4y^15 - 5.5x^23 + 6.6y^55 [exprtk] Total Time: 18.80458600 Rate: 17266232.875evals/sec Expression: sin(2 * x) + cos(pi / y) [exprtk] Total Time: 20.02332000 Rate: 16215310.997evals/sec Expression: 1 - sin(2 * x) + cos(pi / y) [exprtk] Total Time: 28.48078000 Rate: 11400121.801evals/sec Expression: sqrt(111.111 - sin(2 * x) + cos(pi / y) / 333.333) [exprtk] Total Time: 12.16467800 Rate: 26690748.493evals/sec Expression: (x^2 / sin(2 * pi / y)) - x / 2 [exprtk] Total Time: 43.84388800 Rate: 7405464.611evals/sec Expression: x + (cos(y - sin(2 / x * pi)) - sin(x - cos(2 * y / pi))) - y [exprtk] Total Time: 22.73907100 Rate: 14278699.468evals/sec Expression: clamp(-1.0, sin(2 * pi * x) + cos(y / 2 * pi), +1.0) [exprtk] Total Time: 37.52778300 Rate: 8651839.652evals/sec Expression: max(3.33, min(sqrt(1 - sin(2 * x) + cos(pi / y) / 3), 1.11)) [exprtk] Total Time: 9.00968800 Rate: 36037248.016evals/sec Expression: if((y + (x * 2.2)) <= (x + y + 1.1), x - y, x * y) + 2 * pi / x --- NATIVE --- [native] Total Time: 0.97931000 Rate: 331544006.494evals/sec Expression: (y + x) [native] Total Time: 0.99218100 Rate: 327243074.600evals/sec Expression: 2 * (y + x) [native] Total Time: 0.97170300 Rate: 334139506.619evals/sec Expression: (2 * y + 2 * x) [native] Total Time: 0.98854700 Rate: 328446053.652evals/sec Expression: ((1.23 * x^2) / y) - 123.123 [native] Total Time: 1.04651800 Rate: 310252055.865evals/sec Expression: (y + x / y) * (x - y / x) [native] Total Time: 0.99649300 Rate: 325827036.417evals/sec Expression: x / ((x + y) + (x - y)) / y [native] Total Time: 1.01499400 Rate: 319887960.914evals/sec Expression: 1 - ((x * y) + (y / x)) - 3 [native] Total Time: 1.10962200 Rate: 292608078.246evals/sec Expression: (5.5 + x) + (2 * x - 2 / 3 * y) * (x / 3 + y / 4) + (y + 7.7) [native] Total Time: 77.48114300 Rate: 4190495.241evals/sec Expression: 1.1x^1 + 2.2y^2 - 3.3x^3 + 4.4y^15 - 5.5x^23 + 6.6y^55 [native] Total Time: 8.93943800 Rate: 36320444.417evals/sec Expression: sin(2 * x) + cos(pi / y) [native] Total Time: 9.01990800 Rate: 35996416.039evals/sec Expression: 1 - sin(2 * x) + cos(pi / y) [native] Total Time: 9.66275000 Rate: 33601651.807evals/sec Expression: sqrt(111.111 - sin(2 * x) + cos(pi / y) / 333.333) [native] Total Time: 4.03710500 Rate: 80425047.404evals/sec Expression: (x^2 / sin(2 * pi / y)) - x / 2 [native] Total Time: 23.54791400 Rate: 13788243.027evals/sec Expression: x + (cos(y - sin(2 / x * pi)) - sin(x - cos(2 * y / pi))) - y [native] Total Time: 11.42002800 Rate: 28431135.283evals/sec Expression: clamp(-1.0, sin(2 * pi * x) + cos(y / 2 * pi), +1.0) [native] Total Time: 11.35038800 Rate: 28605573.748evals/sec Expression: max(3.33, min(sqrt(1 - sin(2 * x) + cos(pi / y) / 3), 1.11)) [native] Total Time: 1.11401000 Rate: 291455517.455evals/sec Expression: if((y + (x * 2.2)) <= (x + y + 1.1), x - y, x * y) + 2 * pi / x --- PARSE ---- [parse] Total Time: 2.62273100 Rate: 38128.195parse/sec Expression: (y + x) [parse] Total Time: 3.20465900 Rate: 31204.568parse/sec Expression: 2 * (y + x) [parse] Total Time: 3.54628800 Rate: 28198.499parse/sec Expression: (2 * y + 2 * x) [parse] Total Time: 4.74099900 Rate: 21092.601parse/sec Expression: ((1.23 * x^2) / y) - 123.123 [parse] Total Time: 5.16383000 Rate: 19365.471parse/sec Expression: (y + x / y) * (x - y / x) [parse] Total Time: 5.35473600 Rate: 18675.057parse/sec Expression: x / ((x + y) + (x - y)) / y [parse] Total Time: 5.12045100 Rate: 19529.530parse/sec Expression: 1 - ((x * y) + (y / x)) - 3 [parse] Total Time: 8.61806500 Rate: 11603.533parse/sec Expression: (5.5 + x) + (2 * x - 2 / 3 * y) * (x / 3 + y / 4) + (y + 7.7) [parse] Total Time: 10.19889500 Rate: 9804.984parse/sec Expression: 1.1x^1 + 2.2y^2 - 3.3x^3 + 4.4y^15 - 5.5x^23 + 6.6y^55 [parse] Total Time: 4.74469500 Rate: 21076.170parse/sec Expression: sin(2 * x) + cos(pi / y) [parse] Total Time: 5.18646800 Rate: 19280.944parse/sec Expression: 1 - sin(2 * x) + cos(pi / y) [parse] Total Time: 6.18791500 Rate: 16160.532parse/sec Expression: sqrt(111.111 - sin(2 * x) + cos(pi / y) / 333.333) [parse] Total Time: 5.87583800 Rate: 17018.849parse/sec Expression: (x^2 / sin(2 * pi / y)) - x / 2 [parse] Total Time: 8.95053400 Rate: 11172.518parse/sec Expression: x + (cos(y - sin(2 / x * pi)) - sin(x - cos(2 * y / pi))) - y [parse] Total Time: 7.15384800 Rate: 13978.491parse/sec Expression: clamp(-1.0, sin(2 * pi * x) + cos(y / 2 * pi), +1.0) [parse] Total Time: 7.69437300 Rate: 12996.511parse/sec Expression: max(3.33, min(sqrt(1 - sin(2 * x) + cos(pi / y) / 3), 1.11)) [parse] Total Time: 8.78162300 Rate: 11387.417parse/sec Expression: if((y + (x * 2.2)) <= (x + y + 1.1), x - y, x * y) + 2 * pi / x 494.27user 13.64system 8:28.03elapsed 99%CPU (0avgtext+0avgdata 7212maxresident)k 0inputs+0outputs (0major+3615477minor)pagefaults 0swaps /usr/bin/time ./exprtk_benchmark-clang16 --- EXPRTK --- [exprtk] Total Time: 0.93973100 Rate: 345507768.713evals/sec Expression: (y + x) [exprtk] Total Time: 0.86495500 Rate: 375377171.067evals/sec Expression: 2 * (y + x) [exprtk] Total Time: 0.87501900 Rate: 371059783.845evals/sec Expression: (2 * y + 2 * x) [exprtk] Total Time: 2.00616000 Rate: 161843701.898evals/sec Expression: ((1.23 * x^2) / y) - 123.123 [exprtk] Total Time: 2.27380900 Rate: 142793155.010evals/sec Expression: (y + x / y) * (x - y / x) [exprtk] Total Time: 2.46775800 Rate: 131570583.907evals/sec Expression: x / ((x + y) + (x - y)) / y [exprtk] Total Time: 1.57770700 Rate: 205795094.400evals/sec Expression: 1 - ((x * y) + (y / x)) - 3 [exprtk] Total Time: 5.26416000 Rate: 61678285.045evals/sec Expression: (5.5 + x) + (2 * x - 2 / 3 * y) * (x / 3 + y / 4) + (y + 7.7) [exprtk] Total Time: 13.44076100 Rate: 24156694.773evals/sec Expression: 1.1x^1 + 2.2y^2 - 3.3x^3 + 4.4y^15 - 5.5x^23 + 6.6y^55 [exprtk] Total Time: 10.75212400 Rate: 30197229.961evals/sec Expression: sin(2 * x) + cos(pi / y) [exprtk] Total Time: 11.61140400 Rate: 27962541.050evals/sec Expression: 1 - sin(2 * x) + cos(pi / y) [exprtk] Total Time: 12.77608700 Rate: 25413443.177evals/sec Expression: sqrt(111.111 - sin(2 * x) + cos(pi / y) / 333.333) [exprtk] Total Time: 6.68826100 Rate: 48545408.291evals/sec Expression: (x^2 / sin(2 * pi / y)) - x / 2 [exprtk] Total Time: 28.54948100 Rate: 11372688.736evals/sec Expression: x + (cos(y - sin(2 / x * pi)) - sin(x - cos(2 * y / pi))) - y [exprtk] Total Time: 15.11242300 Rate: 21484599.855evals/sec Expression: clamp(-1.0, sin(2 * pi * x) + cos(y / 2 * pi), +1.0) [exprtk] Total Time: 18.60797900 Rate: 17448663.340evals/sec Expression: max(3.33, min(sqrt(1 - sin(2 * x) + cos(pi / y) / 3), 1.11)) [exprtk] Total Time: 4.93831700 Rate: 65747978.714evals/sec Expression: if((y + (x * 2.2)) <= (x + y + 1.1), x - y, x * y) + 2 * pi / x --- NATIVE --- [native] Total Time: 0.45851900 Rate: 708115391.074evals/sec Expression: (y + x) [native] Total Time: 0.49290900 Rate: 658710555.092evals/sec Expression: 2 * (y + x) [native] Total Time: 0.49377500 Rate: 657555285.302evals/sec Expression: (2 * y + 2 * x) [native] Total Time: 0.50248300 Rate: 646159891.976evals/sec Expression: ((1.23 * x^2) / y) - 123.123 [native] Total Time: 0.77446800 Rate: 419235347.361evals/sec Expression: (y + x / y) * (x - y / x) [native] Total Time: 0.78038600 Rate: 416056106.850evals/sec Expression: x / ((x + y) + (x - y)) / y [native] Total Time: 0.64921000 Rate: 500122242.418evals/sec Expression: 1 - ((x * y) + (y / x)) - 3 [native] Total Time: 0.73389100 Rate: 442414964.893evals/sec Expression: (5.5 + x) + (2 * x - 2 / 3 * y) * (x / 3 + y / 4) + (y + 7.7) [native] Total Time: 77.18029400 Rate: 4206829.803evals/sec Expression: 1.1x^1 + 2.2y^2 - 3.3x^3 + 4.4y^15 - 5.5x^23 + 6.6y^55 [native] Total Time: 8.33436400 Rate: 38957305.081evals/sec Expression: sin(2 * x) + cos(pi / y) [native] Total Time: 8.39517600 Rate: 38675110.683evals/sec Expression: 1 - sin(2 * x) + cos(pi / y) [native] Total Time: 9.01378900 Rate: 36020852.163evals/sec Expression: sqrt(111.111 - sin(2 * x) + cos(pi / y) / 333.333) [native] Total Time: 3.49393200 Rate: 92928071.010evals/sec Expression: (x^2 / sin(2 * pi / y)) - x / 2 [native] Total Time: 22.62131800 Rate: 14353025.805evals/sec Expression: x + (cos(y - sin(2 / x * pi)) - sin(x - cos(2 * y / pi))) - y [native] Total Time: 10.31236300 Rate: 31484962.370evals/sec Expression: clamp(-1.0, sin(2 * pi * x) + cos(y / 2 * pi), +1.0) [native] Total Time: 9.37814600 Rate: 34621380.495evals/sec Expression: max(3.33, min(sqrt(1 - sin(2 * x) + cos(pi / y) / 3), 1.11)) [native] Total Time: 0.73256800 Rate: 443213955.565evals/sec Expression: if((y + (x * 2.2)) <= (x + y + 1.1), x - y, x * y) + 2 * pi / x --- PARSE ---- [parse] Total Time: 1.21571500 Rate: 82256.121parse/sec Expression: (y + x) [parse] Total Time: 1.33602300 Rate: 74849.011parse/sec Expression: 2 * (y + x) [parse] Total Time: 1.44042400 Rate: 69424.003parse/sec Expression: (2 * y + 2 * x) [parse] Total Time: 1.76506900 Rate: 56655.009parse/sec Expression: ((1.23 * x^2) / y) - 123.123 [parse] Total Time: 1.82351000 Rate: 54839.293parse/sec Expression: (y + x / y) * (x - y / x) [parse] Total Time: 1.87246600 Rate: 53405.509parse/sec Expression: x / ((x + y) + (x - y)) / y [parse] Total Time: 1.85876600 Rate: 53799.133parse/sec Expression: 1 - ((x * y) + (y / x)) - 3 [parse] Total Time: 2.83895600 Rate: 35224.216parse/sec Expression: (5.5 + x) + (2 * x - 2 / 3 * y) * (x / 3 + y / 4) + (y + 7.7) [parse] Total Time: 3.60599000 Rate: 27731.635parse/sec Expression: 1.1x^1 + 2.2y^2 - 3.3x^3 + 4.4y^15 - 5.5x^23 + 6.6y^55 [parse] Total Time: 1.72792100 Rate: 57873.016parse/sec Expression: sin(2 * x) + cos(pi / y) [parse] Total Time: 1.90259300 Rate: 52559.849parse/sec Expression: 1 - sin(2 * x) + cos(pi / y) [parse] Total Time: 2.18528900 Rate: 45760.538parse/sec Expression: sqrt(111.111 - sin(2 * x) + cos(pi / y) / 333.333) [parse] Total Time: 2.04129700 Rate: 48988.462parse/sec Expression: (x^2 / sin(2 * pi / y)) - x / 2 [parse] Total Time: 2.92925500 Rate: 34138.373parse/sec Expression: x + (cos(y - sin(2 / x * pi)) - sin(x - cos(2 * y / pi))) - y [parse] Total Time: 2.34446400 Rate: 42653.673parse/sec Expression: clamp(-1.0, sin(2 * pi * x) + cos(y / 2 * pi), +1.0) [parse] Total Time: 2.53287900 Rate: 39480.765parse/sec Expression: max(3.33, min(sqrt(1 - sin(2 * x) + cos(pi / y) / 3), 1.11)) [parse] Total Time: 2.75957400 Rate: 36237.477parse/sec Expression: if((y + (x * 2.2)) <= (x + y + 1.1), x - y, x * y) + 2 * pi / x 322.47user 8.29system 5:30.98elapsed 99%CPU (0avgtext+0avgdata 7832maxresident)k 0inputs+0outputs (0major+3515468minor)pagefaults 0swaps
Building https://github.com/ArashPartow/exprtk/blob/master/exprtk_benchmark.cpp we get this output (where circle is around 30% slower):