Profiling results ----------------- Total cpu time observed: 34264ms (out of 34800ms) Number of samples taken: 145 (once every 236ms) (Hiding functions with self<1.0% and local<2.0%: 1 of 91 hidden) ======================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================== ??? [32] 100.0% [1] 33502(97.8%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [6] 100.0% ------------------------------------------------------------------------ ??? [32] 100.0% [2] 8208(24.0%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [7] 79.8% get-final-combination [9] 14.3% loop [37] 5.8% ------------------------------------------------------------------------ loop [70] 19.8% ??? [32] 80.2% [3] 4830(14.1%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [8] 57.6% iterate-egraph!5 [15] 21.2% for-loop [10] 16.6% loop [13] 4.6% ------------------------------------------------------------------------ hash-ref! [58] 100.0% [4] 600(1.8%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:295:23 for-loop [11] 100.0% ------------------------------------------------------------------------ hash-ref! [58] 100.0% [5] 600(1.8%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [12] 100.0% ------------------------------------------------------------------------ profile-thunk14 [1] 98.9% [6] 33858(98.8%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [32] 100.0% ------------------------------------------------------------------------ run-improve58 [2] 100.0% [7] 6554(19.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [14] 100.0% ------------------------------------------------------------------------ simplify [3] 100.0% [8] 2780(8.1%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [15] 100.0% ------------------------------------------------------------------------ run-improve58 [2] 100.0% [9] 1174(3.4%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 extract-alt [16] 100.0% ------------------------------------------------------------------------ simplify [3] 100.0% [10] 804(2.3%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [15] 100.0% ------------------------------------------------------------------------ ??? [4] 100.0% [11] 600(1.8%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:298:27 hash-ref! [58] 100.0% ------------------------------------------------------------------------ ??? [5] 100.0% [12] 600(1.8%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 hash-ref! [58] 83.3% ??? [18] 16.7% ------------------------------------------------------------------------ simplify [3] 100.0% [13] 222(0.6%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [17] 100.0% ------------------------------------------------------------------------ for-loop [7] 100.0% [14] 6554(19.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [20] 59.1% gen-series! [21] 18.3% finalize-iter! [22] 15.8% localize-error [23] 6.8% ------------------------------------------------------------------------ for-loop [10] 17.4% simplify [3] 22.2% simplify-expr [8] 60.3% [15] 4608(13.4%) 356(1.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [19] 92.3% ------------------------------------------------------------------------ get-final-combination [9] 100.0% [16] 1174(3.4%) 0(0.0%) extract-alt ...e/ztatlock/herbie/src/glue.rkt:57:0 loop [70] 81.4% argmins [25] 18.6% ------------------------------------------------------------------------ loop [13] 100.0% [17] 222(0.6%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 hash-set*+ [24] 100.0% ------------------------------------------------------------------------ for-loop [12] 100.0% [18] 200(0.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [58] 100.0% ------------------------------------------------------------------------ iterate-egraph!5 [15] 100.0% [19] 4252(12.4%) 202(0.6%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [27] 66.9% loop [30] 18.9% apply-match [34] 9.4% ------------------------------------------------------------------------ run-iter! [14] 100.0% [20] 3874(11.3%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [26] 100.0% ------------------------------------------------------------------------ run-iter! [14] 100.0% [21] 1200(3.5%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [28] 100.0% ------------------------------------------------------------------------ run-iter! [14] 100.0% [22] 1036(3.0%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [29] 100.0% ------------------------------------------------------------------------ run-iter! [14] 100.0% [23] 444(1.3%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [58] 100.0% ------------------------------------------------------------------------ pass [17] 100.0% [24] 222(0.6%) 222(0.6%) hash-set*+ ...k/herbie/src/core/simplify.rkt:175:0 ------------------------------------------------------------------------ extract-alt [16] 100.0% [25] 218(0.6%) 0(0.0%) argmins /home/ztatlock/herbie/src/common.rkt:85:0 composed [31] 100.0% ------------------------------------------------------------------------ simplify! [20] 100.0% [26] 3874(11.3%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [32] 100.0% ------------------------------------------------------------------------ for-loop [27] 50.0% one-iter [19] 50.0% [27] 2846(8.3%) 1622(4.7%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [27] 50.0% match-e [33] 21.5% ------------------------------------------------------------------------ gen-series! [21] 100.0% [28] 1200(3.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [35] 100.0% ------------------------------------------------------------------------ finalize-iter! [22] 100.0% [29] 1036(3.0%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [36] 100.0% ------------------------------------------------------------------------ one-iter [19] 100.0% [30] 804(2.3%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:53:19 apply-match [34] 100.0% ------------------------------------------------------------------------ argmins [25] 100.0% [31] 218(0.6%) 0(0.0%) composed ...ollects/racket/private/list.rkt:321:16 errors [51] 100.0% ------------------------------------------------------------------------ for-loop [26] 3.8% run [6] 48.0% [32] 34264(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 47.0% loop [37] 38.6% run-improve58 [2] 10.6% simplify [3] 3.8% ------------------------------------------------------------------------ for-loop [43] 8.3% for-loop [27] 91.7% [33] 1224(3.6%) 1224(3.6%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [43] 8.3% ------------------------------------------------------------------------ one-iter [19] 33.2% loop [30] 66.8% [34] 1204(3.5%) 400(1.2%) apply-match .../herbie/src/core/simplify.rkt:122:2 loop! [40] 33.2% substitute-e [41] 16.8% reduce-to-single! [42] 16.8% ------------------------------------------------------------------------ for-loop [28] 100.0% [35] 1200(3.5%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [38] 100.0% ------------------------------------------------------------------------ ??? [29] 100.0% [36] 1036(3.0%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [39] 100.0% ------------------------------------------------------------------------ run-improve58 [2] 1.8% ??? [32] 98.2% [37] 26536(77.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 make-exacts* [49] 53.7% loop [44] 45.4% loop [50] 0.9% ------------------------------------------------------------------------ taylor-alt [35] 100.0% [38] 1200(3.5%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [45] 100.0% ------------------------------------------------------------------------ for-loop [36] 100.0% [39] 1036(3.0%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [46] 76.6% override-at-pnts [48] 23.4% ------------------------------------------------------------------------ apply-match [34] 100.0% [40] 400(1.2%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [47] 100.0% ------------------------------------------------------------------------ apply-match [34] 100.0% [41] 202(0.6%) 202(0.6%) substitute-e ...ck/herbie/src/core/ematch.rkt:71:0 ------------------------------------------------------------------------ apply-match [34] 100.0% [42] 202(0.6%) 202(0.6%) reduce-to-single! ...bie/src/core/egraph.rkt:324:0 ------------------------------------------------------------------------ match-e [33] 100.0% [43] 202(0.6%) 0(0.0%) for-loop ...tlock/herbie/src/core/ematch.rkt:65:37 match-e [33] 100.0% ------------------------------------------------------------------------ loop [37] 100.0% [44] 12042(35.1%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [50] 64.5% make-exacts* [49] 35.5% ------------------------------------------------------------------------ for-loop [38] 48.7% location-do [45] 51.3% [45] 1200(3.5%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [45] 51.3% approximate9 [52] 48.7% ------------------------------------------------------------------------ atab-add-altn [39] 100.0% [46] 794(2.3%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [51] 100.0% ------------------------------------------------------------------------ loop! [40] 100.0% [47] 400(1.2%) 0(0.0%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [54] 50.0% for-loop [53] 50.0% ------------------------------------------------------------------------ atab-add-altn [39] 100.0% [48] 242(0.7%) 0(0.0%) override-at-pnts ...e/src/core/alt-table.rkt:145:0 errors [51] 100.0% ------------------------------------------------------------------------ loop [44] 23.1% loop [37] 76.9% [49] 18528(54.1%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [67] 56.5% loop [70] 43.5% ------------------------------------------------------------------------ loop [37] 3.0% loop [44] 97.0% [50] 8008(23.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [67] 97.1% loop [70] 2.9% ------------------------------------------------------------------------ composed [31] 17.4% override-at-pnts [48] 19.3% best-and-tied-at-points [46] 63.3% [51] 1254(3.7%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [55] 100.0% ------------------------------------------------------------------------ location-do [45] 100.0% [52] 1200(3.5%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [56] 66.8% f6 [66] 33.2% ------------------------------------------------------------------------ custom-set-union [47] 100.0% [53] 200(0.6%) 200(0.6%) for-loop ...cts/racket/private/set-types.rkt:152:2 ------------------------------------------------------------------------ custom-set-union [47] 100.0% [54] 200(0.6%) 0(0.0%) for-loop ...cts/racket/private/set-types.rkt:174:3 for-loop [57] 100.0% ------------------------------------------------------------------------ errors [51] 100.0% [55] 1254(3.7%) 1036(3.0%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [59] 17.4% ------------------------------------------------------------------------ approximate9 [52] 100.0% [56] 802(2.3%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [58] 100.0% ------------------------------------------------------------------------ for-loop [54] 100.0% [57] 200(0.6%) 200(0.6%) for-loop ...cts/racket/private/set-types.rkt:178:5 ------------------------------------------------------------------------ ??? [18] 2.0% ??? [65] 2.7% ??? [62] 4.3% localize-error [23] 6.9% for-loop [12] 7.1% for-loop [11] 11.4% loop [69] 13.7% ??? [61] 14.0% loop [56] 14.0% ??? [74] 23.8% [58] 1444(4.2%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 simplify [60] 27.8% parse-loop12 [68] 19.9% ??? [61] 14.0% ??? [4] 11.4% ??? [5] 9.0% f6 [66] 6.9% ??? [62] 4.3% ??? [63] 3.9% ??? [65] 2.7% ------------------------------------------------------------------------ eval-prog [55] 100.0% [59] 218(0.6%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [64] 100.0% ------------------------------------------------------------------------ map [67] 16.7% hash-ref! [58] 83.3% [60] 1200(3.5%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f6 [66] 50.2% parse-loop12 [68] 49.8% ------------------------------------------------------------------------ hash-ref! [58] 100.0% [61] 802(2.3%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [58] 100.0% ------------------------------------------------------------------------ hash-ref! [58] 100.0% [62] 402(1.2%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [58] 100.0% ------------------------------------------------------------------------ hash-ref! [58] 100.0% [63] 224(0.7%) 0(0.0%) ??? ...ztatlock/herbie/src/core/localize.rkt:22:13 loop [70] 100.0% ------------------------------------------------------------------------ ??? [59] 100.0% [64] 218(0.6%) 218(0.6%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ------------------------------------------------------------------------ hash-ref! [58] 100.0% [65] 198(0.6%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 hash-ref! [58] 100.0% ------------------------------------------------------------------------ simplify-node [72] 3.2% f6 [66] 8.0% map [67] 12.4% approximate9 [52] 18.6% simplify [60] 22.0% hash-ref! [58] 35.7% [66] 1244(3.6%) 200(0.6%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [67] 56.7% loop [69] 15.9% f6 [66] 8.0% parse-loop12 [68] 3.2% ------------------------------------------------------------------------ f6 [66] 4.4% loop [50] 40.7% make-exacts* [49] 54.8% [67] 19084(55.7%) 200(0.6%) map ...acket/collects/racket/private/map.rkt:21:13 loop [70] 96.7% ??? [74] 1.2% f6 [66] 1.1% simplify [60] 0.3% simplify-node [72] 0.3% ------------------------------------------------------------------------ parse-loop12 [68] 8.1% f6 [66] 16.2% hash-ref! [58] 35.7% simplify [60] 40.0% [68] 1244(3.6%) 598(1.7%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [70] 35.7% parse-loop12 [68] 8.1% make-multiplication-node [71] 8.1% ------------------------------------------------------------------------ f6 [66] 100.0% [69] 198(0.6%) 0(0.0%) loop .../ztatlock/herbie/src/core/taylor.rkt:262:2 hash-ref! [58] 100.0% ------------------------------------------------------------------------ ??? [63] 0.0% make-exacts* [49] 0.1% loop [50] 0.1% parse-loop12 [68] 0.4% map [67] 1.0% extract-alt [16] 2.3% loop [70] 96.0% [70] 27936(81.5%) 226(0.7%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [70] 96.0% simplify [3] 2.3% ??? [73] 1.2% ??? [74] 0.4% ??? [82] 0.1% real->bigfloat [78] 0.0% ->flonum [75] 0.0% ------------------------------------------------------------------------ parse-loop12 [68] 100.0% [71] 202(0.6%) 0(0.0%) make-multiplication-node .../core/reduce.rkt:221:0 make-multiplication-subnode [76]100.0% ------------------------------------------------------------------------ map [67] 100.0% [72] 202(0.6%) 0(0.0%) simplify-node ...k/herbie/src/core/reduce.rkt:41:0 f6 [66] 100.0% ------------------------------------------------------------------------ loop [70] 100.0% [73] 26070(76.1%) 242(0.7%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [77] 89.1% real->bigfloat [78] 8.3% ??? [86] 0.9% ------------------------------------------------------------------------ map [67] 16.8% loop [70] 83.2% [74] 444(1.3%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [58] 100.0% ------------------------------------------------------------------------ loop [70] 100.0% [75] 240(0.7%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [87] 100.0% ------------------------------------------------------------------------ make-multiplication-node [71] 100.0% [76] 202(0.6%) 0(0.0%) make-multiplication-subnode ...re/reduce.rkt:231:0 group-by68 [79] 100.0% ------------------------------------------------------------------------ ??? [73] 100.0% [77] 23216(67.8%) 726(2.1%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [82] 83.1% bf* [80] 7.8% ...higher-order.rkt:373:33 [81] 6.0% ------------------------------------------------------------------------ loop [70] 9.4% ??? [73] 90.6% [78] 2376(6.9%) 2156(6.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [88] 9.3% ------------------------------------------------------------------------ make-multiplication-subnode [76]100.0% [79] 202(0.6%) 202(0.6%) group-by68 ...acket/collects/racket/list.rkt:749:0 ------------------------------------------------------------------------ ??? [77] 100.0% [80] 1814(5.3%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [82] 100.0% ------------------------------------------------------------------------ ??? [77] 100.0% [81] 1386(4.0%) 240(0.7%) ...higher-order.rkt:373:33 (unknown source) ??? [83] 82.7% ------------------------------------------------------------------------ loop [70] 1.0% bf* [80] 8.5% ??? [77] 90.5% [82] 21324(62.2%) 14052(41.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfdiv [84] 18.9% ??? [87] 8.5% bfcos [85] 6.7% ------------------------------------------------------------------------ ...higher-order.rkt:373:33 [81] 100.0% [83] 1146(3.3%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [86] 100.0% ------------------------------------------------------------------------ ??? [82] 100.0% [84] 4030(11.8%) 3092(9.0%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [88] 23.3% ------------------------------------------------------------------------ ??? [82] 100.0% [85] 1438(4.2%) 962(2.8%) bfcos ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [88] 33.1% ------------------------------------------------------------------------ ??? [73] 17.3% ??? [83] 82.7% [86] 1386(4.0%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [87] 100.0% ------------------------------------------------------------------------ ->flonum [75] 7.0% ??? [86] 40.4% ??? [82] 52.6% [87] 3430(10.0%) 1848(5.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [89] 46.1% ------------------------------------------------------------------------ real->bigfloat [78] 13.5% bfcos [85] 29.1% bfdiv [84] 57.4% [88] 1634(4.8%) 1634(4.8%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ------------------------------------------------------------------------ ??? [87] 100.0% [89] 1582(4.6%) 704(2.1%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [90] 55.5% ------------------------------------------------------------------------ ??? [89] 100.0% [90] 878(2.6%) 878(2.6%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ------------------------------------------------------------------------