Profiling results ----------------- Total cpu time observed: 23332ms (out of 24108ms) Number of samples taken: 90 (once every 259ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 60 hidden) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [25] 100.0% [1] 23332(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- ??? [25] 100.0% [2] 2528(10.8%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [6] 80.8% loop [5] 10.3% errors [36] 8.9% ---------------------------------------------------------------------- location-do [35] 100.0% [3] 418(1.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [7] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 23332(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [25] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 1.2% ??? [25] 98.8% [5] 21064(90.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [8] 50.8% make-exacts* [11] 38.1% loop [12] 11.1% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 2042(8.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [9] 100.0% ---------------------------------------------------------------------- approximate9 [3] 100.0% [7] 418(1.8%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [10] 100.0% ---------------------------------------------------------------------- loop [5] 100.0% [8] 10700(45.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [12] 65.6% make-exacts* [11] 31.9% eval-prog [41] 2.5% ---------------------------------------------------------------------- for-loop [6] 100.0% [9] 2042(8.8%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [13] 40.2% finalize-iter! [14] 39.4% gen-series! [15] 20.5% ---------------------------------------------------------------------- ??? [18] 17.4% ??? [17] 41.3% loop [7] 41.3% [10] 418(1.8%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [17] 41.3% simplify [16] 41.3% ??? [18] 17.4% ---------------------------------------------------------------------- loop [8] 29.8% loop [5] 70.2% [11] 11442(49.0%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [19] 50.8% loop [26] 49.2% ---------------------------------------------------------------------- loop [5] 25.0% loop [8] 75.0% [12] 9352(40.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [19] 100.0% ---------------------------------------------------------------------- run-iter! [9] 100.0% [13] 820(3.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [20] 100.0% ---------------------------------------------------------------------- run-iter! [9] 100.0% [14] 804(3.4%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [21] 100.0% ---------------------------------------------------------------------- run-iter! [9] 100.0% [15] 418(1.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [22] 100.0% ---------------------------------------------------------------------- hash-ref! [10] 100.0% [16] 418(1.8%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f16 [23] 52.2% debug-print [24] 47.8% ---------------------------------------------------------------------- hash-ref! [10] 100.0% [17] 418(1.8%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [10] 100.0% ---------------------------------------------------------------------- hash-ref! [10] 100.0% [18] 218(0.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:357:30 hash-ref! [10] 100.0% ---------------------------------------------------------------------- f16 [23] 1.4% make-exacts* [11] 37.8% loop [12] 60.8% [19] 15380(65.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [26] 96.8% ??? [42] 1.7% ---------------------------------------------------------------------- simplify! [13] 100.0% [20] 820(3.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [25] 100.0% ---------------------------------------------------------------------- finalize-iter! [14] 100.0% [21] 804(3.4%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [27] 100.0% ---------------------------------------------------------------------- gen-series! [15] 100.0% [22] 418(1.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [28] 100.0% ---------------------------------------------------------------------- simplify [16] 100.0% [23] 218(0.9%) 0(0.0%) f16 ...t/collects/racket/match/compiler.rkt:499:40 map [19] 100.0% ---------------------------------------------------------------------- simplify [16] 100.0% [24] 200(0.9%) 200(0.9%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 ---------------------------------------------------------------------- for-loop [20] 1.2% run [4] 49.4% [25] 23332(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 49.4% loop [5] 44.6% run-improve58 [2] 4.8% simplify [29] 1.2% ---------------------------------------------------------------------- make-exacts* [11] 0.1% ??? [42] 0.5% map [19] 2.1% loop [26] 97.3% [26] 20526(88.0%) 196(0.8%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [26] 97.3% ??? [42] 2.1% real->bigfloat [45] 0.3% ??? [54] 0.1% ->flonum [31] 0.1% ---------------------------------------------------------------------- ??? [21] 100.0% [27] 804(3.4%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [30] 100.0% ---------------------------------------------------------------------- for-loop [22] 100.0% [28] 418(1.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [32] 100.0% ---------------------------------------------------------------------- ??? [25] 100.0% [29] 820(3.5%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [33] 100.0% ---------------------------------------------------------------------- for-loop [27] 100.0% [30] 804(3.4%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [34] 100.0% ---------------------------------------------------------------------- loop [26] 100.0% [31] 802(3.4%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [55] 65.1% ??? [48] 34.9% ---------------------------------------------------------------------- taylor-alt [28] 100.0% [32] 418(1.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [35] 100.0% ---------------------------------------------------------------------- simplify [29] 100.0% [33] 820(3.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [37] 100.0% ---------------------------------------------------------------------- atab-add-altn [30] 100.0% [34] 804(3.4%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [36] 74.6% for-loop [38] 25.4% ---------------------------------------------------------------------- for-loop [32] 29.0% location-do [35] 71.0% [35] 418(1.8%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [35] 71.0% approximate9 [3] 29.0% ---------------------------------------------------------------------- run-improve58 [2] 27.4% best-and-tied-at-points [34] 72.6% [36] 826(3.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [40] 72.6% eval-prog [41] 27.4% ---------------------------------------------------------------------- simplify-expr [33] 100.0% [37] 820(3.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [39] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [34] 100.0% [38] 204(0.9%) 204(0.9%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- iterate-egraph!5 [37] 100.0% [39] 820(3.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [43] 100.0% ---------------------------------------------------------------------- errors [36] 100.0% [40] 600(2.6%) 402(1.7%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [42] 33.0% ---------------------------------------------------------------------- errors [36] 45.6% loop [8] 54.4% [41] 496(2.1%) 496(2.1%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ---------------------------------------------------------------------- for-loop [40] 1.0% map [19] 1.3% loop [26] 97.7% [42] 20190(86.5%) 966(4.1%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [44] 60.0% real->bigfloat [45] 26.4% loop [26] 8.9% ---------------------------------------------------------------------- for-loop [43] 50.0% one-iter [39] 50.0% [43] 820(3.5%) 200(0.9%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [43] 50.0% match-e [46] 37.8% ---------------------------------------------------------------------- ??? [42] 100.0% [44] 12104(51.9%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [50] 78.5% bf* [47] 18.2% ??? [48] 1.6% ...higher-order.rkt:373:33 [49] 1.6% ---------------------------------------------------------------------- loop [26] 14.9% ??? [42] 85.1% [45] 6256(26.8%) 4718(20.2%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [56] 24.6% ---------------------------------------------------------------------- for-loop [43] 100.0% [46] 620(2.7%) 620(2.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ---------------------------------------------------------------------- ??? [44] 100.0% [47] 2208(9.5%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [50] 100.0% ---------------------------------------------------------------------- ??? [44] 41.4% ->flonum [31] 58.6% [48] 478(2.0%) 478(2.0%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [44] 100.0% [49] 194(0.8%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [51] 100.0% ---------------------------------------------------------------------- bf* [47] 18.9% ??? [44] 81.1% [50] 11712(50.2%) 1566(6.7%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqrt [52] 34.0% bfsub [53] 31.7% ??? [55] 20.9% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [49]100.0% [51] 194(0.8%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [54] 100.0% ---------------------------------------------------------------------- ??? [50] 100.0% [52] 3986(17.1%) 2826(12.1%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [56] 29.1% ---------------------------------------------------------------------- ??? [50] 100.0% [53] 3712(15.9%) 3276(14.0%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [56] 11.7% ---------------------------------------------------------------------- ??? [51] 22.5% loop [26] 77.5% [54] 862(3.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [55] 100.0% ---------------------------------------------------------------------- ->flonum [31] 13.6% ??? [54] 22.5% ??? [50] 63.9% [55] 3832(16.4%) 1954(8.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [57] 43.1% ??? [58] 5.9% ---------------------------------------------------------------------- bfsub [53] 13.9% bfsqrt [52] 37.0% real->bigfloat [45] 49.1% [56] 3134(13.4%) 3134(13.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [55] 100.0% [57] 1650(7.1%) 746(3.2%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [59] 54.8% ---------------------------------------------------------------------- ??? [55] 100.0% [58] 228(1.0%) 228(1.0%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ---------------------------------------------------------------------- ??? [57] 100.0% [59] 904(3.9%) 904(3.9%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------