Profiling results ----------------- Total cpu time observed: 5944ms (out of 6032ms) Number of samples taken: 26 (once every 229ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [7] 100.0% [1] 5944(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% --------------------------------------------------------------------- hash-ref! [67] 100.0% [2] 202(3.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [6] 100.0% --------------------------------------------------------------------- hash-ref! [67] 100.0% [3] 202(3.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:392:23 for-loop [5] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [4] 5944(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [7] 100.0% --------------------------------------------------------------------- ??? [3] 100.0% [5] 202(3.4%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:396:33 for-loop [8] 100.0% --------------------------------------------------------------------- ??? [2] 100.0% [6] 202(3.4%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [67] 100.0% --------------------------------------------------------------------- for-loop [32] 2.3% run [4] 48.8% [7] 5944(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.8% loop [9] 31.1% run-improve58 [10] 17.7% simplify [11] 2.3% --------------------------------------------------------------------- for-loop [5] 100.0% [8] 202(3.4%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:398:39 hash-ref! [67] 100.0% --------------------------------------------------------------------- ??? [7] 100.0% [9] 3702(62.3%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [12] 51.5% make-exacts* [19] 27.6% loop [17] 20.9% --------------------------------------------------------------------- ??? [7] 100.0% [10] 2242(37.7%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [13] 63.5% for-loop [14] 36.5% --------------------------------------------------------------------- ??? [7] 100.0% [11] 418(7.0%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 loop [15] 53.1% simplify-expr [16] 46.9% --------------------------------------------------------------------- loop [9] 100.0% [12] 1908(32.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [17] 88.6% make-exacts* [19] 11.4% --------------------------------------------------------------------- run-improve58 [10] 100.0% [13] 1424(24.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [18] 100.0% --------------------------------------------------------------------- run-improve58 [10] 100.0% [14] 818(13.8%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [20] 100.0% --------------------------------------------------------------------- simplify [11] 100.0% [15] 222(3.7%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [21] 100.0% --------------------------------------------------------------------- simplify [11] 100.0% [16] 196(3.3%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [22] 100.0% --------------------------------------------------------------------- loop [9] 31.4% loop [12] 68.6% [17] 2462(41.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [23] 100.0% --------------------------------------------------------------------- get-final-combination [13] 100.0% [18] 1424(24.0%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [24] 100.0% --------------------------------------------------------------------- loop [12] 17.6% loop [9] 82.4% [19] 1240(20.9%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [30] 56.9% map [23] 43.1% --------------------------------------------------------------------- for-loop [14] 100.0% [20] 818(13.8%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [25] 51.1% gen-series! [27] 24.7% finalize-iter! [28] 24.2% --------------------------------------------------------------------- loop [15] 100.0% [21] 222(3.7%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [26] 100.0% --------------------------------------------------------------------- simplify-expr [16] 100.0% [22] 196(3.3%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [29] 100.0% --------------------------------------------------------------------- make-exacts* [19] 17.8% loop [17] 82.2% [23] 2996(50.4%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [30] 100.0% --------------------------------------------------------------------- split-table [18] 100.0% [24] 1424(24.0%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [31] 100.0% --------------------------------------------------------------------- run-iter! [20] 100.0% [25] 418(7.0%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [32] 100.0% --------------------------------------------------------------------- pass [21] 100.0% [26] 222(3.7%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [33] 100.0% --------------------------------------------------------------------- run-iter! [20] 100.0% [27] 202(3.4%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [34] 100.0% --------------------------------------------------------------------- run-iter! [20] 100.0% [28] 198(3.3%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [35] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [22] 100.0% [29] 196(3.3%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 apply-match [36] 100.0% --------------------------------------------------------------------- make-exacts* [19] 0.0% map [23] 14.5% loop [30] 85.5% [30] 3702(62.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [30] 85.5% ??? [37] 14.5% ->flonum [39] 0.0% --------------------------------------------------------------------- infer-splitpoints4 [24] 100.0% [31] 1424(24.0%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [38] 100.0% --------------------------------------------------------------------- simplify! [25] 100.0% [32] 418(7.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [7] 100.0% --------------------------------------------------------------------- for-loop [26] 100.0% [33] 222(3.7%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [40] 100.0% --------------------------------------------------------------------- gen-series! [27] 100.0% [34] 202(3.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [41] 100.0% --------------------------------------------------------------------- finalize-iter! [28] 100.0% [35] 198(3.3%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 atab-add-altns [42] 100.0% --------------------------------------------------------------------- one-iter [29] 100.0% [36] 196(3.3%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 match-e [43] 100.0% --------------------------------------------------------------------- loop [30] 100.0% [37] 3228(54.3%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [44] 47.2% ??? [46] 22.5% real->bigfloat [47] 21.7% ...e/case-arrow.rkt:150:50 [48] 8.6% --------------------------------------------------------------------- option-on-expr [31] 100.0% [38] 1424(24.0%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [45] 100.0% --------------------------------------------------------------------- loop [30] 100.0% [39] 474(8.0%) 256(4.3%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [50] 46.0% --------------------------------------------------------------------- argmin [33] 100.0% [40] 222(3.7%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [49] 100.0% --------------------------------------------------------------------- for-loop [34] 100.0% [41] 202(3.4%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [51] 100.0% --------------------------------------------------------------------- ??? [35] 100.0% [42] 198(3.3%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [52] 100.0% --------------------------------------------------------------------- apply-match [36] 100.0% [43] 196(3.3%) 196(3.3%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 --------------------------------------------------------------------- ??? [37] 100.0% [44] 1524(25.6%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [53] 100.0% --------------------------------------------------------------------- sort-context-on-expr [38] 100.0% [45] 1424(24.0%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [54] 71.8% loop [58] 28.2% --------------------------------------------------------------------- ??? [37] 100.0% [46] 726(12.2%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [59] 100.0% --------------------------------------------------------------------- ??? [37] 100.0% [47] 702(11.8%) 502(8.4%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [56] 28.5% --------------------------------------------------------------------- ??? [37] 100.0% [48] 276(4.6%) 276(4.6%) ...e/case-arrow.rkt:150:50 (unknown source) --------------------------------------------------------------------- expression-cost [40] 100.0% [49] 222(3.7%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:189:0 hash-ref! [67] 100.0% --------------------------------------------------------------------- ->flonum [39] 100.0% [50] 218(3.7%) 218(3.7%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- taylor-alt [41] 100.0% [51] 202(3.4%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [55] 100.0% --------------------------------------------------------------------- atab-add-altns [42] 100.0% [52] 198(3.3%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [57] 100.0% --------------------------------------------------------------------- ??? [44] 100.0% [53] 1524(25.6%) 718(12.1%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfexpt [60] 34.6% ??? [59] 18.2% --------------------------------------------------------------------- sort [45] 49.7% copying-mergesort [54] 50.3% [54] 1022(17.2%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [54] 50.3% loop [58] 49.7% --------------------------------------------------------------------- for-loop [51] 100.0% [55] 202(3.4%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [61] 100.0% --------------------------------------------------------------------- real->bigfloat [47] 100.0% [56] 200(3.4%) 200(3.4%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- atab-add-altn [52] 100.0% [57] 198(3.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [62] 100.0% --------------------------------------------------------------------- sort [45] 28.2% copying-mergesort [54] 71.8% [58] 1424(24.0%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [63] 100.0% --------------------------------------------------------------------- ??? [53] 27.7% ??? [46] 72.3% [59] 1004(16.9%) 278(4.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [64] 72.3% --------------------------------------------------------------------- ??? [53] 100.0% [60] 528(8.9%) 528(8.9%) bfexpt ...lib/math/private/bigfloat/mpfr.rkt:819:4 --------------------------------------------------------------------- location-do [55] 100.0% [61] 202(3.4%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [65] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [57] 100.0% [62] 198(3.3%) 198(3.3%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 --------------------------------------------------------------------- loop [58] 100.0% [63] 1424(24.0%) 200(3.4%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [66] 86.0% --------------------------------------------------------------------- ??? [59] 100.0% [64] 726(12.2%) 726(12.2%) ??? ...llects/racket/contract/combinator.rkt:178:4 --------------------------------------------------------------------- approximate9 [61] 100.0% [65] 202(3.4%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [67] 100.0% --------------------------------------------------------------------- ??? [63] 100.0% [66] 1224(20.6%) 1024(17.2%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 new-lambda [71] 16.3% --------------------------------------------------------------------- for-loop [6] 11.9% for-loop [8] 11.9% ??? [70] 11.9% loop [65] 11.9% ??? [68] 26.2% compile [49] 26.2% [67] 424(7.1%) 222(3.7%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [68] 26.2% ??? [70] 11.9% ??? [3] 11.9% ??? [2] 11.9% simplify [69] 11.9% --------------------------------------------------------------------- hash-ref! [67] 100.0% [68] 222(3.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 hash-ref! [67] 100.0% --------------------------------------------------------------------- hash-ref! [67] 100.0% [69] 202(3.4%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [72] 100.0% --------------------------------------------------------------------- hash-ref! [67] 100.0% [70] 202(3.4%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [67] 100.0% --------------------------------------------------------------------- eval-prog [66] 100.0% [71] 200(3.4%) 0(0.0%) new-lambda ...ollects/racket/private/kw.rkt:631:11 loop [73] 100.0% --------------------------------------------------------------------- simplify [69] 25.0% parse-loop50 [72] 75.0% [72] 202(3.4%) 202(3.4%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [72] 75.0% --------------------------------------------------------------------- new-lambda [71] 100.0% [73] 200(3.4%) 200(3.4%) loop .../collects/racket/private/stxcase.rkt:112:7 ---------------------------------------------------------------------