Profiling results ----------------- Total cpu time observed: 13748ms (out of 14052ms) Number of samples taken: 61 (once every 225ms) =================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee =================================================================== ??? [14] 100.0% [1] 13526(98.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [8] 100.0% ------------------------------------------------------------------- ??? [14] 100.0% [2] 1434(10.4%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [9] 56.6% iterate-egraph!5 [15] 43.4% ------------------------------------------------------------------- hash-ref! [82] 100.0% [3] 1230(8.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [10] 100.0% ------------------------------------------------------------------- loop [49] 100.0% [4] 462(3.4%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [9] 100.0% ------------------------------------------------------------------- match-e [39] 100.0% [5] 420(3.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [11] 100.0% ------------------------------------------------------------------- hash-ref! [82] 100.0% [6] 400(2.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [12] 100.0% ------------------------------------------------------------------- hash-ref! [82] 100.0% [7] 202(1.5%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:322:33 for-loop [13] 100.0% ------------------------------------------------------------------- profile-thunk14 [1] 98.4% [8] 13748(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [14] 100.0% ------------------------------------------------------------------- completely-simplify-alt [4] 36.3% simplify [2] 63.7% [9] 1274(9.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [15] 82.7% loop [17] 17.3% ------------------------------------------------------------------- ??? [3] 100.0% [10] 1230(8.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [82] 100.0% ------------------------------------------------------------------- for-loop [5] 100.0% [11] 420(3.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [39] 100.0% ------------------------------------------------------------------- ??? [6] 100.0% [12] 400(2.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [82] 100.0% ------------------------------------------------------------------- ??? [7] 100.0% [13] 202(1.5%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:324:46 simplify [16] 100.0% ------------------------------------------------------------------- for-loop [51] 3.5% run [8] 49.1% [14] 13748(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.5% run-improve58 [18] 26.4% loop [19] 22.7% simplify [2] 3.5% ------------------------------------------------------------------- simplify [2] 37.1% simplify-expr [9] 62.9% [15] 1676(12.2%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [20] 100.0% ------------------------------------------------------------------- for-loop [13] 16.4% hash-ref! [82] 83.6% [16] 1230(8.9%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [21] 49.3% debug-print [22] 18.2% debug7 [24] 16.3% parse-loop50 [54] 16.3% ------------------------------------------------------------------- simplify-expr [9] 100.0% [17] 220(1.6%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [23] 100.0% ------------------------------------------------------------------- ??? [14] 100.0% [18] 7728(56.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [25] 51.5% for-loop [26] 32.1% finalize-table! [29] 16.4% ------------------------------------------------------------------- ??? [14] 100.0% [19] 6020(43.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [34] 61.2% loop [27] 35.1% for-loop [32] 3.7% ------------------------------------------------------------------- iterate-egraph!5 [15] 100.0% [20] 1676(12.2%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [28] 85.6% loop [30] 14.4% ------------------------------------------------------------------- parse-loop50 [54] 12.2% map [41] 12.2% hash-ref! [82] 26.6% simplify [16] 48.9% [21] 826(6.0%) 404(2.9%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [41] 63.3% ------------------------------------------------------------------- simplify [16] 100.0% [22] 224(1.6%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [31] 100.0% ------------------------------------------------------------------- loop [17] 100.0% [23] 220(1.6%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [33] 100.0% ------------------------------------------------------------------- simplify [16] 100.0% [24] 200(1.5%) 200(1.5%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ------------------------------------------------------------------- run-improve58 [18] 100.0% [25] 3982(29.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [35] 100.0% ------------------------------------------------------------------- run-improve58 [18] 100.0% [26] 2480(18.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [36] 100.0% ------------------------------------------------------------------- loop [19] 100.0% [27] 2112(15.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [37] 67.0% make-exacts* [34] 33.0% ------------------------------------------------------------------- for-loop [28] 50.0% one-iter [20] 50.0% [28] 1434(10.4%) 200(1.5%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [28] 50.0% match-e [39] 43.0% ------------------------------------------------------------------- run-improve58 [18] 100.0% [29] 1266(9.2%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [38] 100.0% ------------------------------------------------------------------- one-iter [20] 100.0% [30] 242(1.8%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [40] 100.0% ------------------------------------------------------------------- debug-print [22] 100.0% [31] 224(1.6%) 224(1.6%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ------------------------------------------------------------------- loop [19] 100.0% [32] 222(1.6%) 222(1.6%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 ------------------------------------------------------------------- pass [23] 100.0% [33] 220(1.6%) 220(1.6%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 ------------------------------------------------------------------- loop [27] 15.9% loop [19] 84.1% [34] 4384(31.9%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [41] 50.5% loop [49] 49.5% ------------------------------------------------------------------- get-final-combination [25] 100.0% [35] 3982(29.0%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [42] 100.0% ------------------------------------------------------------------- for-loop [26] 100.0% [36] 2480(18.0%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [43] 57.8% gen-series! [45] 17.2% localize-error [46] 16.9% finalize-iter! [48] 8.1% ------------------------------------------------------------------- loop [27] 100.0% [37] 1414(10.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [41] 100.0% ------------------------------------------------------------------- finalize-table! [29] 100.0% [38] 1266(9.2%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [44] 63.5% loop [49] 36.5% ------------------------------------------------------------------- for-loop [11] 17.0% for-loop [28] 83.0% [39] 1234(9.0%) 1234(9.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [5] 17.0% ------------------------------------------------------------------- loop [30] 100.0% [40] 242(1.8%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 for-loop [47] 100.0% ------------------------------------------------------------------- f6 [21] 14.7% loop [37] 33.2% make-exacts* [34] 52.1% [41] 4254(30.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [49] 85.3% ??? [80] 5.2% f6 [21] 4.7% parse-loop50 [54] 4.7% ------------------------------------------------------------------- split-table [35] 100.0% [42] 3982(29.0%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [50] 100.0% ------------------------------------------------------------------- run-iter! [36] 100.0% [43] 1434(10.4%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [51] 100.0% ------------------------------------------------------------------- post-process [38] 100.0% [44] 804(5.8%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [52] 100.0% ------------------------------------------------------------------- run-iter! [36] 100.0% [45] 426(3.1%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [53] 100.0% ------------------------------------------------------------------- run-iter! [36] 100.0% [46] 420(3.1%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [82] 52.4% location-hash [56] 47.6% ------------------------------------------------------------------- apply-match [40] 100.0% [47] 242(1.8%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 mk-enode! [55] 100.0% ------------------------------------------------------------------- run-iter! [36] 100.0% [48] 200(1.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [57] 100.0% ------------------------------------------------------------------- make-exacts* [34] 0.1% map [41] 0.5% post-process [38] 1.3% loop [49] 98.1% [49] 6258(45.5%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [49] 98.1% completely-simplify-alt [4] 1.3% ??? [80] 0.5% bfcube [62] 0.1% ->flonum [61] 0.0% ------------------------------------------------------------------- infer-splitpoints4 [42] 100.0% [50] 3982(29.0%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [58] 94.0% pick-errors [60] 6.0% ------------------------------------------------------------------- simplify! [43] 100.0% [51] 1434(10.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [14] 100.0% ------------------------------------------------------------------- for-loop [44] 100.0% [52] 804(5.8%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [59] 100.0% ------------------------------------------------------------------- gen-series! [45] 100.0% [53] 426(3.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [59] 100.0% ------------------------------------------------------------------- parse-loop50 [54] 16.7% map [41] 33.5% simplify [16] 49.8% [54] 402(2.9%) 402(2.9%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 f6 [21] 16.7% parse-loop50 [54] 16.7% ------------------------------------------------------------------- for-loop [47] 100.0% [55] 242(1.8%) 242(1.8%) mk-enode! ...lock/herbie/src/core/egraph.rkt:101:0 ------------------------------------------------------------------- localize-error [46] 100.0% [56] 200(1.5%) 0(0.0%) location-hash ...lock/herbie/src/programs.rkt:45:0 inductor [63] 100.0% ------------------------------------------------------------------- finalize-iter! [48] 100.0% [57] 200(1.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [64] 100.0% ------------------------------------------------------------------- option-on-expr [50] 100.0% [58] 3742(27.2%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [65] 100.0% ------------------------------------------------------------------- for-loop [53] 34.6% append-map [52] 65.4% [59] 1230(8.9%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [66] 100.0% ------------------------------------------------------------------- option-on-expr [50] 100.0% [60] 240(1.7%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [67] 100.0% ------------------------------------------------------------------- loop [49] 100.0% [61] 224(1.6%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [91] 100.0% ------------------------------------------------------------------- loop [49] 100.0% [62] 220(1.6%) 0(0.0%) bfcube ...tlock/herbie/src/syntax/syntax.rkt:119:0 bf* [88] 100.0% ------------------------------------------------------------------- location-hash [56] 20.0% inductor [63] 80.0% [63] 200(1.5%) 0(0.0%) inductor .../ztatlock/herbie/src/programs.rkt:24:2 inductor [63] 80.0% save [68] 20.0% ------------------------------------------------------------------- ??? [57] 100.0% [64] 200(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [69] 100.0% ------------------------------------------------------------------- sort-context-on-expr [58] 100.0% [65] 3742(27.2%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [70] 70.6% loop [73] 29.4% ------------------------------------------------------------------- taylor-alt [59] 100.0% [66] 1230(8.9%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [71] 100.0% ------------------------------------------------------------------- pick-errors [60] 100.0% [67] 240(1.7%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [81] 100.0% ------------------------------------------------------------------- inductor [63] 100.0% [68] 200(1.5%) 200(1.5%) save /home/ztatlock/herbie/src/programs.rkt:48:2 ------------------------------------------------------------------- for-loop [64] 100.0% [69] 200(1.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [72]100.0% ------------------------------------------------------------------- copying-mergesort [70] 48.6% sort [65] 51.4% [70] 2642(19.2%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [70] 48.6% loop [73] 40.7% jloop [75] 10.7% ------------------------------------------------------------------- location-do [71] 43.7% for-loop [66] 56.3% [71] 1230(8.9%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [74] 56.3% location-do [71] 43.7% ------------------------------------------------------------------- atab-add-altn [69] 100.0% [72] 200(1.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [76] 100.0% ------------------------------------------------------------------- sort [65] 42.1% copying-mergesort [70] 57.9% [73] 2612(19.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [77] 100.0% ------------------------------------------------------------------- location-do [71] 100.0% [74] 1230(8.9%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [78] 100.0% ------------------------------------------------------------------- copying-mergesort [70] 100.0% [75] 1130(8.2%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [77] 100.0% ------------------------------------------------------------------- best-and-tied-at-points [72]100.0% [76] 200(1.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [79] 100.0% ------------------------------------------------------------------- jloop [75] 30.2% loop [73] 69.8% [77] 3742(27.2%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [81] 94.1% ??? [80] 5.9% ------------------------------------------------------------------- approximate9 [74] 100.0% [78] 1230(8.9%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [82] 100.0% ------------------------------------------------------------------- errors [76] 100.0% [79] 200(1.5%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [80] 100.0% ------------------------------------------------------------------- for-loop [79] 3.3% ??? [77] 3.7% map [41] 3.7% loop [49] 89.3% [80] 5994(43.6%) 498(3.6%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [83] 67.9% real->bigfloat [85] 19.9% ??? [87] 4.0% ------------------------------------------------------------------- for-loop [67] 6.4% ??? [77] 93.6% [81] 3762(27.4%) 3762(27.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ------------------------------------------------------------------- for-loop [12] 4.6% ??? [86] 11.2% localize-error [46] 15.2% ??? [84] 20.5% loop [78] 20.5% for-loop [10] 27.9% [82] 1450(10.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [3] 27.9% ??? [84] 20.5% simplify [16] 17.7% f6 [21] 15.2% ??? [86] 11.2% ??? [6] 4.6% ??? [7] 2.8% ------------------------------------------------------------------- ??? [80] 100.0% [83] 4068(29.6%) 200(1.5%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [89] 58.6% bf* [88] 36.5% ------------------------------------------------------------------- hash-ref! [82] 100.0% [84] 1230(8.9%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [82] 100.0% ------------------------------------------------------------------- ??? [80] 100.0% [85] 1190(8.7%) 1190(8.7%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ------------------------------------------------------------------- hash-ref! [82] 100.0% [86] 826(6.0%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [82] 100.0% ------------------------------------------------------------------- ??? [80] 100.0% [87] 238(1.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [91] 100.0% ------------------------------------------------------------------- bfcube [62] 12.9% ??? [83] 87.1% [88] 1704(12.4%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [89] 100.0% ------------------------------------------------------------------- bf* [88] 41.7% ??? [83] 58.3% [89] 4088(29.7%) 2380(17.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [90] 24.2% bfsin [92] 11.7% ??? [91] 5.9% ------------------------------------------------------------------- ??? [89] 100.0% [90] 988(7.2%) 746(5.4%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [93] 24.5% ------------------------------------------------------------------- ->flonum [61] 31.9% ??? [87] 33.9% ??? [89] 34.2% [91] 702(5.1%) 464(3.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [94] 33.9% ------------------------------------------------------------------- ??? [89] 100.0% [92] 480(3.5%) 480(3.5%) bfsin ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ------------------------------------------------------------------- bfmul [90] 100.0% [93] 242(1.8%) 242(1.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------- ??? [91] 100.0% [94] 238(1.7%) 238(1.7%) ??? ...llects/racket/contract/combinator.rkt:178:4 -------------------------------------------------------------------