Profiling results ----------------- Total cpu time observed: 17318ms (out of 17868ms) Number of samples taken: 66 (once every 262ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [8] 100.0% [1] 17096(98.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ---------------------------------------------------------------------- ??? [8] 100.0% [2] 1176(6.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 for-loop [5] 59.5% iterate-egraph!5 [9] 20.2% simplify-expr [7] 20.2% ---------------------------------------------------------------------- hash-ref! [73] 100.0% [3] 240(1.4%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 ??? [6] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 17096(98.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [8] 100.0% ---------------------------------------------------------------------- simplify [2] 100.0% [5] 700(4.0%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [9] 68.3% loop [10] 31.7% ---------------------------------------------------------------------- ??? [3] 100.0% [6] 240(1.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [73] 100.0% ---------------------------------------------------------------------- simplify [2] 100.0% [7] 238(1.4%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [9] 100.0% ---------------------------------------------------------------------- for-loop [40] 2.5% run [4] 48.4% [8] 17318(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.4% run-improve58 [11] 24.9% loop [12] 24.2% simplify [2] 2.5% ---------------------------------------------------------------------- simplify-expr [7] 24.9% simplify [2] 24.9% for-loop [5] 50.1% [9] 954(5.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [13] 100.0% ---------------------------------------------------------------------- for-loop [5] 100.0% [10] 222(1.3%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [14] 100.0% ---------------------------------------------------------------------- ??? [8] 100.0% [11] 8928(51.6%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [15] 81.7% for-loop [17] 15.9% finalize-table! [21] 2.5% ---------------------------------------------------------------------- ??? [8] 100.0% [12] 8390(48.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [16] 50.6% make-exacts* [23] 49.4% ---------------------------------------------------------------------- iterate-egraph!5 [9] 100.0% [13] 954(5.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [18] 75.1% loop [19] 24.9% ---------------------------------------------------------------------- loop [10] 100.0% [14] 222(1.3%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [20] 100.0% ---------------------------------------------------------------------- run-improve58 [11] 100.0% [15] 7292(42.1%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [22] 100.0% ---------------------------------------------------------------------- loop [12] 100.0% [16] 4248(24.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [24] 74.7% make-exacts* [23] 25.3% ---------------------------------------------------------------------- run-improve58 [11] 100.0% [17] 1416(8.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [25] 100.0% ---------------------------------------------------------------------- for-loop [18] 50.0% one-iter [13] 50.0% [18] 716(4.1%) 476(2.7%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [18] 50.0% match-e [26] 16.8% ---------------------------------------------------------------------- one-iter [13] 100.0% [19] 238(1.4%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [27] 100.0% ---------------------------------------------------------------------- pass [14] 100.0% [20] 222(1.3%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 for-loop [28] 100.0% ---------------------------------------------------------------------- run-improve58 [11] 100.0% [21] 220(1.3%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [29] 100.0% ---------------------------------------------------------------------- get-final-combination [15] 100.0% [22] 7292(42.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [30] 100.0% ---------------------------------------------------------------------- loop [16] 20.6% loop [12] 79.4% [23] 5218(30.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [31] 54.4% loop [38] 45.6% ---------------------------------------------------------------------- loop [16] 100.0% [24] 3172(18.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [31] 100.0% ---------------------------------------------------------------------- for-loop [17] 100.0% [25] 1416(8.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [32] 83.1% gen-series! [35] 16.9% ---------------------------------------------------------------------- for-loop [34] 50.0% for-loop [18] 50.0% [26] 240(1.4%) 0(0.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [34] 50.0% for-loop [33] 50.0% ---------------------------------------------------------------------- loop [19] 100.0% [27] 238(1.4%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 merge-egraph-nodes! [36] 100.0% ---------------------------------------------------------------------- for-loop [20] 100.0% [28] 222(1.3%) 222(1.3%) for-loop ...ck/herbie/src/core/simplify.rkt:183:13 ---------------------------------------------------------------------- finalize-table! [21] 100.0% [29] 220(1.3%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [37] 100.0% ---------------------------------------------------------------------- split-table [22] 100.0% [30] 7292(42.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [39] 93.6% debug-print [79] 6.4% ---------------------------------------------------------------------- make-exacts* [23] 47.2% loop [24] 52.8% [31] 6008(34.7%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [38] 100.0% ---------------------------------------------------------------------- run-iter! [25] 100.0% [32] 1176(6.8%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [40] 100.0% ---------------------------------------------------------------------- match-e [26] 100.0% [33] 240(1.4%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 foldl [41] 100.0% ---------------------------------------------------------------------- match-e [26] 100.0% [34] 240(1.4%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [26] 100.0% ---------------------------------------------------------------------- run-iter! [25] 100.0% [35] 240(1.4%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [42] 100.0% ---------------------------------------------------------------------- apply-match [27] 100.0% [36] 238(1.4%) 0(0.0%) merge-egraph-nodes! ...e/src/core/egraph.rkt:152:0 update-leader! [43] 100.0% ---------------------------------------------------------------------- post-process [29] 100.0% [37] 220(1.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [44] 100.0% ---------------------------------------------------------------------- make-exacts* [23] 0.0% map [31] 1.1% loop [38] 98.8% [38] 8390(48.4%) 244(1.4%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [38] 98.8% ??? [45] 1.1% ->flonum [48] 0.1% ---------------------------------------------------------------------- infer-splitpoints4 [30] 100.0% [39] 6826(39.4%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [46] 89.7% pick-errors [47] 10.3% ---------------------------------------------------------------------- simplify! [32] 100.0% [40] 1176(6.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [8] 100.0% ---------------------------------------------------------------------- for-loop [33] 100.0% [41] 240(1.4%) 240(1.4%) foldl ...et/collects/racket/private/list.rkt:229:4 ---------------------------------------------------------------------- gen-series! [35] 100.0% [42] 240(1.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [49] 100.0% ---------------------------------------------------------------------- merge-egraph-nodes! [36] 100.0% [43] 238(1.4%) 0(0.0%) update-leader! ...herbie/src/core/egraph.rkt:217:0 update-en-expr [50] 100.0% ---------------------------------------------------------------------- for-loop [37] 100.0% [44] 220(1.3%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [49] 100.0% ---------------------------------------------------------------------- loop [38] 100.0% [45] 7668(44.3%) 1650(9.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 real->bigfloat [52] 39.5% ??? [53] 29.4% ??? [67] 9.5% ---------------------------------------------------------------------- option-on-expr [39] 100.0% [46] 6120(35.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [51] 100.0% ---------------------------------------------------------------------- option-on-expr [39] 100.0% [47] 706(4.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [54] 100.0% ---------------------------------------------------------------------- loop [38] 100.0% [48] 478(2.8%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [72] 100.0% ---------------------------------------------------------------------- append-map [44] 47.8% for-loop [42] 52.2% [49] 460(2.7%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [55] 100.0% ---------------------------------------------------------------------- update-leader! [43] 100.0% [50] 238(1.4%) 238(1.4%) update-en-expr ...herbie/src/core/egraph.rkt:211:0 ---------------------------------------------------------------------- sort-context-on-expr [46] 100.0% [51] 6120(35.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [56] 73.5% loop [61] 26.5% ---------------------------------------------------------------------- ??? [45] 100.0% [52] 3030(17.5%) 2788(16.1%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [68] 8.0% ---------------------------------------------------------------------- ??? [45] 100.0% [53] 2256(13.0%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ...higher-order.rkt:373:33 [57] 49.1% ??? [58] 42.2% bf/ [60] 8.7% ---------------------------------------------------------------------- pick-errors [47] 100.0% [54] 706(4.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [71] 100.0% ---------------------------------------------------------------------- taylor-alt [49] 100.0% [55] 460(2.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [59] 100.0% ---------------------------------------------------------------------- sort [51] 48.5% copying-mergesort [56] 51.5% [56] 4500(26.0%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [56] 51.5% loop [61] 39.3% jloop [62] 9.2% ---------------------------------------------------------------------- ??? [53] 100.0% [57] 1108(6.4%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [67] 78.3% ??? [65] 21.7% ---------------------------------------------------------------------- ??? [53] 100.0% [58] 952(5.5%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsub [63] 100.0% ---------------------------------------------------------------------- for-loop [55] 100.0% [59] 460(2.7%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [64] 100.0% ---------------------------------------------------------------------- ??? [53] 100.0% [60] 196(1.1%) 196(1.1%) bf/ ...th/private/bigfloat/bigfloat-mpfr.rkt:102:0 ---------------------------------------------------------------------- sort [51] 36.3% copying-mergesort [56] 63.7% [61] 4462(25.8%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [66] 100.0% ---------------------------------------------------------------------- copying-mergesort [56] 100.0% [62] 1658(9.6%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [66] 100.0% ---------------------------------------------------------------------- ??? [58] 100.0% [63] 952(5.5%) 464(2.7%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [68] 51.3% ---------------------------------------------------------------------- location-do [59] 100.0% [64] 460(2.7%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [69] 52.2% f94 [70] 47.8% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [57]100.0% [65] 240(1.4%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [67] 100.0% ---------------------------------------------------------------------- jloop [62] 27.1% loop [61] 72.9% [66] 6120(35.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [71] 100.0% ---------------------------------------------------------------------- ??? [65] 13.0% ??? [45] 39.8% ...higher-order.rkt:373:33 [57] 47.2% [67] 1840(10.6%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [72] 100.0% ---------------------------------------------------------------------- real->bigfloat [52] 33.2% bfsub [63] 66.8% [68] 730(4.2%) 730(4.2%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- approximate9 [64] 100.0% [69] 240(1.4%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [73] 100.0% ---------------------------------------------------------------------- approximate9 [64] 100.0% [70] 220(1.3%) 0(0.0%) f94 ...t/collects/racket/match/compiler.rkt:499:40 taylor [74] 100.0% ---------------------------------------------------------------------- for-loop [54] 10.3% ??? [66] 89.7% [71] 6826(39.4%) 6126(35.4%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [76] 10.3% ---------------------------------------------------------------------- ->flonum [48] 20.6% ??? [67] 79.4% [72] 2318(13.4%) 930(5.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [75] 59.9% ---------------------------------------------------------------------- ??? [6] 50.0% loop [69] 50.0% [73] 240(1.4%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [3] 50.0% simplify [77] 50.0% ---------------------------------------------------------------------- f94 [70] 100.0% [74] 220(1.3%) 0(0.0%) taylor ...tatlock/herbie/src/core/taylor.rkt:157:0 debug7 [78] 100.0% ---------------------------------------------------------------------- ??? [72] 100.0% [75] 1388(8.0%) 1388(8.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 ---------------------------------------------------------------------- eval-prog [71] 100.0% [76] 700(4.0%) 478(2.8%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [80] 31.7% ---------------------------------------------------------------------- hash-ref! [73] 100.0% [77] 240(1.4%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug-print [79] 100.0% ---------------------------------------------------------------------- taylor [74] 100.0% [78] 220(1.3%) 220(1.3%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ---------------------------------------------------------------------- simplify [77] 34.0% infer-splitpoints4 [30] 66.0% [79] 706(4.1%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [81] 100.0% ---------------------------------------------------------------------- ??? [76] 100.0% [80] 222(1.3%) 222(1.3%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ---------------------------------------------------------------------- debug-print [79] 100.0% [81] 706(4.1%) 240(1.4%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 write-proc [82] 66.0% ---------------------------------------------------------------------- for-loop [81] 100.0% [82] 466(2.7%) 466(2.7%) write-proc ...lock/herbie/src/alternative.rkt:29:9 ----------------------------------------------------------------------