Profiling results ----------------- Total cpu time observed: 14706ms (out of 14984ms) Number of samples taken: 64 (once every 230ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [6] 100.0% [1] 14266(97.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ---------------------------------------------------------------------- ??? [6] 100.0% [2] 2722(18.5%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [4] 76.6% for-loop [5] 16.0% iterate-egraph!5 [7] 7.4% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [3] 14266(97.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [6] 100.0% ---------------------------------------------------------------------- simplify [2] 100.0% [4] 2084(14.2%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [7] 100.0% ---------------------------------------------------------------------- simplify [2] 100.0% [5] 436(3.0%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [7] 100.0% ---------------------------------------------------------------------- for-loop [30] 6.2% run [3] 45.4% [6] 14706(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 45.4% run-improve58 [8] 26.3% loop [9] 22.1% simplify [2] 6.2% ---------------------------------------------------------------------- simplify [2] 7.4% for-loop [5] 16.0% simplify-expr [4] 76.6% [7] 2722(18.5%) 234(1.6%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [10] 91.4% ---------------------------------------------------------------------- ??? [6] 100.0% [8] 8632(58.7%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [11] 58.5% for-loop [12] 39.2% finalize-table! [16] 2.3% ---------------------------------------------------------------------- ??? [6] 100.0% [9] 6074(41.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [18] 55.1% loop [13] 44.9% ---------------------------------------------------------------------- iterate-egraph!5 [7] 100.0% [10] 2488(16.9%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [14] 75.6% loop [15] 24.4% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [11] 5046(34.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [17] 100.0% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [12] 3384(23.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [19] 100.0% ---------------------------------------------------------------------- loop [9] 100.0% [13] 2728(18.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [20] 62.6% make-exacts* [18] 37.4% ---------------------------------------------------------------------- for-loop [14] 50.0% one-iter [10] 50.0% [14] 1880(12.8%) 422(2.9%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [14] 50.0% match-e [25] 38.8% ---------------------------------------------------------------------- one-iter [10] 100.0% [15] 608(4.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [21] 100.0% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [16] 202(1.4%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [22] 100.0% ---------------------------------------------------------------------- get-final-combination [11] 100.0% [17] 5046(34.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [23] 100.0% ---------------------------------------------------------------------- loop [13] 23.4% loop [9] 76.6% [18] 4366(29.7%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [52] 57.5% map [51] 42.5% ---------------------------------------------------------------------- for-loop [12] 100.0% [19] 3384(23.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [24] 80.4% gen-series! [26] 13.7% finalize-iter! [29] 5.9% ---------------------------------------------------------------------- loop [13] 100.0% [20] 1708(11.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [51] 100.0% ---------------------------------------------------------------------- loop [15] 100.0% [21] 608(4.1%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [25] 66.8% for-loop [27] 33.2% ---------------------------------------------------------------------- finalize-table! [16] 100.0% [22] 202(1.4%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [28] 100.0% ---------------------------------------------------------------------- split-table [17] 100.0% [23] 5046(34.3%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [55] 85.7% loop [52] 14.3% ---------------------------------------------------------------------- run-iter! [19] 100.0% [24] 2722(18.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [30] 100.0% ---------------------------------------------------------------------- for-loop [37] 10.8% apply-match [21] 16.4% for-loop [14] 72.9% [25] 1864(12.7%) 1256(8.5%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [31] 43.4% ---------------------------------------------------------------------- run-iter! [19] 100.0% [26] 462(3.1%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [32] 100.0% ---------------------------------------------------------------------- apply-match [21] 100.0% [27] 202(1.4%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 substitute-e [33] 100.0% ---------------------------------------------------------------------- post-process [22] 100.0% [28] 202(1.4%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [34] 100.0% ---------------------------------------------------------------------- run-iter! [19] 100.0% [29] 200(1.4%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [35] 100.0% ---------------------------------------------------------------------- simplify! [24] 100.0% [30] 2722(18.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [6] 100.0% ---------------------------------------------------------------------- match-e [25] 100.0% [31] 1010(6.9%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [37] 59.8% list-cartesian-product [38] 40.2% ---------------------------------------------------------------------- gen-series! [26] 100.0% [32] 462(3.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [36] 100.0% ---------------------------------------------------------------------- substitute-e [33] 50.0% for-loop [27] 50.0% [33] 202(1.4%) 202(1.4%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 substitute-e [33] 50.0% ---------------------------------------------------------------------- for-loop [28] 100.0% [34] 202(1.4%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [36] 100.0% ---------------------------------------------------------------------- finalize-iter! [29] 100.0% [35] 200(1.4%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [39] 100.0% ---------------------------------------------------------------------- append-map [34] 30.4% for-loop [32] 69.6% [36] 664(4.5%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [40] 100.0% ---------------------------------------------------------------------- for-loop [31] 100.0% [37] 604(4.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [25] 66.6% ??? [41] 33.4% ---------------------------------------------------------------------- list-cartesian-product [38] 24.9% for-loop [31] 75.1% [38] 406(2.8%) 406(2.8%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [38] 24.9% ---------------------------------------------------------------------- ??? [35] 100.0% [39] 200(1.4%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [42] 100.0% ---------------------------------------------------------------------- taylor-alt [36] 100.0% [40] 664(4.5%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [43] 100.0% ---------------------------------------------------------------------- for-loop [37] 100.0% [41] 202(1.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 for-loop [44] 100.0% ---------------------------------------------------------------------- for-loop [39] 100.0% [42] 200(1.4%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [45] 100.0% ---------------------------------------------------------------------- for-loop [40] 100.0% [43] 664(4.5%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [46] 100.0% ---------------------------------------------------------------------- ??? [41] 100.0% [44] 202(1.4%) 202(1.4%) for-loop ...atlock/herbie/src/core/ematch.rkt:51:7 ---------------------------------------------------------------------- atab-add-altn [42] 100.0% [45] 200(1.4%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [59] 100.0% ---------------------------------------------------------------------- location-do [43] 100.0% [46] 664(4.5%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [47] 69.6% f94 [50] 30.4% ---------------------------------------------------------------------- approximate9 [46] 100.0% [47] 462(3.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [48] 100.0% ---------------------------------------------------------------------- loop [47] 42.0% ??? [49] 58.0% [48] 462(3.1%) 240(1.6%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [49] 58.0% f94 [50] 16.0% ---------------------------------------------------------------------- hash-ref! [48] 100.0% [49] 462(3.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [48] 100.0% ---------------------------------------------------------------------- f94 [50] 26.2% hash-ref! [48] 26.2% approximate9 [46] 47.6% [50] 424(2.9%) 0(0.0%) f94 ...t/collects/racket/match/compiler.rkt:499:40 map [51] 73.8% f94 [50] 26.2% ---------------------------------------------------------------------- f94 [50] 10.6% loop [20] 42.8% make-exacts* [18] 46.5% [51] 3986(27.1%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [52] 89.4% taylor-invert [53] 5.6% taylor [54] 5.1% ---------------------------------------------------------------------- map [51] 0.7% make-exacts* [18] 0.9% infer-splitpoints4 [23] 10.7% loop [52] 87.7% [52] 6798(46.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [52] 87.7% option-on-expr [55] 10.7% ->flonum [72] 0.8% ??? [66] 0.8% ---------------------------------------------------------------------- map [51] 100.0% [53] 222(1.5%) 0(0.0%) taylor-invert .../herbie/src/core/taylor.rkt:312:0 simplify [56] 100.0% ---------------------------------------------------------------------- map [51] 100.0% [54] 202(1.4%) 0(0.0%) taylor ...tatlock/herbie/src/core/taylor.rkt:157:0 debug-print [57] 100.0% ---------------------------------------------------------------------- loop [52] 14.3% infer-splitpoints4 [23] 85.7% [55] 5046(34.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [58] 91.4% errors [59] 4.4% pick-errors [61] 4.2% ---------------------------------------------------------------------- taylor-invert [53] 100.0% [56] 222(1.5%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [60] 100.0% ---------------------------------------------------------------------- taylor [54] 100.0% [57] 202(1.4%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [62] 100.0% ---------------------------------------------------------------------- option-on-expr [55] 100.0% [58] 4614(31.4%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [63] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [45] 47.4% option-on-expr [55] 52.6% [59] 422(2.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [64] 100.0% ---------------------------------------------------------------------- simplify [56] 100.0% [60] 222(1.5%) 222(1.5%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 ---------------------------------------------------------------------- option-on-expr [55] 100.0% [61] 210(1.4%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [65] 100.0% ---------------------------------------------------------------------- debug-print [57] 100.0% [62] 202(1.4%) 202(1.4%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ---------------------------------------------------------------------- sort-context-on-expr [58] 100.0% [63] 4614(31.4%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [67] 71.6% loop [68] 28.4% ---------------------------------------------------------------------- errors [59] 100.0% [64] 422(2.9%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [66] 100.0% ---------------------------------------------------------------------- pick-errors [61] 100.0% [65] 210(1.4%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [78] 100.0% ---------------------------------------------------------------------- for-loop [64] 7.0% loop [52] 93.0% [66] 5996(40.8%) 814(5.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 real->bigfloat [69] 39.1% ??? [70] 36.7% ...e/case-arrow.rkt:150:50 [73] 3.7% ??? [83] 3.6% ->flonum [72] 3.3% ---------------------------------------------------------------------- sort [63] 42.4% copying-mergesort [67] 57.6% [67] 3304(22.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [67] 57.6% loop [68] 29.2% jloop [71] 13.2% ---------------------------------------------------------------------- sort [63] 45.6% copying-mergesort [67] 54.4% [68] 2870(19.5%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [74] 100.0% ---------------------------------------------------------------------- ??? [66] 100.0% [69] 2342(15.9%) 2094(14.2%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [86] 10.6% ---------------------------------------------------------------------- ??? [66] 100.0% [70] 2202(15.0%) 222(1.5%) ??? ...acket/collects/racket/private/kw.rkt:400:14 bf* [75] 55.5% ??? [79] 24.6% ...higher-order.rkt:373:33 [76] 9.8% ---------------------------------------------------------------------- copying-mergesort [67] 100.0% [71] 1744(11.9%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [74] 100.0% ---------------------------------------------------------------------- ??? [66] 28.6% loop [52] 71.4% [72] 700(4.8%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [85] 71.4% ??? [77] 28.6% ---------------------------------------------------------------------- ??? [66] 100.0% [73] 220(1.5%) 220(1.5%) ...e/case-arrow.rkt:150:50 (unknown source) ---------------------------------------------------------------------- jloop [71] 37.8% loop [68] 62.2% [74] 4614(31.4%) 202(1.4%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [78] 95.6% ---------------------------------------------------------------------- ??? [70] 100.0% [75] 1222(8.3%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [79] 100.0% ---------------------------------------------------------------------- ??? [70] 100.0% [76] 216(1.5%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [80] 100.0% ---------------------------------------------------------------------- ->flonum [72] 100.0% [77] 200(1.4%) 200(1.4%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- for-loop [65] 4.5% ??? [74] 95.5% [78] 4622(31.4%) 3942(26.8%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [82] 9.5% go [84] 5.2% ---------------------------------------------------------------------- ??? [70] 30.7% bf* [75] 69.3% [79] 1764(12.0%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [81] 100.0% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [76]100.0% [80] 216(1.5%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [83] 100.0% ---------------------------------------------------------------------- ??? [79] 100.0% [81] 1764(12.0%) 1482(10.1%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [86] 16.0% ---------------------------------------------------------------------- eval-prog [78] 100.0% [82] 440(3.0%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [87] 100.0% ---------------------------------------------------------------------- ??? [80] 49.8% ??? [66] 50.2% [83] 434(3.0%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [85] 100.0% ---------------------------------------------------------------------- eval-prog [78] 100.0% [84] 240(1.6%) 0(0.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [88] 100.0% ---------------------------------------------------------------------- ??? [83] 46.5% ->flonum [72] 53.5% [85] 934(6.4%) 934(6.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ---------------------------------------------------------------------- real->bigfloat [69] 46.8% bfmul [81] 53.2% [86] 530(3.6%) 530(3.6%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [82] 100.0% [87] 440(3.0%) 440(3.0%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ---------------------------------------------------------------------- go [84] 100.0% [88] 240(1.6%) 240(1.6%) loop ...llects/racket/private/qq-and-or.rkt:101:61 ----------------------------------------------------------------------