Profiling results ----------------- Total cpu time observed: 13686ms (out of 13964ms) Number of samples taken: 58 (once every 236ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [6] 100.0% [1] 13476(98.5%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- f37 [75] 100.0% [2] 220(1.6%) 0(0.0%) taylor-log ...ock/herbie/src/core/taylor.rkt:476:0 simplify [66] 100.0% ---------------------------------------------------------------------- hash-ref! [64] 100.0% [3] 202(1.5%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 for-loop [5] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 13476(98.5%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [6] 100.0% ---------------------------------------------------------------------- ??? [3] 100.0% [5] 202(1.5%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [64] 100.0% ---------------------------------------------------------------------- for-loop [28] 1.6% run [4] 48.4% [6] 13686(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.4% loop [7] 31.9% run-improve58 [8] 18.0% simplify [9] 1.6% ---------------------------------------------------------------------- ??? [6] 100.0% [7] 8744(63.9%) 222(1.6%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [14] 55.4% loop [10] 42.0% ---------------------------------------------------------------------- ??? [6] 100.0% [8] 4942(36.1%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [11] 64.9% for-loop [12] 35.1% ---------------------------------------------------------------------- ??? [6] 100.0% [9] 662(4.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [13] 100.0% ---------------------------------------------------------------------- loop [7] 100.0% [10] 3674(26.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [16] 68.9% make-exacts* [14] 31.1% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [11] 3208(23.4%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [15] 100.0% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [12] 1734(12.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [17] 100.0% ---------------------------------------------------------------------- simplify [9] 100.0% [13] 662(4.8%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [18] 100.0% ---------------------------------------------------------------------- loop [10] 19.1% loop [7] 80.9% [14] 5992(43.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [19] 57.1% loop [26] 42.9% ---------------------------------------------------------------------- get-final-combination [11] 100.0% [15] 3208(23.4%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [20] 100.0% ---------------------------------------------------------------------- loop [10] 100.0% [16] 2530(18.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [19] 100.0% ---------------------------------------------------------------------- for-loop [12] 100.0% [17] 1734(12.7%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [21] 38.2% finalize-iter! [22] 37.5% gen-series! [24] 24.3% ---------------------------------------------------------------------- simplify-expr [13] 100.0% [18] 662(4.8%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [23] 66.8% map-enodes [25] 33.2% ---------------------------------------------------------------------- loop [16] 42.5% make-exacts* [14] 57.5% [19] 5954(43.5%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [26] 100.0% ---------------------------------------------------------------------- split-table [15] 100.0% [20] 3208(23.4%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [27] 100.0% ---------------------------------------------------------------------- run-iter! [17] 100.0% [21] 662(4.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [28] 100.0% ---------------------------------------------------------------------- run-iter! [17] 100.0% [22] 650(4.7%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [29] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [18] 100.0% [23] 442(3.2%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [30] 100.0% ---------------------------------------------------------------------- run-iter! [17] 100.0% [24] 422(3.1%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [31] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [18] 100.0% [25] 220(1.6%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 loop [26] 100.0% ---------------------------------------------------------------------- make-exacts* [14] 0.0% map-enodes [25] 0.8% map [19] 3.2% loop [26] 95.9% [26] 8742(63.9%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [26] 95.9% ??? [62] 3.2% for-loop [37] 0.8% ---------------------------------------------------------------------- infer-splitpoints4 [20] 100.0% [27] 3208(23.4%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [32] 80.0% pick-errors [34] 13.8% err-lsts->split-indices [39] 6.2% ---------------------------------------------------------------------- simplify! [21] 100.0% [28] 662(4.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [6] 100.0% ---------------------------------------------------------------------- finalize-iter! [22] 100.0% [29] 650(4.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [35] 66.2% atab-add-altns [38] 33.8% ---------------------------------------------------------------------- for-loop [30] 50.0% one-iter [23] 50.0% [30] 442(3.2%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [30] 50.0% match-e [33] 50.0% ---------------------------------------------------------------------- gen-series! [24] 100.0% [31] 422(3.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [36] 100.0% ---------------------------------------------------------------------- option-on-expr [27] 100.0% [32] 2566(18.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [40] 100.0% ---------------------------------------------------------------------- for-loop [30] 100.0% [33] 442(3.2%) 222(1.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [44] 49.8% ---------------------------------------------------------------------- option-on-expr [27] 100.0% [34] 442(3.2%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [42] 100.0% ---------------------------------------------------------------------- ??? [29] 100.0% [35] 430(3.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [41] 100.0% ---------------------------------------------------------------------- for-loop [31] 100.0% [36] 422(3.1%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [43] 100.0% ---------------------------------------------------------------------- loop [26] 100.0% [37] 220(1.6%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 eval-const-expr [45] 100.0% ---------------------------------------------------------------------- ??? [29] 100.0% [38] 220(1.6%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [41] 100.0% ---------------------------------------------------------------------- option-on-expr [27] 100.0% [39] 200(1.5%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [46] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [32] 100.0% [40] 2566(18.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [47] 82.3% loop [53] 17.7% ---------------------------------------------------------------------- atab-add-altns [38] 33.8% for-loop [35] 66.2% [41] 650(4.7%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [48] 100.0% ---------------------------------------------------------------------- pick-errors [34] 100.0% [42] 442(3.2%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [63] 100.0% ---------------------------------------------------------------------- taylor-alt [36] 100.0% [43] 422(3.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [49] 100.0% ---------------------------------------------------------------------- match-e [33] 100.0% [44] 220(1.6%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 ??? [50] 100.0% ---------------------------------------------------------------------- for-loop [37] 100.0% [45] 220(1.6%) 0(0.0%) eval-const-expr ...k/herbie/src/programs.rkt:180:0 expression-induct31 [51] 100.0% ---------------------------------------------------------------------- err-lsts->split-indices [39] 100.0% [46] 200(1.5%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [52] 100.0% ---------------------------------------------------------------------- copying-mergesort [47] 47.1% sort [40] 52.9% [47] 2112(15.4%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [47] 47.1% loop [53] 45.7% jloop [54] 7.2% ---------------------------------------------------------------------- atab-add-altn [41] 100.0% [48] 650(4.7%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [55] 66.2% for-loop [58] 33.8% ---------------------------------------------------------------------- for-loop [43] 100.0% [49] 422(3.1%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [56] 100.0% ---------------------------------------------------------------------- for-loop [44] 100.0% [50] 220(1.6%) 0(0.0%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 for-loop [57] 100.0% ---------------------------------------------------------------------- eval-const-expr [45] 100.0% [51] 220(1.6%) 0(0.0%) expression-induct31 ...erbie/src/programs.rkt:55:0 inductor [67] 100.0% ---------------------------------------------------------------------- add-splitpoint [46] 100.0% [52] 200(1.5%) 200(1.5%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 ---------------------------------------------------------------------- sort [40] 23.2% copying-mergesort [47] 76.8% [53] 1958(14.3%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [59] 100.0% ---------------------------------------------------------------------- copying-mergesort [47] 100.0% [54] 608(4.4%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [59] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [48] 100.0% [55] 430(3.1%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [60] 51.2% eval-prog [63] 48.8% ---------------------------------------------------------------------- location-do [49] 100.0% [56] 422(3.1%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f37 [75] 52.1% loop [61] 47.9% ---------------------------------------------------------------------- ??? [50] 100.0% [57] 220(1.6%) 220(1.6%) for-loop ...atlock/herbie/src/core/ematch.rkt:51:7 ---------------------------------------------------------------------- best-and-tied-at-points [48] 100.0% [58] 220(1.6%) 220(1.6%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- jloop [54] 23.7% loop [53] 76.3% [59] 2566(18.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [63] 91.4% ??? [62] 8.6% ---------------------------------------------------------------------- errors [55] 100.0% [60] 220(1.6%) 220(1.6%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ---------------------------------------------------------------------- approximate9 [56] 100.0% [61] 202(1.5%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [64] 100.0% ---------------------------------------------------------------------- ??? [59] 2.5% loop [26] 97.5% [62] 8742(63.9%) 532(3.9%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [65] 87.2% real->bigfloat [68] 3.4% ??? [81] 3.3% ---------------------------------------------------------------------- errors [55] 7.0% for-loop [42] 14.7% ??? [59] 78.3% [63] 2998(21.9%) 2566(18.7%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 go [69] 7.8% inductor [67] 6.6% ---------------------------------------------------------------------- for-loop [5] 33.3% ??? [70] 33.3% loop [61] 33.3% [64] 202(1.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [70] 33.3% ??? [3] 33.3% simplify [66] 33.3% ---------------------------------------------------------------------- ??? [62] 100.0% [65] 7624(55.7%) 456(3.3%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [80] 75.1% bfcube [71] 9.9% ...ow-val-first.rkt:357:18 [72] 5.9% bf* [77] 3.1% ---------------------------------------------------------------------- hash-ref! [64] 47.9% taylor-log [2] 52.1% [66] 422(3.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [75] 52.1% parse-loop50 [76] 47.9% ---------------------------------------------------------------------- inductor [67] 26.3% expression-induct31 [51] 26.3% eval-prog [63] 47.4% [67] 418(3.1%) 198(1.4%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [67] 26.3% integer->bigfloat [74] 26.3% ---------------------------------------------------------------------- ??? [62] 100.0% [68] 300(2.2%) 300(2.2%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- eval-prog [63] 100.0% [69] 234(1.7%) 0(0.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [73] 100.0% ---------------------------------------------------------------------- hash-ref! [64] 100.0% [70] 202(1.5%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [64] 100.0% ---------------------------------------------------------------------- ??? [65] 100.0% [71] 758(5.5%) 0(0.0%) bfcube ...tlock/herbie/src/syntax/syntax.rkt:119:0 bf* [77] 100.0% ---------------------------------------------------------------------- ??? [65] 100.0% [72] 450(3.3%) 0(0.0%) ...ow-val-first.rkt:357:18 (unknown source) ??? [78] 100.0% ---------------------------------------------------------------------- go [69] 100.0% [73] 234(1.7%) 234(1.7%) loop ...llects/racket/private/qq-and-or.rkt:101:61 ---------------------------------------------------------------------- inductor [67] 100.0% [74] 220(1.6%) 220(1.6%) integer->bigfloat ...ivate/bigfloat/mpfr.rkt:399:0 ---------------------------------------------------------------------- simplify [66] 33.3% f37 [75] 33.3% approximate9 [56] 33.3% [75] 220(1.6%) 0(0.0%) f37 ...t/collects/racket/match/compiler.rkt:499:40 f37 [75] 33.3% taylor-log [2] 33.3% make-keyword-procedure [79] 33.3% ---------------------------------------------------------------------- simplify [66] 100.0% [76] 202(1.5%) 202(1.5%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 ---------------------------------------------------------------------- ??? [65] 23.7% bfcube [71] 76.3% [77] 994(7.3%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [80] 100.0% ---------------------------------------------------------------------- ...ow-val-first.rkt:357:18 [72]100.0% [78] 450(3.3%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [81] 100.0% ---------------------------------------------------------------------- f37 [75] 100.0% [79] 220(1.6%) 220(1.6%) make-keyword-procedure ...ket/private/kw.rkt:216:4 ---------------------------------------------------------------------- bf* [77] 14.8% ??? [65] 85.2% [80] 6718(49.1%) 2588(18.9%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [82] 25.8% bflog [83] 24.8% ??? [84] 10.9% ---------------------------------------------------------------------- ??? [62] 38.9% ??? [78] 61.1% [81] 736(5.4%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [84] 100.0% ---------------------------------------------------------------------- ??? [80] 100.0% [82] 1734(12.7%) 1224(8.9%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [85] 29.4% ---------------------------------------------------------------------- ??? [80] 100.0% [83] 1664(12.2%) 1140(8.3%) bflog ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [85] 31.5% ---------------------------------------------------------------------- ??? [80] 49.9% ??? [81] 50.1% [84] 1468(10.7%) 744(5.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [86] 49.3% ---------------------------------------------------------------------- bfdiv [82] 49.3% bflog [83] 50.7% [85] 1034(7.6%) 1034(7.6%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [84] 100.0% [86] 724(5.3%) 286(2.1%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [87] 60.5% ---------------------------------------------------------------------- ??? [86] 100.0% [87] 438(3.2%) 438(3.2%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------