Profiling results ----------------- Total cpu time observed: 11684ms (out of 12032ms) Number of samples taken: 49 (once every 238ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [5] 100.0% [1] 11684(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [3] 100.0% ---------------------------------------------------------------------- hash-ref! [56] 100.0% [2] 454(3.9%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:285:26 for-loop [4] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [3] 11684(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [5] 100.0% ---------------------------------------------------------------------- ??? [2] 100.0% [4] 454(3.9%) 0(0.0%) for-loop ...lock/herbie/src/core/taylor.rkt:285:52 ??? [6] 51.1% hash-ref! [56] 48.9% ---------------------------------------------------------------------- for-loop [30] 2.5% run [3] 48.8% [5] 11684(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.8% loop [7] 25.6% run-improve58 [8] 23.1% simplify [9] 2.5% ---------------------------------------------------------------------- for-loop [4] 100.0% [6] 232(2.0%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:288:19 hash-ref! [56] 100.0% ---------------------------------------------------------------------- ??? [5] 100.0% [7] 5986(51.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [11] 43.7% make-exacts* [17] 38.9% loop [18] 17.4% ---------------------------------------------------------------------- ??? [5] 100.0% [8] 5698(48.8%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 get-final-combination [10] 69.7% for-loop [12] 26.4% finalize-table! [15] 3.9% ---------------------------------------------------------------------- ??? [5] 100.0% [9] 866(7.4%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [13] 74.4% for-loop [14] 25.6% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [10] 3970(34.0%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [16] 100.0% ---------------------------------------------------------------------- loop [7] 100.0% [11] 2618(22.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [18] 55.7% make-exacts* [17] 44.3% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [12] 1506(12.9%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [19] 100.0% ---------------------------------------------------------------------- simplify [9] 100.0% [13] 644(5.5%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [20] 100.0% ---------------------------------------------------------------------- simplify [9] 100.0% [14] 222(1.9%) 0(0.0%) for-loop ...ock/herbie/src/core/simplify.rkt:61:12 iterate-egraph!5 [20] 100.0% ---------------------------------------------------------------------- run-improve58 [8] 100.0% [15] 222(1.9%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [21] 100.0% ---------------------------------------------------------------------- get-final-combination [10] 100.0% [16] 3970(34.0%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [22] 100.0% ---------------------------------------------------------------------- loop [11] 33.3% loop [7] 66.7% [17] 3486(29.8%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [69] 56.2% map [67] 43.8% ---------------------------------------------------------------------- loop [7] 41.7% loop [11] 58.3% [18] 2500(21.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [67] 100.0% ---------------------------------------------------------------------- for-loop [12] 100.0% [19] 1506(12.9%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [24] 57.5% gen-series! [25] 29.1% finalize-iter! [27] 13.4% ---------------------------------------------------------------------- for-loop [14] 25.6% simplify-expr [13] 74.4% [20] 866(7.4%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [23] 100.0% ---------------------------------------------------------------------- finalize-table! [15] 100.0% [21] 222(1.9%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [26] 100.0% ---------------------------------------------------------------------- split-table [16] 100.0% [22] 3970(34.0%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [28] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [20] 100.0% [23] 866(7.4%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [29] 100.0% ---------------------------------------------------------------------- run-iter! [19] 100.0% [24] 866(7.4%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [30] 100.0% ---------------------------------------------------------------------- run-iter! [19] 100.0% [25] 438(3.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [31] 100.0% ---------------------------------------------------------------------- post-process [21] 100.0% [26] 222(1.9%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [32] 100.0% ---------------------------------------------------------------------- run-iter! [19] 100.0% [27] 202(1.7%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [33] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [22] 100.0% [28] 3970(34.0%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [34] 94.0% pick-errors [37] 6.0% ---------------------------------------------------------------------- for-loop [29] 50.0% one-iter [23] 50.0% [29] 866(7.4%) 200(1.7%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [29] 50.0% match-e [35] 38.5% ---------------------------------------------------------------------- simplify! [24] 100.0% [30] 866(7.4%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [5] 100.0% ---------------------------------------------------------------------- gen-series! [25] 100.0% [31] 438(3.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [36] 100.0% ---------------------------------------------------------------------- for-loop [26] 100.0% [32] 222(1.9%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [36] 100.0% ---------------------------------------------------------------------- finalize-iter! [27] 100.0% [33] 202(1.7%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [38] 100.0% ---------------------------------------------------------------------- option-on-expr [28] 100.0% [34] 3730(31.9%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [39] 100.0% ---------------------------------------------------------------------- for-loop [29] 100.0% [35] 666(5.7%) 222(1.9%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 for-loop [42] 33.3% custom-in-set [43] 33.3% ---------------------------------------------------------------------- append-map [32] 33.6% for-loop [31] 66.4% [36] 660(5.6%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [40] 100.0% ---------------------------------------------------------------------- option-on-expr [28] 100.0% [37] 240(2.1%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [41] 100.0% ---------------------------------------------------------------------- ??? [33] 100.0% [38] 202(1.7%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [44] 100.0% ---------------------------------------------------------------------- sort-context-on-expr [34] 100.0% [39] 3730(31.9%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [45] 68.8% loop [48] 31.2% ---------------------------------------------------------------------- taylor-alt [36] 100.0% [40] 660(5.6%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [46] 100.0% ---------------------------------------------------------------------- pick-errors [37] 100.0% [41] 240(2.1%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [55] 100.0% ---------------------------------------------------------------------- match-e [35] 100.0% [42] 222(1.9%) 222(1.9%) for-loop ...tlock/herbie/src/core/ematch.rkt:59:11 ---------------------------------------------------------------------- match-e [35] 100.0% [43] 222(1.9%) 222(1.9%) custom-in-set ...acket/private/set-types.rkt:578:0 ---------------------------------------------------------------------- for-loop [38] 100.0% [44] 202(1.7%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [47] 100.0% ---------------------------------------------------------------------- copying-mergesort [45] 43.7% sort [39] 56.3% [45] 2566(22.0%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 loop [48] 47.5% copying-mergesort [45] 43.7% jloop [49] 8.8% ---------------------------------------------------------------------- location-do [46] 38.0% for-loop [40] 62.0% [46] 660(5.6%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [50] 62.0% location-do [46] 38.0% ---------------------------------------------------------------------- atab-add-altn [44] 100.0% [47] 202(1.7%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [51] 100.0% ---------------------------------------------------------------------- sort [39] 41.2% copying-mergesort [45] 58.8% [48] 2822(24.2%) 240(2.1%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [52] 91.5% ---------------------------------------------------------------------- copying-mergesort [45] 100.0% [49] 908(7.8%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [52] 100.0% ---------------------------------------------------------------------- location-do [46] 100.0% [50] 660(5.6%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [53] 68.8% taylor-sqrt [54] 31.2% ---------------------------------------------------------------------- best-and-tied-at-points [47] 100.0% [51] 202(1.7%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 eval-prog [55] 100.0% ---------------------------------------------------------------------- jloop [49] 26.0% loop [48] 74.0% [52] 3490(29.9%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [55] 93.6% ??? [71] 6.4% ---------------------------------------------------------------------- approximate9 [50] 100.0% [53] 454(3.9%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [56] 100.0% ---------------------------------------------------------------------- approximate9 [50] 100.0% [54] 206(1.8%) 0(0.0%) taylor-sqrt ...ck/herbie/src/core/taylor.rkt:346:0 simplify [57] 100.0% ---------------------------------------------------------------------- errors [51] 5.4% for-loop [41] 6.5% ??? [52] 88.1% [55] 3710(31.8%) 2806(24.0%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 ??? [60] 6.5% parse-app [73] 6.5% go [61] 6.0% inductor [62] 5.4% ---------------------------------------------------------------------- for-loop [4] 12.2% ??? [6] 12.8% ??? [59] 25.0% ??? [58] 25.0% loop [53] 25.0% [56] 454(3.9%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 ??? [58] 25.0% ??? [59] 25.0% ??? [2] 25.0% simplify [57] 25.0% ---------------------------------------------------------------------- taylor-sqrt [54] 31.2% hash-ref! [56] 68.8% [57] 660(5.6%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 f16 [64] 35.2% parse-loop50 [70] 33.6% debug7 [66] 31.2% ---------------------------------------------------------------------- hash-ref! [56] 100.0% [58] 454(3.9%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:63:15 hash-ref! [56] 100.0% ---------------------------------------------------------------------- hash-ref! [56] 100.0% [59] 454(3.9%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [56] 100.0% ---------------------------------------------------------------------- eval-prog [55] 100.0% [60] 240(2.1%) 0(0.0%) ??? ...collects/racket/private/qq-and-or.rkt:155:9 ??? [63] 100.0% ---------------------------------------------------------------------- eval-prog [55] 100.0% [61] 222(1.9%) 0(0.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [65] 100.0% ---------------------------------------------------------------------- eval-prog [55] 14.3% inductor [62] 85.7% [62] 202(1.7%) 202(1.7%) inductor .../ztatlock/herbie/src/programs.rkt:73:2 inductor [62] 85.7% ---------------------------------------------------------------------- ??? [60] 100.0% [63] 240(2.1%) 240(2.1%) ??? ...ollects/racket/private/qq-and-or.rkt:164:21 ---------------------------------------------------------------------- simplify [57] 33.3% map [67] 66.7% [64] 232(2.0%) 0(0.0%) f16 ...t/collects/racket/match/compiler.rkt:499:40 map [67] 100.0% ---------------------------------------------------------------------- go [61] 33.3% loop [65] 66.7% [65] 222(1.9%) 222(1.9%) loop ...llects/racket/private/qq-and-or.rkt:101:61 loop [65] 66.7% ---------------------------------------------------------------------- simplify [57] 100.0% [66] 206(1.8%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 return/no-unsupplied [68] 100.0% ---------------------------------------------------------------------- f16 [64] 5.4% make-exacts* [17] 35.8% loop [18] 58.7% [67] 4258(36.4%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [69] 94.6% f16 [64] 3.6% parse-loop50 [70] 1.8% ---------------------------------------------------------------------- debug7 [66] 100.0% [68] 206(1.8%) 206(1.8%) return/no-unsupplied ...ct/private/arr-i.rkt:534:0 ---------------------------------------------------------------------- map [67] 0.7% make-exacts* [17] 1.5% loop [69] 97.8% [69] 5986(51.2%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [69] 97.8% ??? [71] 2.2% ->flonum [72] 0.1% ---------------------------------------------------------------------- simplify [57] 48.9% map [67] 51.1% [70] 454(3.9%) 232(2.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 parse-app [73] 48.9% ---------------------------------------------------------------------- ??? [52] 3.9% loop [69] 96.1% [71] 5678(48.6%) 456(3.9%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 real->bigfloat [74] 48.5% ??? [75] 43.5% ---------------------------------------------------------------------- loop [69] 100.0% [72] 530(4.5%) 266(2.3%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [76] 49.8% ---------------------------------------------------------------------- parse-loop50 [70] 48.1% eval-prog [55] 51.9% [73] 462(4.0%) 462(4.0%) parse-app .../collects/racket/private/kw.rkt:903:2 ---------------------------------------------------------------------- ??? [71] 100.0% [74] 2754(23.6%) 2254(19.3%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [82] 18.2% ---------------------------------------------------------------------- ??? [71] 100.0% [75] 2468(21.1%) 222(1.9%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [77] 79.5% ...higher-order.rkt:373:33 [78] 11.5% ---------------------------------------------------------------------- ->flonum [72] 100.0% [76] 264(2.3%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [82] 100.0% ---------------------------------------------------------------------- ??? [75] 100.0% [77] 1962(16.8%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfsqr [79] 74.1% bfsub [80] 25.9% ---------------------------------------------------------------------- ??? [75] 100.0% [78] 284(2.4%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [81] 100.0% ---------------------------------------------------------------------- ??? [77] 100.0% [79] 1454(12.4%) 958(8.2%) bfsqr ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ??? [82] 34.1% ---------------------------------------------------------------------- ??? [77] 100.0% [80] 508(4.3%) 256(2.2%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [82] 49.6% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [78]100.0% [81] 284(2.4%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [83] 100.0% ---------------------------------------------------------------------- bfsub [80] 16.7% ??? [76] 17.5% bfsqr [79] 32.8% real->bigfloat [74] 33.1% [82] 1512(12.9%) 1512(12.9%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [81] 100.0% [83] 284(2.4%) 284(2.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ----------------------------------------------------------------------