Profiling results ----------------- Total cpu time observed: 22370ms (out of 22156ms) Number of samples taken: 86 (once every 260ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [11] 100.0% [1] 21722(97.1%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% ---------------------------------------------------------------------- hash-ref! [64] 100.0% [2] 724(3.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [38] 100.0% ---------------------------------------------------------------------- copying-mergesort [49] 100.0% [3] 444(2.0%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [56] 100.0% ---------------------------------------------------------------------- hash-ref! [64] 100.0% [4] 434(1.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [9] 100.0% ---------------------------------------------------------------------- f37 [77] 100.0% [5] 218(1.0%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 f37 [77] 100.0% ---------------------------------------------------------------------- hash-ref! [64] 100.0% [6] 218(1.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:392:23 for-loop [10] 100.0% ---------------------------------------------------------------------- f37 [77] 100.0% [7] 200(0.9%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 simplify [69] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 98.1% [8] 22152(99.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [11] 100.0% ---------------------------------------------------------------------- ??? [4] 100.0% [9] 434(1.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [64] 100.0% ---------------------------------------------------------------------- ??? [6] 100.0% [10] 218(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:396:33 for-loop [12] 100.0% ---------------------------------------------------------------------- for-loop [32] 2.7% run [8] 49.1% [11] 22370(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.2% loop [15] 37.0% run-improve58 [13] 13.1% simplify [14] 2.7% ---------------------------------------------------------------------- for-loop [10] 100.0% [12] 218(1.0%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:398:39 hash-ref! [64] 100.0% ---------------------------------------------------------------------- ??? [11] 100.0% [13] 5810(26.0%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [16] 57.2% get-final-combination [17] 30.0% loop [15] 12.8% ---------------------------------------------------------------------- ??? [11] 100.0% [14] 1828(8.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [18] 89.1% debug-print [80] 10.9% ---------------------------------------------------------------------- run-improve58 [13] 4.3% ??? [11] 95.7% [15] 17304(77.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [19] 40.6% make-exacts* [24] 39.6% loop [25] 11.8% loop [23] 8.0% ---------------------------------------------------------------------- run-improve58 [13] 100.0% [16] 3322(14.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [20] 100.0% ---------------------------------------------------------------------- run-improve58 [13] 100.0% [17] 1744(7.8%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [21] 100.0% ---------------------------------------------------------------------- simplify [14] 100.0% [18] 1628(7.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [22] 100.0% ---------------------------------------------------------------------- loop [15] 100.0% [19] 7018(31.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [25] 57.7% make-exacts* [24] 35.7% eval-prog [60] 6.6% ---------------------------------------------------------------------- for-loop [16] 100.0% [20] 3322(14.9%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [26] 55.0% gen-series! [29] 25.6% finalize-iter! [30] 19.3% ---------------------------------------------------------------------- get-final-combination [17] 100.0% [21] 1744(7.8%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [27] 100.0% ---------------------------------------------------------------------- simplify-expr [18] 100.0% [22] 1628(7.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [28] 100.0% ---------------------------------------------------------------------- loop [15] 0.1% loop [23] 99.9% [23] 1384(6.2%) 1384(6.2%) loop ...hare/racket/collects/racket/list.rkt:154:2 loop [23] 99.9% ---------------------------------------------------------------------- loop [19] 26.8% loop [15] 73.2% [24] 9364(41.9%) 230(1.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [31] 45.0% loop [38] 44.6% eval-prog [60] 7.9% ---------------------------------------------------------------------- loop [15] 33.6% loop [19] 66.4% [25] 6090(27.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [31] 100.0% ---------------------------------------------------------------------- run-iter! [20] 100.0% [26] 1828(8.2%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [32] 100.0% ---------------------------------------------------------------------- split-table [21] 100.0% [27] 1744(7.8%) 200(0.9%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [33] 88.5% ---------------------------------------------------------------------- iterate-egraph!5 [22] 100.0% [28] 1628(7.3%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [34] 86.4% apply-match [37] 13.6% ---------------------------------------------------------------------- run-iter! [20] 100.0% [29] 852(3.8%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [35] 100.0% ---------------------------------------------------------------------- run-iter! [20] 100.0% [30] 642(2.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [36] 100.0% ---------------------------------------------------------------------- f37 [77] 5.9% make-exacts* [24] 38.5% loop [25] 55.6% [31] 10958(49.0%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [38] 94.1% parse-loop50 [79] 4.0% f37 [77] 2.0% ---------------------------------------------------------------------- simplify! [26] 100.0% [32] 1828(8.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [11] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [27] 100.0% [33] 1544(6.9%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [39] 85.1% loop [38] 14.9% ---------------------------------------------------------------------- for-loop [34] 42.9% one-iter [28] 57.1% [34] 1406(6.3%) 806(3.6%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [34] 42.9% match-e [42] 21.3% ---------------------------------------------------------------------- gen-series! [29] 100.0% [35] 852(3.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [40] 100.0% ---------------------------------------------------------------------- finalize-iter! [30] 100.0% [36] 642(2.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [41] 100.0% ---------------------------------------------------------------------- one-iter [28] 100.0% [37] 222(1.0%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 substitute-e [43] 100.0% ---------------------------------------------------------------------- option-on-expr [33] 1.4% parse-loop50 [79] 1.6% map [31] 2.4% ??? [2] 4.6% make-exacts* [24] 5.2% loop [38] 84.9% [38] 15874(71.0%) 790(3.5%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [38] 84.9% hash-ref! [64] 4.6% ??? [59] 2.5% f37 [77] 1.6% curried [47] 1.4% ->flonum [63] 0.1% ---------------------------------------------------------------------- option-on-expr [33] 100.0% [39] 1314(5.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [44] 100.0% ---------------------------------------------------------------------- for-loop [35] 100.0% [40] 852(3.8%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [45] 100.0% ---------------------------------------------------------------------- ??? [36] 100.0% [41] 642(2.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [46] 100.0% ---------------------------------------------------------------------- for-loop [34] 100.0% [42] 600(2.7%) 400(1.8%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [48] 33.3% ---------------------------------------------------------------------- apply-match [37] 100.0% [43] 222(1.0%) 222(1.0%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 ---------------------------------------------------------------------- sort-context-on-expr [39] 100.0% [44] 1314(5.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [49] 67.3% loop [53] 32.7% ---------------------------------------------------------------------- taylor-alt [40] 100.0% [45] 852(3.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [50] 100.0% ---------------------------------------------------------------------- for-loop [41] 100.0% [46] 642(2.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [51] 68.8% override-at-pnts [52] 31.2% ---------------------------------------------------------------------- loop [38] 100.0% [47] 230(1.0%) 230(1.0%) curried ...cket/collects/racket/function.rkt:71:18 ---------------------------------------------------------------------- match-e [42] 100.0% [48] 200(0.9%) 200(0.9%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ---------------------------------------------------------------------- sort [44] 33.3% copying-mergesort [49] 66.7% [49] 884(4.0%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [49] 66.7% loop [53] 20.8% jloop [3] 12.6% ---------------------------------------------------------------------- location-do [50] 15.6% for-loop [45] 84.4% [50] 852(3.8%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [54] 84.4% location-do [50] 15.6% ---------------------------------------------------------------------- atab-add-altn [46] 100.0% [51] 442(2.0%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [55] 100.0% ---------------------------------------------------------------------- atab-add-altn [46] 100.0% [52] 200(0.9%) 200(0.9%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 ---------------------------------------------------------------------- sort [44] 49.4% copying-mergesort [49] 50.6% [53] 870(3.9%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [56] 100.0% ---------------------------------------------------------------------- location-do [50] 100.0% [54] 852(3.8%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [57] 76.5% f37 [77] 23.5% ---------------------------------------------------------------------- best-and-tied-at-points [51] 100.0% [55] 442(2.0%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [58] 50.2% eval-prog [60] 49.8% ---------------------------------------------------------------------- jloop [3] 33.8% loop [53] 66.2% [56] 1314(5.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [60] 83.4% ->flonum [63] 16.6% ---------------------------------------------------------------------- approximate9 [54] 100.0% [57] 652(2.9%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [64] 100.0% ---------------------------------------------------------------------- errors [55] 100.0% [58] 222(1.0%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [59] 100.0% ---------------------------------------------------------------------- for-loop [58] 1.7% loop [38] 98.3% [59] 12762(57.0%) 484(2.2%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [61] 70.5% real->bigfloat [62] 14.4% ??? [82] 9.6% ->flonum [63] 1.7% ---------------------------------------------------------------------- errors [55] 8.7% loop [19] 18.5% make-exacts* [24] 29.3% ??? [56] 43.5% [60] 2520(11.3%) 1324(5.9%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [64] 28.7% go [65] 9.7% inductor [66] 9.0% ---------------------------------------------------------------------- ??? [59] 100.0% [61] 8992(40.2%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [75] 50.3% bf* [67] 29.2% ...higher-order.rkt:373:33 [68] 20.5% ---------------------------------------------------------------------- ??? [59] 100.0% [62] 1836(8.2%) 1102(4.9%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [86] 40.0% ---------------------------------------------------------------------- ??? [56] 13.7% ??? [59] 13.9% loop [38] 72.4% [63] 1596(7.1%) 202(0.9%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [85] 59.8% ??? [72] 27.6% ---------------------------------------------------------------------- for-loop [12] 4.0% for-loop [9] 9.2% ??? [71] 17.1% loop [57] 17.1% eval-prog [60] 22.0% loop [38] 30.6% [64] 1376(6.2%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [2] 30.6% bigfloat-hash [70] 22.0% ??? [71] 17.1% simplify [69] 17.1% ??? [4] 9.2% ??? [6] 4.0% ---------------------------------------------------------------------- eval-prog [60] 100.0% [65] 244(1.1%) 0(0.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [73] 100.0% ---------------------------------------------------------------------- eval-prog [60] 25.0% inductor [66] 75.0% [66] 228(1.0%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [66] 75.0% integer->bigfloat [74] 25.0% ---------------------------------------------------------------------- ??? [61] 100.0% [67] 2626(11.7%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [75] 100.0% ---------------------------------------------------------------------- ??? [61] 100.0% [68] 1844(8.2%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [76] 77.8% ??? [82] 22.2% ---------------------------------------------------------------------- taylor-sqrt [7] 23.5% hash-ref! [64] 76.5% [69] 852(3.8%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [77] 51.2% parse-loop50 [79] 25.4% debug-print [80] 23.5% ---------------------------------------------------------------------- hash-ref! [64] 100.0% [70] 724(3.2%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [78] 100.0% ---------------------------------------------------------------------- hash-ref! [64] 100.0% [71] 652(2.9%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [64] 100.0% ---------------------------------------------------------------------- ->flonum [63] 100.0% [72] 440(2.0%) 440(2.0%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- go [65] 100.0% [73] 244(1.1%) 244(1.1%) loop ...llects/racket/private/qq-and-or.rkt:101:61 ---------------------------------------------------------------------- inductor [66] 100.0% [74] 228(1.0%) 228(1.0%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ---------------------------------------------------------------------- bf* [67] 36.7% ??? [61] 63.3% [75] 7148(32.0%) 674(3.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [81] 47.5% bfsqrt [83] 33.5% ??? [85] 9.6% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [68]100.0% [76] 1434(6.4%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [82] 100.0% ---------------------------------------------------------------------- composed [5] 5.1% simplify [69] 13.6% map [31] 22.2% approximate9 [54] 23.5% loop [38] 35.6% [77] 852(3.8%) 0(0.0%) f37 ...t/collects/racket/match/compiler.rkt:499:40 map [31] 66.3% taylor-sqrt [7] 23.5% composed [5] 5.1% append-map [84] 5.1% ---------------------------------------------------------------------- bigfloat-hash [70] 100.0% [78] 724(3.2%) 488(2.2%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ??? [86] 32.6% ---------------------------------------------------------------------- parse-loop50 [79] 11.0% simplify [69] 11.0% map [31] 77.9% [79] 652(2.9%) 434(1.9%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 loop [38] 44.5% parse-loop50 [79] 11.0% ---------------------------------------------------------------------- simplify [69] 50.0% simplify [14] 50.0% [80] 400(1.8%) 400(1.8%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 ---------------------------------------------------------------------- ??? [75] 100.0% [81] 3394(15.2%) 2188(9.8%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [86] 35.5% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [68] 13.3% ??? [59] 40.0% ??? [76] 46.7% [82] 3072(13.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [85] 100.0% ---------------------------------------------------------------------- ??? [75] 100.0% [83] 2396(10.7%) 1530(6.8%) bfsqrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [86] 36.1% ---------------------------------------------------------------------- f37 [77] 100.0% [84] 218(1.0%) 218(1.0%) append-map ...acket/collects/racket/list.rkt:565:2 ---------------------------------------------------------------------- ??? [75] 14.5% ->flonum [63] 20.3% ??? [82] 65.2% [85] 4710(21.1%) 1886(8.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [87] 60.0% ---------------------------------------------------------------------- sig+exp->bigfloat [78] 7.8% real->bigfloat [62] 24.1% bfsqrt [83] 28.5% bfmul [81] 39.6% [86] 3042(13.6%) 3042(13.6%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [85] 100.0% [87] 2824(12.6%) 1848(8.3%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [88] 34.6% ---------------------------------------------------------------------- ??? [87] 100.0% [88] 976(4.4%) 976(4.4%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------