Profiling results ----------------- Total cpu time observed: 17440ms (out of 17728ms) Number of samples taken: 75 (once every 233ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [7] 100.0% [1] 17018(97.6%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ----------------------------------------------------------------------- loop [37] 9.9% ??? [7] 90.1% [2] 2030(11.6%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [5] 70.2% for-loop [6] 29.8% ----------------------------------------------------------------------- f37 [84] 100.0% [3] 200(1.1%) 0(0.0%) taylor-invert .../herbie/src/core/taylor.rkt:312:0 first-nonzero-exp [68] 100.0% ----------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 17018(97.6%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [5] 1426(8.2%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [8] 100.0% ----------------------------------------------------------------------- simplify [2] 100.0% [6] 604(3.5%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [8] 100.0% ----------------------------------------------------------------------- for-loop [38] 3.5% run [4] 47.0% [7] 17440(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.0% run-improve58 [9] 26.9% loop [10] 22.6% simplify [2] 3.5% ----------------------------------------------------------------------- for-loop [6] 29.8% simplify-expr [5] 70.2% [8] 2030(11.6%) 202(1.2%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [11] 90.0% ----------------------------------------------------------------------- ??? [7] 100.0% [9] 9556(54.8%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [12] 65.4% for-loop [14] 25.9% finalize-table! [16] 8.7% ----------------------------------------------------------------------- ??? [7] 100.0% [10] 7884(45.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [21] 55.8% loop [13] 36.1% loop [23] 2.9% filter-points [18] 2.8% loop [19] 2.4% ----------------------------------------------------------------------- iterate-egraph!5 [8] 100.0% [11] 1828(10.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [15] 54.7% loop [17] 45.3% ----------------------------------------------------------------------- run-improve58 [9] 100.0% [12] 6250(35.8%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [20] 96.8% extract-alt [27] 3.2% ----------------------------------------------------------------------- loop [10] 100.0% [13] 2844(16.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [23] 74.8% make-exacts* [21] 25.2% ----------------------------------------------------------------------- run-improve58 [9] 100.0% [14] 2472(14.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [22] 100.0% ----------------------------------------------------------------------- for-loop [15] 50.0% one-iter [11] 50.0% [15] 1000(5.7%) 200(1.1%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [15] 50.0% match-e [31] 40.0% ----------------------------------------------------------------------- run-improve58 [9] 100.0% [16] 834(4.8%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [24] 100.0% ----------------------------------------------------------------------- one-iter [11] 100.0% [17] 828(4.7%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [25] 100.0% ----------------------------------------------------------------------- loop [10] 100.0% [18] 222(1.3%) 0(0.0%) filter-points ...tlock/herbie/src/points.rkt:101:0 for-loop [26] 100.0% ----------------------------------------------------------------------- loop [10] 0.1% loop [19] 99.9% [19] 192(1.1%) 192(1.1%) loop ...hare/racket/collects/racket/list.rkt:154:2 loop [19] 99.9% ----------------------------------------------------------------------- get-final-combination [12] 100.0% [20] 6050(34.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [28] 100.0% ----------------------------------------------------------------------- loop [13] 14.0% loop [10] 86.0% [21] 5118(29.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [37] 57.0% map [29] 43.0% ----------------------------------------------------------------------- for-loop [14] 100.0% [22] 2472(14.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [30] 74.0% gen-series! [33] 17.0% finalize-iter! [36] 9.0% ----------------------------------------------------------------------- loop [10] 9.6% loop [13] 90.4% [23] 2352(13.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [29] 100.0% ----------------------------------------------------------------------- finalize-table! [16] 100.0% [24] 834(4.8%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [32] 74.6% ??? [41] 25.4% ----------------------------------------------------------------------- loop [17] 100.0% [25] 828(4.7%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [31] 73.2% loop! [35] 26.8% ----------------------------------------------------------------------- filter-points [18] 100.0% [26] 222(1.3%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:104:4 andmap [34] 100.0% ----------------------------------------------------------------------- get-final-combination [12] 100.0% [27] 200(1.1%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [37] 100.0% ----------------------------------------------------------------------- split-table [20] 100.0% [28] 6050(34.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [44] 75.5% loop [37] 24.5% ----------------------------------------------------------------------- make-exacts* [21] 48.3% loop [23] 51.7% [29] 4552(26.1%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [37] 100.0% ----------------------------------------------------------------------- run-iter! [22] 100.0% [30] 1830(10.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [38] 100.0% ----------------------------------------------------------------------- for-loop [47] 7.2% apply-match [25] 35.9% for-loop [15] 56.9% [31] 1406(8.1%) 600(3.4%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [40] 35.8% list-cartesian-product [48] 14.4% loop [37] 7.2% ----------------------------------------------------------------------- post-process [24] 100.0% [32] 622(3.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [39] 100.0% ----------------------------------------------------------------------- run-iter! [22] 100.0% [33] 420(2.4%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [42] 100.0% ----------------------------------------------------------------------- for-loop [26] 100.0% [34] 222(1.3%) 222(1.3%) andmap ...et/collects/racket/private/map.rkt:75:13 ----------------------------------------------------------------------- apply-match [25] 100.0% [35] 222(1.3%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [43] 100.0% ----------------------------------------------------------------------- run-iter! [22] 100.0% [36] 222(1.3%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [41] 100.0% ----------------------------------------------------------------------- ??? [66] 0.0% make-exacts* [21] 0.1% map [29] 0.5% extract-alt [27] 2.1% match-e [31] 2.2% infer-splitpoints4 [28] 15.8% loop [37] 79.2% [37] 9352(53.6%) 202(1.2%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [37] 79.2% option-on-expr [44] 15.8% simplify [2] 2.1% ??? [66] 0.7% ->flonum [73] 0.0% real->bigfloat [72] 0.0% ----------------------------------------------------------------------- simplify! [30] 100.0% [38] 1830(10.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ----------------------------------------------------------------------- simplify-node [86] 16.1% for-loop [32] 83.9% [39] 622(3.6%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [45] 83.9% f37 [84] 16.1% ----------------------------------------------------------------------- match-e [31] 100.0% [40] 604(3.5%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [47] 66.9% list-cartesian-product [48] 33.1% ----------------------------------------------------------------------- post-process [24] 48.8% finalize-iter! [36] 51.2% [41] 434(2.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [46] 100.0% ----------------------------------------------------------------------- gen-series! [33] 100.0% [42] 420(2.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [45] 100.0% ----------------------------------------------------------------------- loop! [35] 100.0% [43] 222(1.3%) 222(1.3%) custom-set-union ...et/private/set-types.rkt:168:0 ----------------------------------------------------------------------- loop [37] 24.5% infer-splitpoints4 [28] 75.5% [44] 6050(34.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [49] 86.0% pick-errors [51] 14.0% ----------------------------------------------------------------------- for-loop [42] 40.3% append-map [39] 59.7% [45] 1042(6.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [50] 100.0% ----------------------------------------------------------------------- ??? [41] 100.0% [46] 434(2.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [52] 100.0% ----------------------------------------------------------------------- for-loop [40] 100.0% [47] 404(2.3%) 202(1.2%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [31] 50.0% ----------------------------------------------------------------------- list-cartesian-product [48] 25.1% match-e [31] 25.1% for-loop [40] 49.8% [48] 402(2.3%) 202(1.2%) list-cartesian-product ...src/core/ematch.rkt:20:0 for-loop [53] 49.8% list-cartesian-product [48] 25.1% ----------------------------------------------------------------------- option-on-expr [44] 100.0% [49] 5200(29.8%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [54] 100.0% ----------------------------------------------------------------------- taylor-alt [45] 100.0% [50] 1042(6.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [55] 100.0% ----------------------------------------------------------------------- option-on-expr [44] 100.0% [51] 850(4.9%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [56] 100.0% ----------------------------------------------------------------------- for-loop [46] 100.0% [52] 434(2.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [57] 100.0% ----------------------------------------------------------------------- list-cartesian-product [48] 100.0% [53] 200(1.1%) 200(1.1%) for-loop ...atlock/herbie/src/core/ematch.rkt:24:8 ----------------------------------------------------------------------- sort-context-on-expr [49] 100.0% [54] 5200(29.8%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [58] 76.0% loop [61] 24.0% ----------------------------------------------------------------------- location-do [55] 37.6% for-loop [50] 62.4% [55] 1042(6.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [59] 62.4% location-do [55] 37.6% ----------------------------------------------------------------------- pick-errors [51] 100.0% [56] 850(4.9%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [70] 100.0% ----------------------------------------------------------------------- atab-add-altn [52] 100.0% [57] 434(2.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [60] 100.0% ----------------------------------------------------------------------- sort [54] 48.6% copying-mergesort [58] 51.4% [58] 3950(22.6%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [58] 51.4% loop [61] 39.8% jloop [62] 8.8% ----------------------------------------------------------------------- location-do [55] 100.0% [59] 1042(6.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [64] 40.5% f37 [84] 38.4% taylor-sqrt [65] 21.1% ----------------------------------------------------------------------- best-and-tied-at-points [57] 100.0% [60] 434(2.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [63] 100.0% ----------------------------------------------------------------------- sort [54] 32.8% copying-mergesort [58] 67.2% [61] 3814(21.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [67] 100.0% ----------------------------------------------------------------------- copying-mergesort [58] 100.0% [62] 1386(7.9%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [67] 100.0% ----------------------------------------------------------------------- errors [60] 100.0% [63] 434(2.5%) 212(1.2%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [66] 51.2% ----------------------------------------------------------------------- approximate9 [59] 100.0% [64] 422(2.4%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 iterate-diagonal [69] 100.0% ----------------------------------------------------------------------- f37 [84] 47.6% approximate9 [59] 52.4% [65] 420(2.4%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 first-nonzero-exp [68] 100.0% ----------------------------------------------------------------------- for-loop [63] 3.0% loop [37] 97.0% [66] 7448(42.7%) 480(2.8%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [71] 46.1% real->bigfloat [72] 41.4% loop [37] 3.1% ??? [89] 3.0% ----------------------------------------------------------------------- jloop [62] 26.7% loop [61] 73.3% [67] 5200(29.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [70] 96.1% ->flonum [73] 3.9% ----------------------------------------------------------------------- taylor-invert [3] 32.3% taylor-sqrt [65] 67.7% [68] 620(3.6%) 0(0.0%) first-nonzero-exp ...bie/src/core/taylor.rkt:260:0 hash-ref! [74] 67.7% simplify [77] 32.3% ----------------------------------------------------------------------- loop [64] 100.0% [69] 422(2.4%) 422(2.4%) iterate-diagonal ...rbie/src/core/taylor.rkt:150:0 ----------------------------------------------------------------------- for-loop [56] 14.5% ??? [67] 85.5% [70] 5846(33.5%) 5470(31.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 new-lambda [80] 3.5% ??? [81] 2.9% ----------------------------------------------------------------------- ??? [66] 100.0% [71] 3434(19.7%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 bf* [75] 57.8% ...higher-order.rkt:373:33 [76] 21.9% ??? [82] 20.3% ----------------------------------------------------------------------- loop [37] 6.9% ??? [66] 93.1% [72] 3308(19.0%) 1934(11.1%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [91] 41.5% ----------------------------------------------------------------------- ??? [67] 45.5% loop [37] 54.5% [73] 448(2.6%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [78] 54.5% ??? [79] 45.5% ----------------------------------------------------------------------- first-nonzero-exp [68] 100.0% [74] 420(2.4%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 simplify [77] 100.0% ----------------------------------------------------------------------- ??? [71] 100.0% [75] 1986(11.4%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [82] 100.0% ----------------------------------------------------------------------- ??? [71] 100.0% [76] 752(4.3%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [83] 100.0% ----------------------------------------------------------------------- first-nonzero-exp [68] 32.3% hash-ref! [74] 67.7% [77] 620(3.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug-print [85] 35.5% simplify-node [86] 32.3% f37 [84] 32.3% ----------------------------------------------------------------------- ->flonum [73] 100.0% [78] 244(1.4%) 244(1.4%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ----------------------------------------------------------------------- ->flonum [73] 100.0% [79] 204(1.2%) 204(1.2%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ----------------------------------------------------------------------- eval-prog [70] 100.0% [80] 204(1.2%) 204(1.2%) new-lambda ...ollects/racket/private/kw.rkt:631:11 ----------------------------------------------------------------------- eval-prog [70] 100.0% [81] 172(1.0%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [87] 100.0% ----------------------------------------------------------------------- ??? [71] 26.0% bf* [75] 74.0% [82] 2682(15.4%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [88] 100.0% ----------------------------------------------------------------------- ...higher-order.rkt:373:33 [76] 100.0% [83] 752(4.3%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [89] 100.0% ----------------------------------------------------------------------- simplify [77] 16.7% f37 [84] 16.7% append-map [39] 25.0% approximate9 [59] 41.7% [84] 400(2.3%) 200(1.1%) f37 ...t/collects/racket/match/compiler.rkt:499:40 taylor-sqrt [65] 25.0% parse-loop364 [90] 25.0% f37 [84] 16.7% taylor-invert [3] 16.7% ----------------------------------------------------------------------- simplify [77] 100.0% [85] 220(1.3%) 220(1.3%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 ----------------------------------------------------------------------- simplify [77] 100.0% [86] 200(1.1%) 0(0.0%) simplify-node ...k/herbie/src/core/reduce.rkt:41:0 append-map [39] 100.0% ----------------------------------------------------------------------- ??? [81] 100.0% [87] 172(1.0%) 172(1.0%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ----------------------------------------------------------------------- ??? [82] 100.0% [88] 2682(15.4%) 2190(12.6%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [91] 18.3% ----------------------------------------------------------------------- ??? [66] 23.1% ??? [83] 76.9% [89] 978(5.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [92] 100.0% ----------------------------------------------------------------------- f37 [84] 100.0% [90] 200(1.1%) 0(0.0%) parse-loop364 .../racket/match/compiler.rkt:410:15 for-loop [93] 100.0% ----------------------------------------------------------------------- bfmul [88] 26.4% real->bigfloat [72] 73.6% [91] 1866(10.7%) 1866(10.7%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ----------------------------------------------------------------------- ??? [89] 100.0% [92] 978(5.6%) 506(2.9%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [94] 48.3% ----------------------------------------------------------------------- parse-loop364 [90] 100.0% [93] 200(1.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/reduce.rkt:90:13 make-multiplication-node [95] 100.0% ----------------------------------------------------------------------- ??? [92] 100.0% [94] 472(2.7%) 226(1.3%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [96] 52.1% ----------------------------------------------------------------------- for-loop [93] 100.0% [95] 200(1.1%) 0(0.0%) make-multiplication-node .../core/reduce.rkt:221:0 make-multiplication-subnode [97]100.0% ----------------------------------------------------------------------- ??? [94] 100.0% [96] 246(1.4%) 246(1.4%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------- make-multiplication-node [95] 100.0% [97] 200(1.1%) 0(0.0%) make-multiplication-subnode ...re/reduce.rkt:231:0 for-loop [98] 100.0% ----------------------------------------------------------------------- make-multiplication-subnode [97]100.0% [98] 200(1.1%) 200(1.1%) for-loop ...tlock/herbie/src/core/reduce.rkt:233:3 -----------------------------------------------------------------------