Profiling results ----------------- Total cpu time observed: 11724ms (out of 11936ms) Number of samples taken: 55 (once every 213ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [7] 100.0% [1] 11724(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- hash-ref! [66] 100.0% [2] 422(3.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [5] 100.0% ---------------------------------------------------------------------- hash-ref! [66] 100.0% [3] 200(1.7%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [6] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 11724(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ---------------------------------------------------------------------- ??? [2] 100.0% [5] 422(3.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [66] 100.0% ---------------------------------------------------------------------- ??? [3] 100.0% [6] 200(1.7%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [66] 100.0% ---------------------------------------------------------------------- for-loop [30] 2.3% run [4] 48.8% [7] 11724(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.8% loop [8] 27.4% run-improve58 [9] 21.4% simplify [10] 2.3% ---------------------------------------------------------------------- ??? [7] 100.0% [8] 6426(54.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [16] 56.6% loop [12] 43.4% ---------------------------------------------------------------------- ??? [7] 100.0% [9] 5298(45.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [11] 68.9% for-loop [13] 31.1% ---------------------------------------------------------------------- ??? [7] 100.0% [10] 826(7.0%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [20] 51.1% simplify-expr [14] 24.5% loop [15] 24.5% ---------------------------------------------------------------------- run-improve58 [9] 100.0% [11] 3650(31.1%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [17] 100.0% ---------------------------------------------------------------------- loop [8] 100.0% [12] 2786(23.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [18] 62.5% make-exacts* [16] 37.5% ---------------------------------------------------------------------- run-improve58 [9] 100.0% [13] 1648(14.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [19] 100.0% ---------------------------------------------------------------------- simplify [10] 100.0% [14] 202(1.7%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [20] 100.0% ---------------------------------------------------------------------- simplify [10] 100.0% [15] 202(1.7%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [21] 100.0% ---------------------------------------------------------------------- loop [12] 22.3% loop [8] 77.7% [16] 4686(40.0%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [75] 61.7% loop [77] 38.3% ---------------------------------------------------------------------- get-final-combination [11] 100.0% [17] 3650(31.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [22] 100.0% ---------------------------------------------------------------------- loop [12] 100.0% [18] 1740(14.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [75] 100.0% ---------------------------------------------------------------------- for-loop [13] 100.0% [19] 1648(14.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [23] 50.1% gen-series! [25] 25.6% finalize-iter! [27] 12.1% localize-error [28] 12.1% ---------------------------------------------------------------------- simplify-expr [14] 32.4% simplify [10] 67.6% [20] 624(5.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [24] 100.0% ---------------------------------------------------------------------- loop [15] 100.0% [21] 202(1.7%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [26] 100.0% ---------------------------------------------------------------------- split-table [17] 100.0% [22] 3650(31.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [29] 100.0% ---------------------------------------------------------------------- run-iter! [19] 100.0% [23] 826(7.0%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [30] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [20] 100.0% [24] 624(5.3%) 222(1.9%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [32] 32.4% apply-match [34] 32.1% ---------------------------------------------------------------------- run-iter! [19] 100.0% [25] 422(3.6%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [31] 100.0% ---------------------------------------------------------------------- pass [21] 100.0% [26] 202(1.7%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [33] 100.0% ---------------------------------------------------------------------- run-iter! [19] 100.0% [27] 200(1.7%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [35] 100.0% ---------------------------------------------------------------------- run-iter! [19] 100.0% [28] 200(1.7%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [66] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [22] 100.0% [29] 3650(31.1%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [36] 89.1% pick-errors [38] 5.8% errors [57] 5.1% ---------------------------------------------------------------------- simplify! [23] 100.0% [30] 826(7.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ---------------------------------------------------------------------- gen-series! [25] 100.0% [31] 422(3.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [37] 100.0% ---------------------------------------------------------------------- for-loop [32] 50.0% one-iter [24] 50.0% [32] 202(1.7%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [32] 50.0% match-e [39] 50.0% ---------------------------------------------------------------------- for-loop [26] 100.0% [33] 202(1.7%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [40] 100.0% ---------------------------------------------------------------------- one-iter [24] 100.0% [34] 200(1.7%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 update-leader! [41] 100.0% ---------------------------------------------------------------------- finalize-iter! [27] 100.0% [35] 200(1.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [42] 100.0% ---------------------------------------------------------------------- option-on-expr [29] 100.0% [36] 3252(27.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [43] 100.0% ---------------------------------------------------------------------- for-loop [31] 100.0% [37] 422(3.6%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [44] 100.0% ---------------------------------------------------------------------- option-on-expr [29] 100.0% [38] 212(1.8%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [45] 100.0% ---------------------------------------------------------------------- for-loop [32] 100.0% [39] 202(1.7%) 0(0.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 custom-in-set [46] 100.0% ---------------------------------------------------------------------- argmin [33] 100.0% [40] 202(1.7%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [47] 100.0% ---------------------------------------------------------------------- apply-match [34] 100.0% [41] 200(1.7%) 0(0.0%) update-leader! ...herbie/src/core/egraph.rkt:217:0 for-loop [48] 100.0% ---------------------------------------------------------------------- ??? [35] 100.0% [42] 200(1.7%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [49] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [36] 100.0% [43] 3252(27.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [50] 75.5% loop [54] 24.5% ---------------------------------------------------------------------- taylor-alt [37] 100.0% [44] 422(3.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [51] 100.0% ---------------------------------------------------------------------- pick-errors [38] 100.0% [45] 212(1.8%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [63] 100.0% ---------------------------------------------------------------------- match-e [39] 100.0% [46] 202(1.7%) 202(1.7%) custom-in-set ...acket/private/set-types.rkt:578:0 ---------------------------------------------------------------------- expression-cost [40] 100.0% [47] 202(1.7%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:189:0 hash-ref! [66] 100.0% ---------------------------------------------------------------------- update-leader! [41] 100.0% [48] 200(1.7%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:222:6 for-loop [52] 100.0% ---------------------------------------------------------------------- for-loop [42] 100.0% [49] 200(1.7%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [53] 100.0% ---------------------------------------------------------------------- sort [43] 39.0% copying-mergesort [50] 61.0% [50] 2456(20.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [50] 61.0% loop [54] 26.6% jloop [55] 12.4% ---------------------------------------------------------------------- location-do [51] 26.3% for-loop [44] 73.7% [51] 422(3.6%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [56] 73.7% location-do [51] 26.3% ---------------------------------------------------------------------- for-loop [48] 100.0% [52] 200(1.7%) 0(0.0%) for-loop ...tlock/herbie/src/core/egraph.rkt:223:8 hash-update! [58] 100.0% ---------------------------------------------------------------------- atab-add-altn [49] 100.0% [53] 200(1.7%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [57] 100.0% ---------------------------------------------------------------------- sort [43] 39.1% copying-mergesort [50] 60.9% [54] 2038(17.4%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [59] 100.0% ---------------------------------------------------------------------- copying-mergesort [50] 100.0% [55] 1214(10.4%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [59] 100.0% ---------------------------------------------------------------------- location-do [51] 100.0% [56] 422(3.6%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 taylor-sqrt [60] 52.6% f37 [74] 47.4% ---------------------------------------------------------------------- option-on-expr [29] 48.2% best-and-tied-at-points [53] 51.8% [57] 386(3.3%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [61] 100.0% ---------------------------------------------------------------------- for-loop [52] 100.0% [58] 200(1.7%) 0(0.0%) hash-update! ...ket/private/more-scheme.rkt:362:13 ??? [62] 100.0% ---------------------------------------------------------------------- jloop [55] 37.3% loop [54] 62.7% [59] 3252(27.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [63] 100.0% ---------------------------------------------------------------------- f37 [74] 47.4% approximate9 [56] 52.6% [60] 422(3.6%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 first-nonzero-exp [64] 52.6% hash-ref! [66] 47.4% ---------------------------------------------------------------------- errors [57] 100.0% [61] 386(3.3%) 200(1.7%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [78] 48.2% ---------------------------------------------------------------------- hash-update! [58] 100.0% [62] 200(1.7%) 0(0.0%) ??? .../ztatlock/herbie/src/core/egraph.rkt:225:24 for-loop [65] 100.0% ---------------------------------------------------------------------- for-loop [45] 6.1% ??? [59] 93.9% [63] 3464(29.5%) 2848(24.3%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [67] 6.3% parse-app [68] 5.8% go [69] 5.7% ---------------------------------------------------------------------- taylor-sqrt [60] 100.0% [64] 222(1.9%) 0(0.0%) first-nonzero-exp ...bie/src/core/taylor.rkt:260:0 hash-ref! [66] 100.0% ---------------------------------------------------------------------- ??? [62] 100.0% [65] 200(1.7%) 200(1.7%) for-loop ...lock/herbie/src/core/egraph.rkt:226:26 ---------------------------------------------------------------------- for-loop [6] 6.1% taylor-sqrt [60] 6.1% ??? [73] 12.3% compile [47] 12.3% first-nonzero-exp [64] 13.5% localize-error [28] 24.3% for-loop [5] 25.6% [66] 824(7.0%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [2] 25.6% ??? [73] 24.5% parse-loop12 [76] 24.3% simplify [70] 19.5% ??? [3] 6.1% ---------------------------------------------------------------------- eval-prog [63] 100.0% [67] 218(1.9%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [71] 100.0% ---------------------------------------------------------------------- eval-prog [63] 100.0% [68] 202(1.7%) 0(0.0%) parse-app .../collects/racket/private/kw.rkt:903:2 loop [72] 100.0% ---------------------------------------------------------------------- eval-prog [63] 100.0% [69] 196(1.7%) 196(1.7%) go .../collects/racket/private/qq-and-or.rkt:50:20 ---------------------------------------------------------------------- hash-ref! [66] 100.0% [70] 422(3.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [74] 100.0% ---------------------------------------------------------------------- ??? [67] 100.0% [71] 218(1.9%) 218(1.9%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ---------------------------------------------------------------------- parse-app [68] 100.0% [72] 202(1.7%) 202(1.7%) loop .../collects/racket/private/stxcase.rkt:112:7 ---------------------------------------------------------------------- hash-ref! [66] 100.0% [73] 202(1.7%) 202(1.7%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 hash-ref! [66] 50.0% ---------------------------------------------------------------------- approximate9 [56] 23.7% simplify [70] 76.3% [74] 422(3.6%) 0(0.0%) f37 ...t/collects/racket/match/compiler.rkt:499:40 map [75] 76.3% taylor-sqrt [60] 23.7% ---------------------------------------------------------------------- f37 [74] 8.3% loop [18] 34.4% make-exacts* [16] 57.2% [75] 5054(43.1%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [77] 86.8% parse-loop12 [76] 8.3% ??? [78] 4.8% ---------------------------------------------------------------------- parse-loop12 [76] 16.1% hash-ref! [66] 32.2% map [75] 51.8% [76] 622(5.3%) 422(3.6%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [77] 32.2% parse-loop12 [76] 16.1% ---------------------------------------------------------------------- parse-loop12 [76] 0.1% make-exacts* [16] 0.3% map [75] 0.9% loop [77] 98.7% [77] 6382(54.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [77] 98.7% ??? [78] 1.1% ...higher-order.rkt:373:33 [80] 0.1% ->flonum [79] 0.0% ---------------------------------------------------------------------- for-loop [61] 3.0% map [75] 4.0% loop [77] 93.0% [78] 6150(52.5%) 874(7.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [81] 49.4% real->bigfloat [82] 29.0% ??? [86] 7.4% ---------------------------------------------------------------------- loop [77] 100.0% [79] 462(3.9%) 222(1.9%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [83] 51.9% ---------------------------------------------------------------------- loop [77] 100.0% [80] 200(1.7%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [84] 100.0% ---------------------------------------------------------------------- ??? [78] 100.0% [81] 3038(25.9%) 186(1.6%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [87] 66.0% bf* [85] 27.9% ---------------------------------------------------------------------- ??? [78] 100.0% [82] 1782(15.2%) 1586(13.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [91] 11.0% ---------------------------------------------------------------------- ->flonum [79] 100.0% [83] 240(2.0%) 240(2.0%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [80]100.0% [84] 200(1.7%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [86] 100.0% ---------------------------------------------------------------------- ??? [81] 100.0% [85] 848(7.2%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [87] 100.0% ---------------------------------------------------------------------- ??? [84] 30.5% ??? [78] 69.5% [86] 656(5.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [89] 100.0% ---------------------------------------------------------------------- bf* [85] 29.7% ??? [81] 70.3% [87] 2852(24.3%) 860(7.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfexp [88] 47.0% ??? [89] 15.1% bfmul [90] 7.7% ---------------------------------------------------------------------- ??? [87] 100.0% [88] 1340(11.4%) 898(7.7%) bfexp ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [91] 33.0% ---------------------------------------------------------------------- ??? [87] 39.7% ??? [86] 60.3% [89] 1088(9.3%) 450(3.8%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [92] 58.6% ---------------------------------------------------------------------- ??? [87] 100.0% [90] 220(1.9%) 220(1.9%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- real->bigfloat [82] 30.7% bfexp [88] 69.3% [91] 638(5.4%) 638(5.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [89] 100.0% [92] 638(5.4%) 200(1.7%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [93] 68.7% ---------------------------------------------------------------------- ??? [92] 100.0% [93] 438(3.7%) 438(3.7%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------