Profiling results ----------------- Total cpu time observed: 15694ms (out of 16048ms) Number of samples taken: 64 (once every 245ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [26] 100.0% [1] 15694(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% ---------------------------------------------------------------------- ??? [26] 100.0% [2] 6610(42.1%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [7] 56.9% for-loop [8] 40.1% setup-prog [10] 3.0% ---------------------------------------------------------------------- copying-mergesort [45] 100.0% [3] 1324(8.4%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [58] 100.0% ---------------------------------------------------------------------- hash-ref! [68] 100.0% [4] 420(2.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [62] 52.4% hash-ref! [68] 47.6% ---------------------------------------------------------------------- location-do [48] 100.0% [5] 222(1.4%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [9] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [6] 15694(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [26] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 3762(24.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [11] 94.7% extract-alt [13] 5.3% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 2652(16.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [12] 100.0% ---------------------------------------------------------------------- approximate9 [5] 100.0% [9] 222(1.4%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [68] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [10] 196(1.2%) 0(0.0%) setup-prog /home/ztatlock/herbie/src/glue.rkt:46:0 simplify-alt [14] 100.0% ---------------------------------------------------------------------- get-final-combination [7] 100.0% [11] 3562(22.7%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [15] 100.0% ---------------------------------------------------------------------- for-loop [8] 100.0% [12] 2652(16.9%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [17] 46.2% finalize-iter! [18] 37.9% gen-series! [19] 8.4% choose-best-alt! [20] 7.5% ---------------------------------------------------------------------- get-final-combination [7] 100.0% [13] 200(1.3%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [62] 100.0% ---------------------------------------------------------------------- setup-prog [10] 100.0% [14] 196(1.2%) 0(0.0%) simplify-alt .../ztatlock/herbie/src/glue.rkt:84:0 simplify [16] 100.0% ---------------------------------------------------------------------- split-table [11] 100.0% [15] 3562(22.7%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [21] 100.0% ---------------------------------------------------------------------- simplify-alt [14] 12.1% loop [62] 12.3% ??? [26] 75.6% [16] 1620(10.3%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 iterate-egraph!5 [28] 50.4% simplify-expr [24] 49.6% ---------------------------------------------------------------------- run-iter! [12] 100.0% [17] 1224(7.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [22] 100.0% ---------------------------------------------------------------------- run-iter! [12] 100.0% [18] 1006(6.4%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [23] 100.0% ---------------------------------------------------------------------- run-iter! [12] 100.0% [19] 222(1.4%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [25] 100.0% ---------------------------------------------------------------------- run-iter! [12] 100.0% [20] 200(1.3%) 0(0.0%) choose-best-alt! .../herbie/src/mainloop.rkt:120:0 ??? [23] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [15] 100.0% [21] 3562(22.7%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [27] 93.3% pick-errors [30] 6.7% ---------------------------------------------------------------------- simplify! [17] 100.0% [22] 1224(7.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [26] 100.0% ---------------------------------------------------------------------- choose-best-alt! [20] 16.6% finalize-iter! [18] 83.4% [23] 1206(7.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [29] 66.7% atab-add-altns [32] 16.7% atab-pick-alt8 [33] 16.6% ---------------------------------------------------------------------- simplify [16] 100.0% [24] 804(5.1%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [28] 75.1% loop [34] 24.9% ---------------------------------------------------------------------- gen-series! [19] 100.0% [25] 222(1.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [31] 100.0% ---------------------------------------------------------------------- for-loop [22] 2.6% run [6] 48.7% [26] 15694(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.7% loop [35] 28.9% run-improve58 [2] 19.8% simplify [16] 2.6% ---------------------------------------------------------------------- option-on-expr [21] 100.0% [27] 3322(21.2%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [36] 100.0% ---------------------------------------------------------------------- simplify-expr [24] 42.5% simplify [16] 57.5% [28] 1420(9.0%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [37] 84.4% map-enodes [41] 15.6% ---------------------------------------------------------------------- ??? [23] 100.0% [29] 804(5.1%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [38] 100.0% ---------------------------------------------------------------------- option-on-expr [21] 100.0% [30] 240(1.5%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [39] 100.0% ---------------------------------------------------------------------- for-loop [25] 100.0% [31] 222(1.4%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [40] 100.0% ---------------------------------------------------------------------- ??? [23] 100.0% [32] 202(1.3%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [38] 100.0% ---------------------------------------------------------------------- ??? [23] 100.0% [33] 200(1.3%) 0(0.0%) atab-pick-alt8 ...rbie/src/core/alt-table.rkt:54:0 ??? [42] 100.0% ---------------------------------------------------------------------- simplify-expr [24] 100.0% [34] 200(1.3%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [43] 100.0% ---------------------------------------------------------------------- ??? [26] 100.0% [35] 9084(57.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [51] 58.7% loop [44] 36.1% loop [52] 5.2% ---------------------------------------------------------------------- sort-context-on-expr [27] 100.0% [36] 3322(21.2%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [45] 72.9% loop [53] 27.1% ---------------------------------------------------------------------- iterate-egraph!5 [28] 100.0% [37] 1198(7.6%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [46] 100.0% ---------------------------------------------------------------------- atab-add-altns [32] 20.1% for-loop [29] 79.9% [38] 1006(6.4%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [47] 100.0% ---------------------------------------------------------------------- pick-errors [30] 100.0% [39] 240(1.5%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [63] 100.0% ---------------------------------------------------------------------- taylor-alt [31] 100.0% [40] 222(1.4%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [48] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [28] 100.0% [41] 222(1.4%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 loop [62] 100.0% ---------------------------------------------------------------------- atab-pick-alt8 [33] 100.0% [42] 200(1.3%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:369:33 best-alt [49] 100.0% ---------------------------------------------------------------------- loop [34] 100.0% [43] 200(1.3%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [50] 100.0% ---------------------------------------------------------------------- loop [35] 100.0% [44] 3282(20.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [52] 58.2% make-exacts* [51] 41.8% ---------------------------------------------------------------------- sort [36] 42.9% copying-mergesort [45] 57.1% [45] 2422(15.4%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [45] 57.1% loop [53] 29.2% jloop [3] 13.7% ---------------------------------------------------------------------- for-loop [46] 33.5% one-iter [37] 66.5% [46] 1198(7.6%) 598(3.8%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [46] 33.5% match-e [54] 25.0% ---------------------------------------------------------------------- atab-add-altn [38] 100.0% [47] 1006(6.4%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [64] 100.0% ---------------------------------------------------------------------- for-loop [40] 20.0% location-do [48] 80.0% [48] 222(1.4%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [48] 80.0% approximate9 [5] 20.0% ---------------------------------------------------------------------- ??? [42] 100.0% [49] 200(1.3%) 0(0.0%) best-alt /home/ztatlock/herbie/src/glue.rkt:79:0 argmins [55] 100.0% ---------------------------------------------------------------------- pass [43] 100.0% [50] 200(1.3%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [56] 100.0% ---------------------------------------------------------------------- loop [44] 20.5% loop [35] 79.5% [51] 6706(42.7%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [57] 54.9% loop [62] 41.9% eval-prog [63] 3.2% ---------------------------------------------------------------------- loop [35] 19.7% loop [44] 80.3% [52] 2378(15.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [57] 100.0% ---------------------------------------------------------------------- sort [36] 45.0% copying-mergesort [45] 55.0% [53] 1998(12.7%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [58] 100.0% ---------------------------------------------------------------------- for-loop [65] 16.8% for-loop [46] 83.2% [54] 600(3.8%) 398(2.5%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [59] 33.7% ---------------------------------------------------------------------- best-alt [49] 100.0% [55] 200(1.3%) 0(0.0%) argmins /home/ztatlock/herbie/src/common.rkt:85:0 composed [60] 100.0% ---------------------------------------------------------------------- for-loop [50] 100.0% [56] 200(1.3%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [61] 100.0% ---------------------------------------------------------------------- loop [52] 39.2% make-exacts* [51] 60.8% [57] 6060(38.6%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [62] 100.0% ---------------------------------------------------------------------- jloop [3] 39.9% loop [53] 60.1% [58] 3322(21.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [63] 100.0% ---------------------------------------------------------------------- match-e [54] 100.0% [59] 202(1.3%) 202(1.3%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [65] 50.0% ---------------------------------------------------------------------- argmins [55] 100.0% [60] 200(1.3%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [64] 100.0% ---------------------------------------------------------------------- argmin [56] 100.0% [61] 200(1.3%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [66] 100.0% ---------------------------------------------------------------------- make-exacts* [51] 0.2% map-enodes [41] 0.8% map [57] 0.8% extract-alt [13] 2.1% ??? [4] 2.3% loop [62] 93.8% [62] 9510(60.6%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [62] 93.8% hash-ref! [68] 2.3% simplify [16] 2.1% ??? [72] 1.0% for-loop [71] 0.8% ->flonum [69] 0.0% ---------------------------------------------------------------------- make-exacts* [51] 5.7% for-loop [39] 6.4% ??? [58] 87.9% [63] 3778(24.1%) 3336(21.3%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 go [70] 5.9% hash-ref! [68] 5.8% ---------------------------------------------------------------------- composed [60] 16.6% best-and-tied-at-points [47] 83.4% [64] 1206(7.7%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [67] 100.0% ---------------------------------------------------------------------- for-loop [59] 100.0% [65] 202(1.3%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [54] 100.0% ---------------------------------------------------------------------- expression-cost [61] 100.0% [66] 200(1.3%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:189:0 hash-ref! [68] 100.0% ---------------------------------------------------------------------- errors [64] 100.0% [67] 1206(7.7%) 604(3.8%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [72] 33.3% ulp-difference [76] 16.6% ---------------------------------------------------------------------- compile [66] 10.4% loop [62] 17.1% eval-prog [63] 17.1% ??? [4] 20.8% loop [9] 34.6% [68] 642(4.1%) 420(2.7%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 37.9% simplify [75] 34.6% ---------------------------------------------------------------------- loop [62] 100.0% [69] 226(1.4%) 226(1.4%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ---------------------------------------------------------------------- eval-prog [63] 100.0% [70] 222(1.4%) 0(0.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [73] 100.0% ---------------------------------------------------------------------- loop [62] 100.0% [71] 222(1.4%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 setfindf [74] 100.0% ---------------------------------------------------------------------- for-loop [67] 4.4% loop [62] 95.6% [72] 9044(57.6%) 814(5.2%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [77] 59.4% real->bigfloat [78] 24.3% ??? [84] 7.3% ---------------------------------------------------------------------- go [70] 100.0% [73] 222(1.4%) 222(1.4%) loop ...llects/racket/private/qq-and-or.rkt:101:61 ---------------------------------------------------------------------- for-loop [71] 100.0% [74] 222(1.4%) 222(1.4%) setfindf ...e/ztatlock/herbie/src/common.rkt:173:0 ---------------------------------------------------------------------- hash-ref! [68] 100.0% [75] 222(1.4%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug-print [79] 100.0% ---------------------------------------------------------------------- for-loop [67] 100.0% [76] 200(1.3%) 0(0.0%) ulp-difference ...atlock/herbie/src/float.rkt:19:0 ??? [80] 100.0% ---------------------------------------------------------------------- ??? [72] 100.0% [77] 5374(34.2%) 636(4.1%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [86] 79.5% bffma [81] 4.4% ...higher-order.rkt:373:33 [83] 4.3% ---------------------------------------------------------------------- ??? [72] 100.0% [78] 2200(14.0%) 1968(12.5%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [82] 10.5% ---------------------------------------------------------------------- simplify [75] 100.0% [79] 222(1.4%) 222(1.4%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 ---------------------------------------------------------------------- ulp-difference [76] 100.0% [80] 200(1.3%) 200(1.3%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- ??? [77] 100.0% [81] 236(1.5%) 0(0.0%) bffma ...atlock/herbie/src/syntax/syntax.rkt:122:0 bf* [85] 100.0% ---------------------------------------------------------------------- real->bigfloat [78] 100.0% [82] 232(1.5%) 232(1.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [77] 100.0% [83] 232(1.5%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [84] 100.0% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [83] 26.1% ??? [72] 73.9% [84] 888(5.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [87] 100.0% ---------------------------------------------------------------------- bffma [81] 100.0% [85] 236(1.5%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [86] 100.0% ---------------------------------------------------------------------- bf* [85] 5.2% ??? [77] 94.8% [86] 4506(28.7%) 2224(14.2%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfneg [88] 23.1% bfmul [89] 22.3% ??? [87] 5.2% ---------------------------------------------------------------------- ??? [86] 21.0% ??? [84] 79.0% [87] 1124(7.2%) 460(2.9%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [90] 38.8% ??? [91] 20.3% ---------------------------------------------------------------------- ??? [86] 100.0% [88] 1042(6.6%) 1042(6.6%) bfneg ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ---------------------------------------------------------------------- ??? [86] 100.0% [89] 1004(6.4%) 1004(6.4%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- ??? [87] 100.0% [90] 436(2.8%) 200(1.3%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [92] 54.1% ---------------------------------------------------------------------- ??? [87] 100.0% [91] 228(1.5%) 228(1.5%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ---------------------------------------------------------------------- ??? [90] 100.0% [92] 236(1.5%) 236(1.5%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------