Profiling results ----------------- Total cpu time observed: 78416ms (out of 79744ms) Number of samples taken: 330 (once every 238ms) (Hiding functions with self<1.0% and local<2.0%: 2 of 103 hidden) ======================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================== ??? [41] 100.0% [1] 77000(98.2%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [10] 100.0% ------------------------------------------------------------------------ ??? [41] 100.0% [2] 6730(8.6%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [12] 49.1% loop [11] 27.4% get-final-combination [13] 23.6% ------------------------------------------------------------------------ ??? [41] 100.0% [3] 1372(1.7%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [16] 58.5% for-loop [17] 27.3% iterate-egraph!5 [23] 14.3% ------------------------------------------------------------------------ hash-ref! [69] 100.0% [4] 1116(1.4%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [14] 100.0% ------------------------------------------------------------------------ hash-ref! [69] 100.0% [5] 1066(1.4%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [42] 100.0% ------------------------------------------------------------------------ hash-ref! [69] 100.0% [6] 936(1.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [15] 100.0% ------------------------------------------------------------------------ copying-mergesort [57] 100.0% [7] 606(0.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [64] 100.0% ------------------------------------------------------------------------ match-e [45] 100.0% [8] 196(0.2%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 for-loop [18] 100.0% ------------------------------------------------------------------------ hash-ref! [69] 100.0% [9] 194(0.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:322:33 for-loop [19] 100.0% ------------------------------------------------------------------------ profile-thunk14 [1] 100.0% [10] 77000(98.2%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [41] 100.0% ------------------------------------------------------------------------ run-improve58 [2] 2.5% ??? [41] 97.5% [11] 73528(93.8%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [20] 49.2% make-exacts* [25] 35.9% loop [26] 14.8% ------------------------------------------------------------------------ run-improve58 [2] 100.0% [12] 3302(4.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [21] 100.0% ------------------------------------------------------------------------ run-improve58 [2] 100.0% [13] 1586(2.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [22] 100.0% ------------------------------------------------------------------------ ??? [4] 100.0% [14] 1116(1.4%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [69] 100.0% ------------------------------------------------------------------------ ??? [6] 100.0% [15] 936(1.2%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 ??? [24] 71.7% hash-ref! [69] 28.3% ------------------------------------------------------------------------ simplify [3] 100.0% [16] 802(1.0%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [23] 100.0% ------------------------------------------------------------------------ simplify [3] 100.0% [17] 374(0.5%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [23] 100.0% ------------------------------------------------------------------------ for-loop [8] 100.0% [18] 196(0.2%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [45] 100.0% ------------------------------------------------------------------------ ??? [9] 100.0% [19] 194(0.2%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:324:46 simplify [75] 100.0% ------------------------------------------------------------------------ loop [11] 100.0% [20] 36200(46.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [26] 56.2% make-exacts* [25] 41.4% eval-prog [67] 2.4% ------------------------------------------------------------------------ for-loop [12] 100.0% [21] 3302(4.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [28] 41.6% gen-series! [30] 33.8% finalize-iter! [31] 18.4% choose-best-alt! [32] 6.2% ------------------------------------------------------------------------ get-final-combination [13] 100.0% [22] 1586(2.0%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [27] 100.0% ------------------------------------------------------------------------ simplify [3] 14.3% for-loop [17] 27.3% simplify-expr [16] 58.5% [23] 1372(1.7%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [29] 87.0% map-enodes [33] 13.0% ------------------------------------------------------------------------ for-loop [15] 100.0% [24] 936(1.2%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [69] 100.0% ------------------------------------------------------------------------ loop [20] 36.2% loop [11] 63.8% [25] 41398(52.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [34] 51.3% loop [42] 47.7% eval-prog [67] 1.0% ------------------------------------------------------------------------ loop [11] 34.9% loop [20] 65.1% [26] 31258(39.9%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [34] 100.0% ------------------------------------------------------------------------ split-table [22] 100.0% [27] 1586(2.0%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [35] 100.0% ------------------------------------------------------------------------ run-iter! [21] 100.0% [28] 1372(1.7%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [36] 100.0% ------------------------------------------------------------------------ iterate-egraph!5 [23] 100.0% [29] 1194(1.5%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [37] 100.0% ------------------------------------------------------------------------ run-iter! [21] 100.0% [30] 1116(1.4%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [38] 100.0% ------------------------------------------------------------------------ run-iter! [21] 100.0% [31] 608(0.8%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [39] 100.0% ------------------------------------------------------------------------ run-iter! [21] 100.0% [32] 206(0.3%) 0(0.0%) choose-best-alt! .../herbie/src/mainloop.rkt:120:0 ??? [39] 100.0% ------------------------------------------------------------------------ iterate-egraph!5 [23] 100.0% [33] 178(0.2%) 0(0.0%) map-enodes ...ock/herbie/src/core/egraph.rkt:139:0 for-loop [40] 100.0% ------------------------------------------------------------------------ make-exacts* [25] 40.5% loop [26] 59.5% [34] 52498(66.9%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [42] 97.5% ??? [72] 2.5% ------------------------------------------------------------------------ infer-splitpoints4 [27] 100.0% [35] 1586(2.0%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [43] 75.7% loop [42] 12.5% pick-errors [49] 11.9% ------------------------------------------------------------------------ simplify! [28] 100.0% [36] 1372(1.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [41] 100.0% ------------------------------------------------------------------------ for-loop [37] 50.0% one-iter [29] 50.0% [37] 1194(1.5%) 624(0.8%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [37] 50.0% match-e [45] 23.9% ------------------------------------------------------------------------ gen-series! [30] 100.0% [38] 1116(1.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [44] 100.0% ------------------------------------------------------------------------ choose-best-alt! [32] 25.3% finalize-iter! [31] 74.7% [39] 814(1.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [46] 48.9% atab-add-altns [47] 25.8% atab-pick-alt8 [48] 25.3% ------------------------------------------------------------------------ map-enodes [33] 100.0% [40] 178(0.2%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:161:2 setfindf [50] 100.0% ------------------------------------------------------------------------ for-loop [36] 0.6% run [10] 48.8% [41] 78416(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.8% loop [11] 46.5% run-improve58 [2] 4.1% simplify [3] 0.6% ------------------------------------------------------------------------ option-on-expr [35] 0.1% make-exacts* [25] 0.4% parse-loop50 [80] 0.8% ??? [5] 1.5% map [34] 2.4% loop [42] 94.8% [42] 72928(93.0%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [42] 94.8% ??? [72] 2.7% hash-ref! [69] 1.5% parse-loop50 [80] 0.8% ->flonum [73] 0.1% errors [68] 0.1% ------------------------------------------------------------------------ option-on-expr [35] 100.0% [43] 1200(1.5%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [51] 100.0% ------------------------------------------------------------------------ for-loop [38] 100.0% [44] 1116(1.4%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [52] 100.0% ------------------------------------------------------------------------ for-loop [18] 17.2% for-loop [37] 82.8% [45] 570(0.7%) 570(0.7%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [8] 17.2% ------------------------------------------------------------------------ ??? [39] 100.0% [46] 398(0.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [53] 100.0% ------------------------------------------------------------------------ ??? [39] 100.0% [47] 210(0.3%) 0(0.0%) atab-add-altns ...rbie/src/core/alt-table.rkt:50:0 atab-add-altn [53] 100.0% ------------------------------------------------------------------------ ??? [39] 100.0% [48] 206(0.3%) 0(0.0%) atab-pick-alt8 ...rbie/src/core/alt-table.rkt:54:0 ??? [54] 100.0% ------------------------------------------------------------------------ option-on-expr [35] 100.0% [49] 188(0.2%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [55] 100.0% ------------------------------------------------------------------------ for-loop [40] 100.0% [50] 178(0.2%) 178(0.2%) setfindf ...e/ztatlock/herbie/src/common.rkt:173:0 ------------------------------------------------------------------------ sort-context-on-expr [43] 100.0% [51] 1200(1.5%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [57] 66.0% loop [61] 34.0% ------------------------------------------------------------------------ taylor-alt [44] 100.0% [52] 1116(1.4%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [56] 100.0% ------------------------------------------------------------------------ atab-add-altns [47] 34.5% for-loop [46] 65.5% [53] 608(0.8%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [58] 100.0% ------------------------------------------------------------------------ atab-pick-alt8 [48] 100.0% [54] 206(0.3%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:369:33 best-alt [59] 100.0% ------------------------------------------------------------------------ pick-errors [49] 100.0% [55] 188(0.2%) 188(0.2%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 ------------------------------------------------------------------------ location-do [56] 28.9% for-loop [52] 71.1% [56] 1116(1.4%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [60] 71.1% location-do [56] 28.9% ------------------------------------------------------------------------ sort [51] 42.6% copying-mergesort [57] 57.4% [57] 792(1.0%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [57] 57.4% loop [61] 23.5% jloop [7] 19.1% ------------------------------------------------------------------------ atab-add-altn [53] 100.0% [58] 608(0.8%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [68] 67.8% for-loop [63] 32.2% ------------------------------------------------------------------------ ??? [54] 100.0% [59] 206(0.3%) 0(0.0%) best-alt /home/ztatlock/herbie/src/glue.rkt:79:0 loop [62] 100.0% ------------------------------------------------------------------------ location-do [56] 100.0% [60] 1116(1.4%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [65] 100.0% ------------------------------------------------------------------------ copying-mergesort [57] 31.3% sort [51] 68.7% [61] 594(0.8%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [64] 100.0% ------------------------------------------------------------------------ best-alt [59] 100.0% [62] 206(0.3%) 0(0.0%) loop /home/ztatlock/herbie/src/common.rkt:86:2 composed [66] 100.0% ------------------------------------------------------------------------ best-and-tied-at-points [58] 100.0% [63] 196(0.2%) 196(0.2%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ------------------------------------------------------------------------ loop [61] 49.5% jloop [7] 50.5% [64] 1200(1.5%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [67] 100.0% ------------------------------------------------------------------------ approximate9 [60] 100.0% [65] 1116(1.4%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [69] 100.0% ------------------------------------------------------------------------ loop [62] 100.0% [66] 206(0.3%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [68] 100.0% ------------------------------------------------------------------------ make-exacts* [25] 16.2% loop [20] 35.2% ??? [64] 48.5% [67] 2474(3.2%) 990(1.3%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [69] 51.5% go [71] 8.5% ------------------------------------------------------------------------ loop [42] 24.3% composed [66] 25.2% best-and-tied-at-points [58] 50.5% [68] 816(1.0%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [70] 100.0% ------------------------------------------------------------------------ for-loop [15] 4.4% ??? [24] 8.7% for-loop [14] 11.2% ??? [76] 11.2% loop [65] 11.2% eval-prog [67] 25.6% loop [42] 27.7% [69] 2390(3.0%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [5] 27.7% bigfloat-hash [74] 25.6% ??? [6] 13.1% ??? [76] 11.2% ??? [4] 11.2% simplify [75] 9.2% ??? [9] 2.0% ------------------------------------------------------------------------ errors [68] 100.0% [70] 816(1.0%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [72] 50.0% ??? [77] 25.7% ->flonum [73] 24.3% ------------------------------------------------------------------------ eval-prog [67] 100.0% [71] 210(0.3%) 210(0.3%) go .../collects/racket/private/qq-and-or.rkt:50:20 ------------------------------------------------------------------------ for-loop [70] 0.6% map [34] 1.8% loop [42] 97.6% [72] 70300(89.7%) 1296(1.7%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [78] 89.4% real->bigfloat [79] 6.8% ??? [97] 1.5% ------------------------------------------------------------------------ for-loop [70] 7.7% loop [42] 92.3% [73] 2560(3.3%) 198(0.3%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [98] 44.8% ??? [81] 29.1% ??? [84] 18.4% ------------------------------------------------------------------------ hash-ref! [69] 100.0% [74] 1274(1.6%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [82] 50.2% bfcanonicalize [83] 49.8% ------------------------------------------------------------------------ for-loop [19] 17.4% hash-ref! [69] 82.6% [75] 1116(1.4%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 parse-loop50 [80] 82.6% f37 [85] 17.4% ------------------------------------------------------------------------ hash-ref! [69] 100.0% [76] 1116(1.4%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [69] 100.0% ------------------------------------------------------------------------ for-loop [70] 100.0% [77] 210(0.3%) 210(0.3%) ??? ...ket/collects/racket/private/for.rkt:1150:14 ------------------------------------------------------------------------ ??? [72] 100.0% [78] 62832(80.1%) 2336(3.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [93] 71.9% bffma [86] 10.2% ...higher-order.rkt:373:33 [87] 5.6% bf* [91] 4.6% ...higher-order.rkt:369:33 [88] 1.7% ...ow-val-first.rkt:357:18 [92] 1.4% bf> [89] 0.7% ------------------------------------------------------------------------ ??? [72] 100.0% [79] 4752(6.1%) 3588(4.6%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [99] 24.5% ------------------------------------------------------------------------ loop [42] 22.5% simplify [75] 27.5% parse-loop50 [80] 50.0% [80] 922(1.2%) 746(1.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-loop50 [80] 50.0% loop [42] 22.5% select-handler/no-breaks [90] 4.8% ------------------------------------------------------------------------ ->flonum [73] 100.0% [81] 744(0.9%) 744(0.9%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ------------------------------------------------------------------------ bigfloat-hash [74] 100.0% [82] 640(0.8%) 640(0.8%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ------------------------------------------------------------------------ bigfloat-hash [74] 100.0% [83] 634(0.8%) 634(0.8%) bfcanonicalize .../private/bigfloat/mpfr.rkt:155:0 ------------------------------------------------------------------------ ->flonum [73] 100.0% [84] 472(0.6%) 236(0.3%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [99] 50.0% ------------------------------------------------------------------------ simplify [75] 100.0% [85] 194(0.2%) 194(0.2%) f37 ...t/collects/racket/match/compiler.rkt:499:40 ------------------------------------------------------------------------ ??? [78] 100.0% [86] 6390(8.1%) 0(0.0%) bffma ...atlock/herbie/src/syntax/syntax.rkt:122:0 bf* [91] 77.5% ...ow-val-first.rkt:357:18 [92] 22.5% ------------------------------------------------------------------------ ??? [78] 100.0% [87] 3544(4.5%) 470(0.6%) ...higher-order.rkt:373:33 (unknown source) ??? [94] 86.7% ------------------------------------------------------------------------ ??? [78] 100.0% [88] 1088(1.4%) 220(0.3%) ...higher-order.rkt:369:33 (unknown source) ??? [97] 58.1% ??? [94] 21.7% ------------------------------------------------------------------------ ??? [78] 100.0% [89] 446(0.6%) 0(0.0%) bf> ...th/private/bigfloat/bigfloat-mpfr.rkt:127:4 ??? [98] 100.0% ------------------------------------------------------------------------ parse-loop50 [80] 100.0% [90] 176(0.2%) 176(0.2%) select-handler/no-breaks .../more-scheme.rkt:163:2 ------------------------------------------------------------------------ ??? [78] 37.1% bffma [86] 62.9% [91] 7868(10.0%) 222(0.3%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [93] 97.2% ------------------------------------------------------------------------ ??? [78] 38.7% bffma [86] 61.3% [92] 2346(3.0%) 208(0.3%) ...ow-val-first.rkt:357:18 (unknown source) ??? [94] 91.1% ------------------------------------------------------------------------ bf* [91] 14.5% ??? [78] 85.5% [93] 52850(67.4%) 24940(31.8%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfmul [95] 23.1% bfexpm1 [96] 17.4% ??? [98] 12.2% ------------------------------------------------------------------------ ...higher-order.rkt:369:33 [88] 4.3% ...ow-val-first.rkt:357:18 [92] 39.2% ...higher-order.rkt:373:33 [87] 56.4% [94] 5448(6.9%) 212(0.3%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [97] 96.1% ------------------------------------------------------------------------ ??? [93] 100.0% [95] 12228(15.6%) 8626(11.0%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [99] 29.5% ------------------------------------------------------------------------ ??? [93] 100.0% [96] 9214(11.8%) 6524(8.3%) bfexpm1 ...ib/math/private/bigfloat/mpfr.rkt:616:4 ??? [99] 29.2% ------------------------------------------------------------------------ ...higher-order.rkt:369:33 [88] 9.1% ??? [72] 15.1% ??? [94] 75.8% [97] 6912(8.8%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [98] 100.0% ------------------------------------------------------------------------ bf> [89] 3.0% ->flonum [73] 7.7% ??? [93] 43.2% ??? [97] 46.2% [98] 14972(19.1%) 6534(8.3%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [100] 56.4% ------------------------------------------------------------------------ ??? [84] 3.1% real->bigfloat [79] 15.1% bfexpm1 [96] 35.0% bfmul [95] 46.8% [99] 7692(9.8%) 7692(9.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------------ ??? [98] 100.0% [100] 8438(10.8%) 4008(5.1%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [101] 52.5% ------------------------------------------------------------------------ ??? [100] 100.0% [101] 4430(5.6%) 4430(5.6%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ------------------------------------------------------------------------