Profiling results ----------------- Total cpu time observed: 13440ms (out of 13920ms) Number of samples taken: 52 (once every 258ms) =================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee =================================================================== ??? [7] 100.0% [1] 13220(98.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ------------------------------------------------------------------- ??? [7] 100.0% [2] 820(6.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [5] 75.6% iterate-egraph!5 [8] 24.4% ------------------------------------------------------------------- hash-ref! [58] 100.0% [3] 210(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 for-loop [6] 100.0% ------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 13220(98.4%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ------------------------------------------------------------------- simplify [2] 100.0% [5] 620(4.6%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [8] 100.0% ------------------------------------------------------------------- ??? [3] 100.0% [6] 210(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 ??? [9] 100.0% ------------------------------------------------------------------- for-loop [32] 2.3% run [4] 48.4% [7] 13440(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.4% loop [10] 37.7% run-improve58 [11] 11.5% simplify [2] 2.3% ------------------------------------------------------------------- simplify [2] 24.4% simplify-expr [5] 75.6% [8] 820(6.1%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [12] 100.0% ------------------------------------------------------------------- for-loop [6] 100.0% [9] 210(1.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [58] 100.0% ------------------------------------------------------------------- ??? [7] 100.0% [10] 10138(75.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [19] 43.1% loop [13] 32.7% loop [20] 24.2% ------------------------------------------------------------------- ??? [7] 100.0% [11] 3302(24.6%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [14] 49.9% for-loop [15] 44.0% finalize-table! [18] 6.1% ------------------------------------------------------------------- iterate-egraph!5 [8] 100.0% [12] 820(6.1%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [16] 73.2% apply-match [17] 26.8% ------------------------------------------------------------------- loop [10] 100.0% [13] 3316(24.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [19] 53.3% loop [20] 46.7% ------------------------------------------------------------------- run-improve58 [11] 100.0% [14] 1648(12.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [21] 100.0% ------------------------------------------------------------------- run-improve58 [11] 100.0% [15] 1452(10.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [22] 100.0% ------------------------------------------------------------------- for-loop [16] 50.0% one-iter [12] 50.0% [16] 600(4.5%) 200(1.5%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [16] 50.0% match-e [23] 33.3% ------------------------------------------------------------------- one-iter [12] 100.0% [17] 220(1.6%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 loop! [71] 100.0% ------------------------------------------------------------------- run-improve58 [11] 100.0% [18] 202(1.5%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [24] 100.0% ------------------------------------------------------------------- loop [13] 28.8% loop [10] 71.2% [19] 6136(45.7%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [64] 52.5% loop [68] 47.5% ------------------------------------------------------------------- loop [13] 38.7% loop [10] 61.3% [20] 4002(29.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [64] 100.0% ------------------------------------------------------------------- get-final-combination [14] 100.0% [21] 1648(12.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [25] 100.0% ------------------------------------------------------------------- for-loop [15] 100.0% [22] 1452(10.8%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [26] 56.5% gen-series! [27] 29.6% finalize-iter! [29] 13.9% ------------------------------------------------------------------- for-loop [16] 100.0% [23] 400(3.0%) 0(0.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [28] 100.0% ------------------------------------------------------------------- finalize-table! [18] 100.0% [24] 202(1.5%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [30] 100.0% ------------------------------------------------------------------- split-table [21] 100.0% [25] 1648(12.3%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [31] 100.0% ------------------------------------------------------------------- run-iter! [22] 100.0% [26] 820(6.1%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [32] 100.0% ------------------------------------------------------------------- run-iter! [22] 100.0% [27] 430(3.2%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [33] 100.0% ------------------------------------------------------------------- match-e [23] 100.0% [28] 400(3.0%) 200(1.5%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [35] 50.0% ------------------------------------------------------------------- run-iter! [22] 100.0% [29] 202(1.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [34] 100.0% ------------------------------------------------------------------- post-process [24] 100.0% [30] 202(1.5%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [66] 100.0% ------------------------------------------------------------------- infer-splitpoints4 [25] 100.0% [31] 1648(12.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [36] 87.9% err-lsts->split-indices [40] 12.1% ------------------------------------------------------------------- simplify! [26] 100.0% [32] 820(6.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ------------------------------------------------------------------- gen-series! [27] 100.0% [33] 430(3.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [37] 100.0% ------------------------------------------------------------------- finalize-iter! [29] 100.0% [34] 202(1.5%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [38] 100.0% ------------------------------------------------------------------- for-loop [28] 100.0% [35] 200(1.5%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 ??? [39] 100.0% ------------------------------------------------------------------- option-on-expr [31] 100.0% [36] 1448(10.8%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [41] 100.0% ------------------------------------------------------------------- append-map [66] 32.0% for-loop [33] 68.0% [37] 632(4.7%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [42] 100.0% ------------------------------------------------------------------- ??? [34] 100.0% [38] 202(1.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [43] 100.0% ------------------------------------------------------------------- for-loop [35] 100.0% [39] 200(1.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/core/ematch.rkt:50:5 for-loop [44] 100.0% ------------------------------------------------------------------- option-on-expr [31] 100.0% [40] 200(1.5%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [45] 100.0% ------------------------------------------------------------------- sort-context-on-expr [36] 100.0% [41] 1448(10.8%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [46] 84.9% loop [50] 15.1% ------------------------------------------------------------------- taylor-alt [37] 100.0% [42] 632(4.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [47] 100.0% ------------------------------------------------------------------- for-loop [38] 100.0% [43] 202(1.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [48]100.0% ------------------------------------------------------------------- ??? [39] 100.0% [44] 200(1.5%) 200(1.5%) for-loop ...atlock/herbie/src/core/ematch.rkt:51:7 ------------------------------------------------------------------- err-lsts->split-indices [40]100.0% [45] 200(1.5%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [49] 100.0% ------------------------------------------------------------------- sort [41] 40.2% copying-mergesort [46] 59.8% [46] 1230(9.2%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [46] 59.8% loop [50] 27.9% jloop [51] 12.3% ------------------------------------------------------------------- location-do [47] 24.0% for-loop [42] 76.0% [47] 632(4.7%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [52] 41.2% simplify [59] 34.8% location-do [47] 24.0% ------------------------------------------------------------------- atab-add-altn [43] 100.0% [48] 202(1.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [53] 100.0% ------------------------------------------------------------------- add-splitpoint [45] 100.0% [49] 200(1.5%) 200(1.5%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 ------------------------------------------------------------------- sort [41] 25.9% copying-mergesort [46] 74.1% [50] 842(6.3%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [54] 100.0% ------------------------------------------------------------------- copying-mergesort [46] 100.0% [51] 606(4.5%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [54] 100.0% ------------------------------------------------------------------- location-do [47] 100.0% [52] 412(3.1%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [55] 100.0% ------------------------------------------------------------------- best-and-tied-at-points [48]100.0% [53] 202(1.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [56] 100.0% ------------------------------------------------------------------- jloop [51] 41.9% loop [50] 58.1% [54] 1448(10.8%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [57] 100.0% ------------------------------------------------------------------- approximate9 [52] 100.0% [55] 412(3.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [58] 100.0% ------------------------------------------------------------------- errors [53] 100.0% [56] 202(1.5%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [69] 100.0% ------------------------------------------------------------------- ??? [54] 100.0% [57] 1448(10.8%) 1230(9.2%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 parse-lambda [61] 15.1% ------------------------------------------------------------------- ??? [9] 17.0% ??? [60] 41.5% loop [55] 41.5% [58] 412(3.1%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [60] 41.5% simplify [59] 41.5% ??? [3] 17.0% ------------------------------------------------------------------- location-do [47] 34.8% hash-ref! [58] 65.2% [59] 632(4.7%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f16 [62] 65.2% debug-print [63] 34.8% ------------------------------------------------------------------- hash-ref! [58] 100.0% [60] 412(3.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [58] 100.0% ------------------------------------------------------------------- eval-prog [57] 100.0% [61] 218(1.6%) 218(1.6%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ------------------------------------------------------------------- append-map [66] 16.3% composed [67] 16.3% simplify [59] 67.3% [62] 412(3.1%) 0(0.0%) f16 ...t/collects/racket/match/compiler.rkt:499:40 map [64] 51.0% append-map [66] 32.7% composed [67] 16.3% ------------------------------------------------------------------- simplify [59] 100.0% [63] 220(1.6%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [65] 100.0% ------------------------------------------------------------------- f16 [62] 2.8% make-exacts* [19] 43.3% loop [20] 53.8% [64] 7432(55.3%) 210(1.6%) map ...acket/collects/racket/private/map.rkt:21:13 loop [68] 97.2% ------------------------------------------------------------------- debug-print [63] 100.0% [65] 220(1.6%) 220(1.6%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 ------------------------------------------------------------------- for-loop [30] 33.3% f16 [62] 66.7% [66] 202(1.5%) 202(1.5%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [37] 33.3% f16 [62] 33.3% ------------------------------------------------------------------- f16 [62] 100.0% [67] 202(1.5%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 f16 [62] 100.0% ------------------------------------------------------------------- make-exacts* [19] 0.1% loop! [71] 0.4% map [64] 1.4% loop [68] 98.1% [68] 10358(77.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [68] 98.1% ??? [69] 1.5% loop! [71] 0.4% ->flonum [70] 0.0% ------------------------------------------------------------------- for-loop [56] 2.0% loop [68] 98.0% [69] 9886(73.6%) 462(3.4%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [72] 52.0% real->bigfloat [73] 40.8% new [74] 2.5% ------------------------------------------------------------------- loop [68] 100.0% [70] 454(3.4%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [75] 51.5% ??? [78] 48.5% ------------------------------------------------------------------- loop [68] 50.0% apply-match [17] 50.0% [71] 220(1.6%) 220(1.6%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 loop [68] 50.0% ------------------------------------------------------------------- ??? [69] 100.0% [72] 5138(38.2%) 492(3.7%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [76] 90.4% ------------------------------------------------------------------- ??? [69] 100.0% [73] 4034(30.0%) 2774(20.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [79] 31.2% ------------------------------------------------------------------- ??? [69] 100.0% [74] 252(1.9%) 252(1.9%) new ...cket/contract/private/case-arrow.rkt:227:53 ------------------------------------------------------------------- ->flonum [70] 100.0% [75] 234(1.7%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [79] 100.0% ------------------------------------------------------------------- ??? [72] 100.0% [76] 4646(34.6%) 890(6.6%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqr [77] 55.9% ??? [78] 25.0% ------------------------------------------------------------------- ??? [76] 100.0% [77] 2596(19.3%) 2144(16.0%) bfsqr ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [79] 17.4% ------------------------------------------------------------------- ->flonum [70] 15.9% ??? [76] 84.1% [78] 1380(10.3%) 1150(8.6%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [80] 16.7% ------------------------------------------------------------------- ??? [75] 12.0% bfsqr [77] 23.2% real->bigfloat [73] 64.7% [79] 1946(14.5%) 1946(14.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------- ??? [78] 100.0% [80] 230(1.7%) 230(1.7%) ??? ...llects/racket/contract/combinator.rkt:178:4 -------------------------------------------------------------------