Profiling results ----------------- Total cpu time observed: 18852ms (out of 19360ms) Number of samples taken: 78 (once every 242ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [18] 100.0% [1] 18226(96.7%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% --------------------------------------------------------------------- ??? [18] 100.0% [2] 4556(24.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [7] 86.8% for-loop [8] 8.7% loop [22] 4.5% --------------------------------------------------------------------- copying-mergesort [28] 100.0% [3] 1378(7.3%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [39] 100.0% --------------------------------------------------------------------- hash-ref! [50] 100.0% [4] 642(3.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [44] 100.0% --------------------------------------------------------------------- hash-ref! [50] 100.0% [5] 200(1.1%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [9] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [6] 18226(96.7%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [18] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 3954(21.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [10] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 398(2.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [11] 100.0% --------------------------------------------------------------------- ??? [5] 100.0% [9] 200(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [50] 100.0% --------------------------------------------------------------------- get-final-combination [7] 100.0% [10] 3954(21.0%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [12] 100.0% --------------------------------------------------------------------- for-loop [8] 100.0% [11] 398(2.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 gen-series! [13] 50.3% simplify! [14] 49.7% --------------------------------------------------------------------- split-table [10] 100.0% [12] 3954(21.0%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [15] 100.0% --------------------------------------------------------------------- run-iter! [11] 100.0% [13] 200(1.1%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [16] 100.0% --------------------------------------------------------------------- run-iter! [11] 100.0% [14] 198(1.1%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [17] 100.0% --------------------------------------------------------------------- infer-splitpoints4 [12] 100.0% [15] 3954(21.0%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [19] 94.9% pick-errors [20] 5.1% --------------------------------------------------------------------- gen-series! [13] 100.0% [16] 200(1.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [21] 100.0% --------------------------------------------------------------------- simplify! [14] 100.0% [17] 198(1.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [18] 100.0% --------------------------------------------------------------------- for-loop [17] 0.4% run [6] 48.7% [18] 18654(98.9%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.7% loop [22] 38.9% run-improve58 [2] 12.0% simplify [26] 0.4% --------------------------------------------------------------------- option-on-expr [15] 100.0% [19] 3754(19.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [23] 100.0% --------------------------------------------------------------------- option-on-expr [15] 100.0% [20] 200(1.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [24] 100.0% --------------------------------------------------------------------- for-loop [16] 100.0% [21] 200(1.1%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [25] 100.0% --------------------------------------------------------------------- run-improve58 [2] 1.4% ??? [18] 98.6% [22] 14302(75.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [32] 49.3% loop [27] 38.4% loop [33] 8.7% for-loop [29] 3.5% --------------------------------------------------------------------- sort-context-on-expr [19] 100.0% [23] 3754(19.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [28] 77.6% loop [34] 22.4% --------------------------------------------------------------------- pick-errors [20] 100.0% [24] 200(1.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [45] 100.0% --------------------------------------------------------------------- taylor-alt [21] 100.0% [25] 200(1.1%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [30] 100.0% --------------------------------------------------------------------- ??? [18] 100.0% [26] 198(1.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [31] 100.0% --------------------------------------------------------------------- loop [22] 100.0% [27] 5498(29.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [32] 53.3% loop [33] 42.7% eval-prog [45] 4.0% --------------------------------------------------------------------- sort [23] 46.2% copying-mergesort [28] 53.8% [28] 2914(15.5%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [28] 53.8% loop [34] 34.4% jloop [3] 11.8% --------------------------------------------------------------------- loop [22] 100.0% [29] 504(2.7%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:128:18 for-loop [35] 100.0% --------------------------------------------------------------------- for-loop [25] 100.0% [30] 200(1.1%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [36] 100.0% --------------------------------------------------------------------- simplify [26] 100.0% [31] 198(1.1%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [37] 100.0% --------------------------------------------------------------------- loop [27] 29.4% loop [22] 70.6% [32] 9980(52.9%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [38] 56.7% loop [44] 41.3% eval-prog [45] 2.0% --------------------------------------------------------------------- loop [22] 34.7% loop [27] 65.3% [33] 3598(19.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [38] 100.0% --------------------------------------------------------------------- sort [23] 35.4% copying-mergesort [28] 64.6% [34] 2376(12.6%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [39] 100.0% --------------------------------------------------------------------- for-loop [29] 100.0% [35] 504(2.7%) 0(0.0%) for-loop .../ztatlock/herbie/src/points.rkt:129:20 sample-default [40] 56.0% sample-double [41] 44.0% --------------------------------------------------------------------- location-do [30] 100.0% [36] 200(1.1%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [42] 100.0% --------------------------------------------------------------------- simplify-expr [31] 100.0% [37] 198(1.1%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [43] 100.0% --------------------------------------------------------------------- f37 [68] 2.1% loop [33] 38.0% make-exacts* [32] 59.8% [38] 9456(50.2%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [44] 93.6% ??? [49] 4.3% parse-loop50 [47] 2.1% --------------------------------------------------------------------- jloop [3] 36.7% loop [34] 63.3% [39] 3754(19.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [45] 100.0% --------------------------------------------------------------------- for-loop [35] 100.0% [40] 282(1.5%) 282(1.5%) sample-default ...rc/syntax/distributions.rkt:11:0 --------------------------------------------------------------------- for-loop [35] 100.0% [41] 222(1.2%) 0(0.0%) sample-double .../src/syntax/distributions.rkt:8:0 random-exp [46] 100.0% --------------------------------------------------------------------- approximate9 [36] 100.0% [42] 200(1.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [50] 100.0% --------------------------------------------------------------------- iterate-egraph!5 [37] 100.0% [43] 198(1.1%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [48] 100.0% --------------------------------------------------------------------- make-exacts* [32] 1.0% map [38] 2.2% ??? [4] 4.6% loop [44] 92.2% [44] 13810(73.3%) 494(2.6%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [44] 92.2% hash-ref! [50] 3.9% ??? [49] 3.2% ->flonum [51] 0.0% --------------------------------------------------------------------- for-loop [24] 4.6% make-exacts* [32] 4.7% loop [27] 5.0% ??? [39] 85.7% [45] 4378(23.2%) 3312(17.6%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [50] 14.7% inductor [52] 5.0% new-lambda [53] 4.7% --------------------------------------------------------------------- sample-double [41] 100.0% [46] 222(1.2%) 222(1.2%) random-exp ...ztatlock/herbie/src/common.rkt:153:0 --------------------------------------------------------------------- map [38] 100.0% [47] 200(1.1%) 0(0.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 f37 [68] 50.0% parse-app [54] 50.0% --------------------------------------------------------------------- for-loop [48] 50.0% one-iter [43] 50.0% [48] 198(1.1%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [48] 50.0% match-e [55] 50.0% --------------------------------------------------------------------- map [38] 3.2% loop [44] 96.8% [49] 12794(67.9%) 1440(7.6%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [56] 50.3% real->bigfloat [57] 29.7% ??? [70] 8.8% --------------------------------------------------------------------- for-loop [9] 5.9% ??? [62] 5.9% ??? [63] 5.9% loop [42] 5.9% eval-prog [45] 34.1% loop [44] 42.2% [50] 842(4.5%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [4] 55.1% bigfloat-hash [58] 21.1% ??? [63] 5.9% ??? [62] 5.9% ??? [5] 5.9% simplify [61] 5.9% --------------------------------------------------------------------- loop [44] 100.0% [51] 502(2.7%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [59] 59.8% ??? [71] 40.2% --------------------------------------------------------------------- eval-prog [45] 33.3% inductor [52] 66.7% [52] 218(1.2%) 218(1.2%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [52] 66.7% --------------------------------------------------------------------- eval-prog [45] 100.0% [53] 206(1.1%) 0(0.0%) new-lambda ...ollects/racket/private/kw.rkt:631:11 loop [60] 100.0% --------------------------------------------------------------------- parse-loop50 [47] 100.0% [54] 200(1.1%) 200(1.1%) parse-app .../collects/racket/private/kw.rkt:903:2 --------------------------------------------------------------------- for-loop [48] 100.0% [55] 198(1.1%) 198(1.1%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 --------------------------------------------------------------------- ??? [49] 100.0% [56] 6432(34.1%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [64] 96.2% ...higher-order.rkt:373:33 [65] 3.8% --------------------------------------------------------------------- ??? [49] 100.0% [57] 3794(20.1%) 2086(11.1%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [72] 45.0% --------------------------------------------------------------------- hash-ref! [50] 100.0% [58] 424(2.2%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [66] 51.9% bfcanonicalize [67] 48.1% --------------------------------------------------------------------- ->flonum [51] 100.0% [59] 300(1.6%) 300(1.6%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- new-lambda [53] 100.0% [60] 206(1.1%) 206(1.1%) loop .../collects/racket/private/stxcase.rkt:112:7 --------------------------------------------------------------------- hash-ref! [50] 100.0% [61] 200(1.1%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f37 [68] 100.0% --------------------------------------------------------------------- hash-ref! [50] 100.0% [62] 200(1.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [50] 100.0% --------------------------------------------------------------------- hash-ref! [50] 100.0% [63] 200(1.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [50] 100.0% --------------------------------------------------------------------- ??? [56] 100.0% [64] 6190(32.8%) 2446(13.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsub [69] 49.8% ??? [71] 10.7% --------------------------------------------------------------------- ??? [56] 100.0% [65] 242(1.3%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [70] 100.0% --------------------------------------------------------------------- bigfloat-hash [58] 100.0% [66] 220(1.2%) 220(1.2%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 --------------------------------------------------------------------- bigfloat-hash [58] 100.0% [67] 204(1.1%) 204(1.1%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 --------------------------------------------------------------------- parse-loop50 [47] 50.0% simplify [61] 50.0% [68] 200(1.1%) 0(0.0%) f37 ...t/collects/racket/match/compiler.rkt:499:40 map [38] 100.0% --------------------------------------------------------------------- ??? [64] 100.0% [69] 3084(16.4%) 2868(15.2%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [72] 7.0% --------------------------------------------------------------------- ...higher-order.rkt:373:33 [65] 17.7% ??? [49] 82.3% [70] 1370(7.3%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [71] 100.0% --------------------------------------------------------------------- ->flonum [51] 9.1% ??? [64] 29.6% ??? [70] 61.4% [71] 2232(11.8%) 824(4.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [73] 63.1% --------------------------------------------------------------------- bfsub [69] 11.2% real->bigfloat [57] 88.8% [72] 1924(10.2%) 1924(10.2%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- ??? [71] 100.0% [73] 1408(7.5%) 722(3.8%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [74] 48.7% --------------------------------------------------------------------- ??? [73] 100.0% [74] 686(3.6%) 686(3.6%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ---------------------------------------------------------------------