Profiling results ----------------- Total cpu time observed: 21214ms (out of 21580ms) Number of samples taken: 88 (once every 241ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 65 hidden) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [26] 100.0% [1] 20812(98.1%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ---------------------------------------------------------------------- ??? [26] 100.0% [2] 2674(12.6%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [7] 68.7% loop [6] 23.8% get-final-combination [8] 7.6% ---------------------------------------------------------------------- loop [46] 100.0% [3] 216(1.0%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [22] 100.0% ---------------------------------------------------------------------- f16 [43] 100.0% [4] 198(0.9%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 simplify [9] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 99.0% [5] 21014(99.1%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [26] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 3.4% ??? [26] 96.6% [6] 18976(89.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [13] 58.0% loop [10] 38.7% loop [14] 3.4% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 1836(8.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [11] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 202(1.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 extract-alt [12] 100.0% ---------------------------------------------------------------------- taylor-sqrt [4] 100.0% [9] 198(0.9%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f16 [43] 100.0% ---------------------------------------------------------------------- loop [6] 100.0% [10] 7338(34.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [14] 76.7% make-exacts* [13] 20.5% eval-prog [18] 2.9% ---------------------------------------------------------------------- for-loop [7] 100.0% [11] 1836(8.7%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [15] 55.6% finalize-iter! [16] 21.9% localize-error [17] 11.8% gen-series! [20] 10.8% ---------------------------------------------------------------------- get-final-combination [8] 100.0% [12] 202(1.0%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [19] 100.0% ---------------------------------------------------------------------- loop [10] 12.0% loop [6] 88.0% [13] 12504(58.9%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [46] 52.2% map [44] 47.8% ---------------------------------------------------------------------- loop [6] 10.2% loop [10] 89.8% [14] 6262(29.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [44] 69.8% loop [46] 30.2% ---------------------------------------------------------------------- run-iter! [11] 100.0% [15] 1020(4.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [21] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [16] 402(1.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [23] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [17] 216(1.0%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [22] 100.0% ---------------------------------------------------------------------- loop [10] 100.0% [18] 210(1.0%) 0(0.0%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [22] 100.0% ---------------------------------------------------------------------- extract-alt [12] 100.0% [19] 202(1.0%) 0(0.0%) loop /home/ztatlock/herbie/src/common.rkt:86:2 composed [24] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [20] 198(0.9%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [25] 100.0% ---------------------------------------------------------------------- simplify! [15] 100.0% [21] 1020(4.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [26] 100.0% ---------------------------------------------------------------------- ??? [3] 25.4% localize-error [17] 25.4% eval-prog [18] 49.3% [22] 426(2.0%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 parse-loop12 [28] 50.7% bigfloat-hash [29] 49.3% ---------------------------------------------------------------------- finalize-iter! [16] 100.0% [23] 402(1.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [27] 100.0% ---------------------------------------------------------------------- loop [19] 100.0% [24] 202(1.0%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [39] 100.0% ---------------------------------------------------------------------- gen-series! [20] 100.0% [25] 198(0.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [30] 100.0% ---------------------------------------------------------------------- for-loop [21] 1.6% run [5] 49.7% [26] 21014(99.1%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.7% loop [6] 44.1% run-improve58 [2] 5.6% simplify [31] 1.6% ---------------------------------------------------------------------- ??? [23] 100.0% [27] 402(1.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [32] 100.0% ---------------------------------------------------------------------- hash-ref! [22] 100.0% [28] 216(1.0%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [46] 100.0% ---------------------------------------------------------------------- hash-ref! [22] 100.0% [29] 210(1.0%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [33] 100.0% ---------------------------------------------------------------------- for-loop [25] 100.0% [30] 198(0.9%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [34] 100.0% ---------------------------------------------------------------------- ??? [26] 100.0% [31] 1020(4.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [35] 80.6% iterate-egraph!5 [38] 19.4% ---------------------------------------------------------------------- for-loop [27] 100.0% [32] 402(1.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [36] 100.0% ---------------------------------------------------------------------- bigfloat-hash [29] 100.0% [33] 210(1.0%) 210(1.0%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- taylor-alt [30] 100.0% [34] 198(0.9%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [37] 100.0% ---------------------------------------------------------------------- simplify [31] 100.0% [35] 822(3.9%) 200(0.9%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [38] 75.7% ---------------------------------------------------------------------- atab-add-altn [32] 100.0% [36] 402(1.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [39] 100.0% ---------------------------------------------------------------------- for-loop [34] 100.0% [37] 198(0.9%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [40] 100.0% ---------------------------------------------------------------------- simplify [31] 24.1% simplify-expr [35] 75.9% [38] 820(3.9%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [41] 100.0% ---------------------------------------------------------------------- composed [24] 33.4% best-and-tied-at-points [36] 66.6% [39] 604(2.8%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [42] 100.0% ---------------------------------------------------------------------- location-do [37] 100.0% [40] 198(0.9%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f16 [43] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [38] 100.0% [41] 820(3.9%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [45] 100.0% ---------------------------------------------------------------------- errors [39] 100.0% [42] 604(2.8%) 202(1.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [48] 66.6% ---------------------------------------------------------------------- simplify [9] 25.0% approximate9 [40] 25.0% map [44] 50.0% [43] 198(0.9%) 0(0.0%) f16 ...t/collects/racket/match/compiler.rkt:499:40 map [44] 75.0% taylor-sqrt [4] 25.0% ---------------------------------------------------------------------- f16 [43] 1.9% loop [14] 41.5% make-exacts* [13] 56.7% [44] 10550(49.7%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [46] 96.2% ??? [48] 1.9% f16 [43] 1.3% ---------------------------------------------------------------------- for-loop [45] 50.0% one-iter [41] 50.0% [45] 820(3.9%) 400(1.9%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [45] 50.0% match-e [47] 25.6% ---------------------------------------------------------------------- parse-loop12 [28] 0.0% make-exacts* [13] 0.1% loop [14] 0.1% map [44] 0.6% loop [46] 99.2% [46] 18980(89.5%) 234(1.1%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [46] 99.2% ??? [48] 0.6% ->flonum [52] 0.1% ??? [3] 0.0% ??? [53] 0.0% ---------------------------------------------------------------------- for-loop [45] 100.0% [47] 420(2.0%) 0(0.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [49] 100.0% ---------------------------------------------------------------------- map [44] 1.1% for-loop [42] 2.2% loop [46] 96.7% [48] 18346(86.5%) 236(1.1%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [50] 76.9% real->bigfloat [51] 17.0% ??? [61] 3.7% ->flonum [52] 1.1% ---------------------------------------------------------------------- match-e [47] 100.0% [49] 420(2.0%) 420(2.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ---------------------------------------------------------------------- ??? [48] 100.0% [50] 14110(66.5%) 200(0.9%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [53] 97.0% ...higher-order.rkt:373:33 [54] 1.6% ---------------------------------------------------------------------- ??? [48] 100.0% [51] 3126(14.7%) 2612(12.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [60] 16.4% ---------------------------------------------------------------------- ??? [48] 20.4% loop [46] 79.6% [52] 990(4.7%) 560(2.6%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [55] 23.0% ??? [56] 20.4% ---------------------------------------------------------------------- loop [46] 1.6% ??? [50] 98.4% [53] 13896(65.5%) 10372(48.9%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfhypot [57] 17.0% ??? [62] 6.6% bftan [58] 1.7% ---------------------------------------------------------------------- ??? [50] 100.0% [54] 230(1.1%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [59] 100.0% ---------------------------------------------------------------------- ->flonum [52] 100.0% [55] 228(1.1%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [60] 100.0% ---------------------------------------------------------------------- ->flonum [52] 100.0% [56] 202(1.0%) 202(1.0%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [53] 100.0% [57] 2368(11.2%) 1698(8.0%) bfhypot ...ib/math/private/bigfloat/mpfr.rkt:819:4 ??? [60] 28.3% ---------------------------------------------------------------------- ??? [53] 100.0% [58] 234(1.1%) 0(0.0%) bftan ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [60] 100.0% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [54]100.0% [59] 230(1.1%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [61] 100.0% ---------------------------------------------------------------------- ??? [55] 13.9% bftan [58] 14.2% real->bigfloat [51] 31.2% bfhypot [57] 40.7% [60] 1646(7.8%) 1646(7.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [59] 25.5% ??? [48] 74.5% [61] 902(4.3%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [62] 100.0% ---------------------------------------------------------------------- ??? [61] 49.5% ??? [53] 50.5% [62] 1824(8.6%) 692(3.3%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [63] 62.1% ---------------------------------------------------------------------- ??? [62] 100.0% [63] 1132(5.3%) 218(1.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [64] 80.7% ---------------------------------------------------------------------- ??? [63] 100.0% [64] 914(4.3%) 914(4.3%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------