Profiling results ----------------- Total cpu time observed: 17840ms (out of 18088ms) Number of samples taken: 73 (once every 244ms) ===================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ===================================================================== ??? [28] 100.0% [1] 17382(97.4%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% --------------------------------------------------------------------- ??? [28] 100.0% [2] 9486(53.2%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [6] 66.4% for-loop [7] 33.6% --------------------------------------------------------------------- loop [55] 8.5% ??? [28] 91.5% [3] 2528(14.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [8] 50.2% for-loop [9] 49.8% --------------------------------------------------------------------- hash-ref! [51] 100.0% [4] 202(1.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 ??? [10] 100.0% --------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 17382(97.4%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [28] 100.0% --------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 6298(35.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [11] 96.6% extract-alt [14] 3.4% --------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 3188(17.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [12] 100.0% --------------------------------------------------------------------- simplify [3] 100.0% [8] 1268(7.1%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [13] 84.2% loop [15] 15.8% --------------------------------------------------------------------- simplify [3] 100.0% [9] 1260(7.1%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [13] 100.0% --------------------------------------------------------------------- ??? [4] 100.0% [10] 202(1.1%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [51] 100.0% --------------------------------------------------------------------- get-final-combination [6] 100.0% [11] 6084(34.1%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [16] 100.0% --------------------------------------------------------------------- for-loop [7] 100.0% [12] 3188(17.9%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [18] 72.6% gen-series! [19] 14.1% finalize-iter! [20] 13.3% --------------------------------------------------------------------- simplify-expr [8] 45.9% for-loop [9] 54.1% [13] 2328(13.0%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [17] 100.0% --------------------------------------------------------------------- get-final-combination [6] 100.0% [14] 214(1.2%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [55] 100.0% --------------------------------------------------------------------- simplify-expr [8] 100.0% [15] 200(1.1%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [21] 100.0% --------------------------------------------------------------------- split-table [11] 100.0% [16] 6084(34.1%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [57] 74.3% loop [55] 25.7% --------------------------------------------------------------------- iterate-egraph!5 [13] 100.0% [17] 2328(13.0%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [23] 73.2% apply-match [30] 18.2% loop [27] 8.6% --------------------------------------------------------------------- run-iter! [12] 100.0% [18] 2314(13.0%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [22] 100.0% --------------------------------------------------------------------- run-iter! [12] 100.0% [19] 450(2.5%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [24] 100.0% --------------------------------------------------------------------- run-iter! [12] 100.0% [20] 424(2.4%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [25] 100.0% --------------------------------------------------------------------- loop [15] 100.0% [21] 200(1.1%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [26] 100.0% --------------------------------------------------------------------- simplify! [18] 100.0% [22] 2314(13.0%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [28] 100.0% --------------------------------------------------------------------- for-loop [23] 50.0% one-iter [17] 50.0% [23] 1704(9.6%) 222(1.2%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [23] 50.0% match-e [29] 43.5% --------------------------------------------------------------------- gen-series! [19] 100.0% [24] 450(2.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [31] 100.0% --------------------------------------------------------------------- finalize-iter! [20] 100.0% [25] 424(2.4%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [32] 100.0% --------------------------------------------------------------------- pass [21] 100.0% [26] 200(1.1%) 200(1.1%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 --------------------------------------------------------------------- one-iter [17] 100.0% [27] 200(1.1%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [30] 100.0% --------------------------------------------------------------------- for-loop [22] 4.4% run [5] 47.2% [28] 17604(98.7%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.2% run-improve58 [2] 24.8% loop [33] 23.7% simplify [3] 4.4% --------------------------------------------------------------------- for-loop [23] 100.0% [29] 1482(8.3%) 1080(6.1%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [37] 13.6% list-cartesian-product [38] 13.5% --------------------------------------------------------------------- loop [27] 32.1% one-iter [17] 67.9% [30] 624(3.5%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 for-loop [36] 67.9% loop! [58] 32.1% --------------------------------------------------------------------- for-loop [24] 100.0% [31] 450(2.5%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [34] 100.0% --------------------------------------------------------------------- ??? [25] 100.0% [32] 424(2.4%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [35] 100.0% --------------------------------------------------------------------- ??? [28] 100.0% [33] 8118(45.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [43] 65.1% loop [39] 34.9% --------------------------------------------------------------------- taylor-alt [31] 100.0% [34] 450(2.5%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [40] 100.0% --------------------------------------------------------------------- for-loop [32] 100.0% [35] 424(2.4%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [41] 100.0% --------------------------------------------------------------------- apply-match [30] 100.0% [36] 424(2.4%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:136:10 loop! [58] 100.0% --------------------------------------------------------------------- match-e [29] 100.0% [37] 202(1.1%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [42] 100.0% --------------------------------------------------------------------- list-cartesian-product [38] 50.0% match-e [29] 50.0% [38] 200(1.1%) 200(1.1%) list-cartesian-product ...src/core/ematch.rkt:20:0 list-cartesian-product [38] 50.0% --------------------------------------------------------------------- loop [33] 100.0% [39] 2836(15.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [44] 72.1% make-exacts* [43] 27.9% --------------------------------------------------------------------- location-do [40] 29.9% for-loop [34] 70.1% [40] 450(2.5%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [45] 70.1% location-do [40] 29.9% --------------------------------------------------------------------- atab-add-altn [35] 100.0% [41] 424(2.4%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [46] 52.4% for-loop [47] 47.6% --------------------------------------------------------------------- for-loop [37] 100.0% [42] 202(1.1%) 202(1.1%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 --------------------------------------------------------------------- loop [39] 13.0% loop [33] 87.0% [43] 6074(34.0%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [55] 62.5% map [48] 37.5% --------------------------------------------------------------------- loop [39] 100.0% [44] 2044(11.5%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [48] 100.0% --------------------------------------------------------------------- location-do [40] 100.0% [45] 450(2.5%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f94 [52] 55.1% loop [49] 44.9% --------------------------------------------------------------------- best-and-tied-at-points [41] 100.0% [46] 222(1.2%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [91] 100.0% --------------------------------------------------------------------- best-and-tied-at-points [41] 100.0% [47] 202(1.1%) 202(1.1%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 --------------------------------------------------------------------- f94 [52] 5.4% loop [44] 44.7% make-exacts* [43] 49.9% [48] 4572(25.6%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [55] 89.5% ??? [50] 5.4% ??? [56] 5.1% --------------------------------------------------------------------- approximate9 [45] 100.0% [49] 202(1.1%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [51] 100.0% --------------------------------------------------------------------- map [48] 100.0% [50] 248(1.4%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 f94 [52] 100.0% --------------------------------------------------------------------- ??? [10] 33.3% ??? [53] 33.3% loop [49] 33.3% [51] 202(1.1%) 202(1.1%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [53] 33.3% ??? [4] 33.3% --------------------------------------------------------------------- ??? [50] 50.0% approximate9 [45] 50.0% [52] 248(1.4%) 0(0.0%) f94 ...t/collects/racket/match/compiler.rkt:499:40 map [48] 50.0% taylor [54] 50.0% --------------------------------------------------------------------- hash-ref! [51] 100.0% [53] 202(1.1%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [51] 100.0% --------------------------------------------------------------------- f94 [52] 100.0% [54] 248(1.4%) 0(0.0%) taylor ...tatlock/herbie/src/core/taylor.rkt:157:0 loop [55] 100.0% --------------------------------------------------------------------- make-exacts* [43] 0.1% ??? [56] 0.1% map [48] 0.4% loop! [58] 0.5% extract-alt [14] 1.0% taylor [54] 2.4% infer-splitpoints4 [16] 15.1% loop [55] 80.4% [55] 10346(58.0%) 266(1.5%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [55] 80.4% option-on-expr [57] 15.1% simplify [60] 2.4% simplify [3] 1.0% loop! [58] 0.5% ??? [56] 0.5% real->bigfloat [62] 0.1% ->flonum [59] 0.0% ??? [85] 0.0% --------------------------------------------------------------------- map [48] 2.9% loop [55] 97.1% [56] 7874(44.1%) 746(4.2%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 real->bigfloat [62] 39.2% loop [55] 28.5% ??? [63] 19.5% ??? [85] 3.3% --------------------------------------------------------------------- loop [55] 25.7% infer-splitpoints4 [16] 74.3% [57] 6084(34.1%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [61] 90.3% pick-errors [64] 7.1% err-lsts->split-indices [70] 2.6% --------------------------------------------------------------------- apply-match [30] 10.7% loop [55] 21.4% for-loop [36] 67.9% [58] 624(3.5%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [65] 67.9% loop [55] 21.4% update-en-expr [69] 10.7% --------------------------------------------------------------------- loop [55] 100.0% [59] 480(2.7%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [66] 51.7% ??? [68] 48.3% --------------------------------------------------------------------- loop [55] 100.0% [60] 248(1.4%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug7 [67] 100.0% --------------------------------------------------------------------- option-on-expr [57] 100.0% [61] 5494(30.8%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [71] 100.0% --------------------------------------------------------------------- loop [55] 25.9% ??? [56] 74.1% [62] 4170(23.4%) 4170(23.4%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 --------------------------------------------------------------------- ??? [56] 100.0% [63] 1536(8.6%) 262(1.5%) ??? ...acket/collects/racket/private/kw.rkt:400:14 bf* [72] 68.5% ...higher-order.rkt:373:33 [75] 14.5% --------------------------------------------------------------------- option-on-expr [57] 100.0% [64] 434(2.4%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [73] 100.0% --------------------------------------------------------------------- loop! [58] 100.0% [65] 424(2.4%) 222(1.2%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [76] 47.6% --------------------------------------------------------------------- ->flonum [59] 100.0% [66] 248(1.4%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [90] 100.0% --------------------------------------------------------------------- simplify [60] 100.0% [67] 248(1.4%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 return/no-unsupplied [74] 100.0% --------------------------------------------------------------------- ->flonum [59] 100.0% [68] 232(1.3%) 232(1.3%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 --------------------------------------------------------------------- loop! [58] 100.0% [69] 200(1.1%) 200(1.1%) update-en-expr ...herbie/src/core/egraph.rkt:211:0 --------------------------------------------------------------------- option-on-expr [57] 100.0% [70] 156(0.9%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:224:0 add-splitpoint [77] 100.0% --------------------------------------------------------------------- sort-context-on-expr [61] 100.0% [71] 5494(30.8%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [78] 71.9% loop [83] 28.1% --------------------------------------------------------------------- ??? [63] 100.0% [72] 1052(5.9%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [79] 100.0% --------------------------------------------------------------------- pick-errors [64] 100.0% [73] 434(2.4%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [91] 100.0% --------------------------------------------------------------------- debug7 [67] 100.0% [74] 248(1.4%) 0(0.0%) return/no-unsupplied ...ct/private/arr-i.rkt:534:0 filter [80] 100.0% --------------------------------------------------------------------- ??? [63] 100.0% [75] 222(1.2%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [81] 100.0% --------------------------------------------------------------------- custom-set-union [65] 100.0% [76] 202(1.1%) 202(1.1%) for-loop ...cts/racket/private/set-types.rkt:174:3 --------------------------------------------------------------------- err-lsts->split-indices [70] 100.0% [77] 156(0.9%) 0(0.0%) add-splitpoint ...erbie/src/core/regimes.rkt:237:2 for-loop [82] 100.0% --------------------------------------------------------------------- sort [71] 38.1% copying-mergesort [78] 61.9% [78] 3952(22.2%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [78] 61.9% loop [83] 24.1% jloop [84] 14.1% --------------------------------------------------------------------- bf* [72] 100.0% [79] 1052(5.9%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [86] 100.0% --------------------------------------------------------------------- return/no-unsupplied [74] 100.0% [80] 248(1.4%) 248(1.4%) filter ...t/collects/racket/private/list.rkt:256:2 --------------------------------------------------------------------- ...higher-order.rkt:373:33 [75]100.0% [81] 222(1.2%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [85] 100.0% --------------------------------------------------------------------- add-splitpoint [77] 100.0% [82] 156(0.9%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:239:4 for-loop [87] 100.0% --------------------------------------------------------------------- sort [71] 47.1% copying-mergesort [78] 52.9% [83] 3272(18.3%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [88] 100.0% --------------------------------------------------------------------- copying-mergesort [78] 100.0% [84] 2222(12.5%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [88] 100.0% --------------------------------------------------------------------- ??? [81] 16.1% ??? [56] 19.0% loop [55] 64.9% [85] 1378(7.7%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [89] 100.0% --------------------------------------------------------------------- ??? [79] 100.0% [86] 1052(5.9%) 798(4.5%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [90] 24.1% --------------------------------------------------------------------- for-loop [82] 100.0% [87] 156(0.9%) 156(0.9%) for-loop ...lock/herbie/src/core/regimes.rkt:243:8 --------------------------------------------------------------------- jloop [84] 40.4% loop [83] 59.6% [88] 5494(30.8%) 644(3.6%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [91] 88.3% --------------------------------------------------------------------- ??? [85] 100.0% [89] 1378(7.7%) 484(2.7%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [92] 64.9% --------------------------------------------------------------------- ??? [66] 49.4% bfmul [86] 50.6% [90] 502(2.8%) 502(2.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 --------------------------------------------------------------------- errors [46] 4.0% for-loop [73] 7.9% ??? [88] 88.1% [91] 5506(30.9%) 5286(29.6%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 go [93] 4.0% --------------------------------------------------------------------- ??? [89] 100.0% [92] 894(5.0%) 894(5.0%) ??? ...llects/racket/contract/combinator.rkt:178:4 --------------------------------------------------------------------- eval-prog [91] 100.0% [93] 220(1.2%) 220(1.2%) go .../collects/racket/private/qq-and-or.rkt:50:20 ---------------------------------------------------------------------