Profiling results ----------------- Total cpu time observed: 10734ms (out of 10912ms) Number of samples taken: 42 (once every 256ms) =================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee =================================================================== ??? [7] 100.0% [1] 10514(98.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ------------------------------------------------------------------- ??? [7] 100.0% [2] 682(6.4%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [5] 100.0% ------------------------------------------------------------------- hash-ref! [65] 100.0% [3] 460(4.3%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 for-loop [6] 52.2% hash-ref! [65] 47.8% ------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 10514(98.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% ------------------------------------------------------------------- simplify [2] 100.0% [5] 682(6.4%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 loop [8] 35.5% debug-print [9] 32.3% iterate-egraph!5 [10] 32.3% ------------------------------------------------------------------- ??? [3] 100.0% [6] 240(2.2%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:341:46 hash-ref! [65] 100.0% ------------------------------------------------------------------- for-loop [38] 2.1% run [4] 47.9% [7] 10734(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.9% run-improve58 [11] 28.4% loop [12] 21.6% simplify [2] 2.1% ------------------------------------------------------------------- simplify-expr [5] 100.0% [8] 242(2.3%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [13] 100.0% ------------------------------------------------------------------- simplify-expr [5] 100.0% [9] 220(2.0%) 220(2.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 ------------------------------------------------------------------- simplify-expr [5] 100.0% [10] 220(2.0%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [14] 100.0% ------------------------------------------------------------------- ??? [7] 100.0% [11] 6106(56.9%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [15] 53.3% for-loop [16] 46.7% ------------------------------------------------------------------- ??? [7] 100.0% [12] 4628(43.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [21] 54.4% loop [17] 40.8% for-loop [20] 4.8% ------------------------------------------------------------------- loop [8] 100.0% [13] 242(2.3%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [18] 100.0% ------------------------------------------------------------------- iterate-egraph!5 [10] 100.0% [14] 220(2.0%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [19] 100.0% ------------------------------------------------------------------- run-improve58 [11] 100.0% [15] 3254(30.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [22] 100.0% ------------------------------------------------------------------- run-improve58 [11] 100.0% [16] 2852(26.6%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [23] 100.0% ------------------------------------------------------------------- loop [12] 100.0% [17] 1890(17.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [21] 50.2% loop [24] 49.8% ------------------------------------------------------------------- pass [13] 100.0% [18] 242(2.3%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [25] 100.0% ------------------------------------------------------------------- for-loop [19] 50.0% one-iter [14] 50.0% [19] 220(2.0%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [19] 50.0% match-e [26] 50.0% ------------------------------------------------------------------- loop [12] 100.0% [20] 220(2.0%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [27] 100.0% ------------------------------------------------------------------- loop [17] 27.4% loop [12] 72.6% [21] 3466(32.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [29] 63.0% loop [35] 37.0% ------------------------------------------------------------------- get-final-combination [15] 100.0% [22] 3254(30.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [28] 100.0% ------------------------------------------------------------------- for-loop [16] 100.0% [23] 2852(26.6%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 finalize-iter! [30] 60.0% simplify! [31] 23.9% gen-series! [32] 16.1% ------------------------------------------------------------------- loop [17] 100.0% [24] 942(8.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [29] 100.0% ------------------------------------------------------------------- for-loop [18] 100.0% [25] 242(2.3%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [33] 100.0% ------------------------------------------------------------------- for-loop [19] 100.0% [26] 220(2.0%) 220(2.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ------------------------------------------------------------------- for-loop [20] 100.0% [27] 220(2.0%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 sample-double [34] 100.0% ------------------------------------------------------------------- split-table [22] 100.0% [28] 3254(30.3%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [36] 100.0% ------------------------------------------------------------------- loop [24] 30.2% make-exacts* [21] 69.8% [29] 3124(29.1%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [35] 100.0% ------------------------------------------------------------------- run-iter! [23] 100.0% [30] 1710(15.9%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [37] 100.0% ------------------------------------------------------------------- run-iter! [23] 100.0% [31] 682(6.4%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [38] 100.0% ------------------------------------------------------------------- run-iter! [23] 100.0% [32] 460(4.3%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [39] 100.0% ------------------------------------------------------------------- argmin [25] 100.0% [33] 242(2.3%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [40] 100.0% ------------------------------------------------------------------- for-loop [27] 100.0% [34] 220(2.0%) 0(0.0%) sample-double .../src/syntax/distributions.rkt:8:0 random-exp [41] 100.0% ------------------------------------------------------------------- make-exacts* [21] 0.0% map [29] 0.8% loop [35] 99.1% [35] 4408(41.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [35] 99.1% ??? [63] 0.9% ->flonum [45] 0.0% ------------------------------------------------------------------- infer-splitpoints4 [28] 100.0% [36] 3254(30.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [42] 93.2% err-lsts->split-indices [46] 6.8% ------------------------------------------------------------------- finalize-iter! [30] 100.0% [37] 1710(15.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [43] 100.0% ------------------------------------------------------------------- simplify! [31] 100.0% [38] 682(6.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% ------------------------------------------------------------------- gen-series! [32] 100.0% [39] 460(4.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [44] 100.0% ------------------------------------------------------------------- expression-cost [33] 100.0% [40] 242(2.3%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:189:0 hash-ref! [65] 100.0% ------------------------------------------------------------------- sample-double [34] 100.0% [41] 220(2.0%) 220(2.0%) random-exp ...ztatlock/herbie/src/common.rkt:153:0 ------------------------------------------------------------------- option-on-expr [36] 100.0% [42] 3034(28.3%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [47] 100.0% ------------------------------------------------------------------- ??? [37] 100.0% [43] 1710(15.9%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [48] 100.0% ------------------------------------------------------------------- for-loop [39] 100.0% [44] 460(4.3%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [49] 100.0% ------------------------------------------------------------------- loop [35] 100.0% [45] 286(2.7%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [77] 100.0% ------------------------------------------------------------------- option-on-expr [36] 100.0% [46] 220(2.0%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [50] 100.0% ------------------------------------------------------------------- sort-context-on-expr [42] 100.0% [47] 3034(28.3%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [51] 78.1% loop [55] 21.9% ------------------------------------------------------------------- for-loop [43] 100.0% [48] 1710(15.9%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [52]100.0% ------------------------------------------------------------------- taylor-alt [44] 100.0% [49] 460(4.3%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [53] 100.0% ------------------------------------------------------------------- err-lsts->split-indices [46]100.0% [50] 220(2.0%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [54] 100.0% ------------------------------------------------------------------- copying-mergesort [51] 49.9% sort [47] 50.1% [51] 2370(22.1%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [51] 49.9% loop [55] 38.7% jloop [57] 11.4% ------------------------------------------------------------------- atab-add-altn [48] 100.0% [52] 1710(15.9%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [56] 100.0% ------------------------------------------------------------------- location-do [53] 23.9% for-loop [49] 76.1% [53] 460(4.3%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [58] 76.1% location-do [53] 23.9% ------------------------------------------------------------------- add-splitpoint [50] 100.0% [54] 220(2.0%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [59] 100.0% ------------------------------------------------------------------- sort [47] 33.9% copying-mergesort [51] 66.1% [55] 1958(18.2%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [60] 100.0% ------------------------------------------------------------------- best-and-tied-at-points [52]100.0% [56] 1710(15.9%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [61] 100.0% ------------------------------------------------------------------- copying-mergesort [51] 100.0% [57] 1076(10.0%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [60] 100.0% ------------------------------------------------------------------- location-do [53] 100.0% [58] 460(4.3%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [62] 100.0% ------------------------------------------------------------------- for-loop [54] 100.0% [59] 220(2.0%) 220(2.0%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 ------------------------------------------------------------------- jloop [57] 35.5% loop [55] 64.5% [60] 3034(28.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [64] 92.7% ??? [63] 7.3% ------------------------------------------------------------------- errors [56] 100.0% [61] 1710(15.9%) 1490(13.9%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [63] 12.9% ------------------------------------------------------------------- approximate9 [58] 100.0% [62] 460(4.3%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [65] 100.0% ------------------------------------------------------------------- for-loop [61] 4.8% ??? [60] 4.8% loop [35] 90.4% [63] 4562(42.5%) 748(7.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [66] 55.9% ??? [67] 15.7% real->bigfloat [68] 12.1% ------------------------------------------------------------------- ??? [60] 100.0% [64] 2814(26.2%) 2396(22.3%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 parse-lambda [72] 7.8% inductor [73] 7.0% ------------------------------------------------------------------- ??? [3] 7.8% for-loop [6] 8.5% ??? [70] 16.4% ??? [71] 16.4% loop [62] 16.4% compile [40] 34.5% [65] 702(6.5%) 242(2.3%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [71] 16.4% ??? [70] 16.4% ??? [3] 16.4% simplify [69] 16.4% ------------------------------------------------------------------- ??? [63] 100.0% [66] 2550(23.8%) 440(4.1%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [74] 73.4% bf/ [76] 9.3% ------------------------------------------------------------------- ??? [63] 100.0% [67] 714(6.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [77] 100.0% ------------------------------------------------------------------- ??? [63] 100.0% [68] 550(5.1%) 550(5.1%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ------------------------------------------------------------------- hash-ref! [65] 100.0% [69] 460(4.3%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [75] 100.0% ------------------------------------------------------------------- hash-ref! [65] 100.0% [70] 460(4.3%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [65] 100.0% ------------------------------------------------------------------- hash-ref! [65] 100.0% [71] 460(4.3%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [65] 100.0% ------------------------------------------------------------------- eval-prog [64] 100.0% [72] 220(2.0%) 220(2.0%) parse-lambda ...llects/racket/private/kw.rkt:393:2 ------------------------------------------------------------------- eval-prog [64] 100.0% [73] 198(1.8%) 198(1.8%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 ------------------------------------------------------------------- ??? [66] 100.0% [74] 1872(17.4%) 700(6.5%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 ??? [77] 25.2% bflog [78] 25.0% bfatan2 [79] 12.4% ------------------------------------------------------------------- simplify [69] 100.0% [75] 460(4.3%) 460(4.3%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 ------------------------------------------------------------------- ??? [66] 100.0% [76] 238(2.2%) 238(2.2%) bf/ ...th/private/bigfloat/bigfloat-mpfr.rkt:102:0 ------------------------------------------------------------------- ->flonum [45] 19.4% ??? [74] 32.1% ??? [67] 48.5% [77] 1472(13.7%) 240(2.2%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [80] 67.4% ??? [82] 16.3% ------------------------------------------------------------------- ??? [74] 100.0% [78] 468(4.4%) 228(2.1%) bflog ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [81] 51.3% ------------------------------------------------------------------- ??? [74] 100.0% [79] 232(2.2%) 0(0.0%) bfatan2 ...ib/math/private/bigfloat/mpfr.rkt:819:4 ??? [81] 100.0% ------------------------------------------------------------------- ??? [77] 100.0% [80] 992(9.2%) 236(2.2%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [83] 76.2% ------------------------------------------------------------------- bfatan2 [79] 49.2% bflog [78] 50.8% [81] 472(4.4%) 472(4.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------- ??? [77] 100.0% [82] 240(2.2%) 240(2.2%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ------------------------------------------------------------------- ??? [80] 100.0% [83] 756(7.0%) 756(7.0%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 -------------------------------------------------------------------