Profiling results ----------------- Total cpu time observed: 12198ms (out of 12596ms) Number of samples taken: 50 (once every 244ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [22] 100.0% [1] 11736(96.2%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [7] 100.0% ---------------------------------------------------------------------- ??? [22] 100.0% [2] 3344(27.4%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [8] 55.1% get-final-combination [9] 44.9% ---------------------------------------------------------------------- copying-mergesort [34] 100.0% [3] 660(5.4%) 0(0.0%) jloop ...et/collects/racket/private/sort.rkt:85:19 ??? [47] 100.0% ---------------------------------------------------------------------- hash-ref! [55] 100.0% [4] 258(2.1%) 0(0.0%) ??? /home/ztatlock/herbie/src/programs.rkt:197:5 loop [62] 100.0% ---------------------------------------------------------------------- map [46] 33.3% loop [62] 66.7% [5] 216(1.8%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [55] 66.7% map [46] 33.3% ---------------------------------------------------------------------- location-do [38] 100.0% [6] 202(1.7%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 f6 [10] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 98.0% [7] 11976(98.2%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [22] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [8] 1844(15.1%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [11] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [9] 1500(12.3%) 0(0.0%) get-final-combination ...ie/src/mainloop.rkt:269:0 split-table [12] 100.0% ---------------------------------------------------------------------- approximate9 [6] 48.3% hash-ref! [55] 51.7% [10] 418(3.4%) 0(0.0%) f6 ...et/collects/racket/match/compiler.rkt:499:40 map [46] 51.7% loop [62] 48.3% ---------------------------------------------------------------------- for-loop [8] 100.0% [11] 1844(15.1%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [14] 54.6% finalize-iter! [15] 22.8% localize-error [16] 11.7% gen-series! [17] 11.0% ---------------------------------------------------------------------- get-final-combination [9] 100.0% [12] 1500(12.3%) 0(0.0%) split-table .../ztatlock/herbie/src/glue.rkt:171:0 infer-splitpoints4 [13] 100.0% ---------------------------------------------------------------------- split-table [12] 100.0% [13] 1500(12.3%) 0(0.0%) infer-splitpoints4 ...ie/src/core/regimes.rkt:19:0 option-on-expr [18] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [14] 1006(8.2%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [19] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [15] 420(3.4%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [20] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [16] 216(1.8%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [55] 100.0% ---------------------------------------------------------------------- run-iter! [11] 100.0% [17] 202(1.7%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [21] 100.0% ---------------------------------------------------------------------- infer-splitpoints4 [13] 100.0% [18] 1500(12.3%) 0(0.0%) option-on-expr ...erbie/src/core/regimes.rkt:106:0 sort-context-on-expr [23] 86.7% pick-errors [26] 13.3% ---------------------------------------------------------------------- simplify! [14] 100.0% [19] 1006(8.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [22] 100.0% ---------------------------------------------------------------------- finalize-iter! [15] 100.0% [20] 420(3.4%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [24] 100.0% ---------------------------------------------------------------------- gen-series! [17] 100.0% [21] 202(1.7%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [25] 100.0% ---------------------------------------------------------------------- for-loop [19] 2.7% run [7] 48.7% [22] 12198(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 46.7% loop [27] 38.2% run-improve58 [2] 12.3% simplify [29] 2.7% ---------------------------------------------------------------------- option-on-expr [18] 100.0% [23] 1300(10.7%) 0(0.0%) sort-context-on-expr ...herbie/src/points.rkt:50:0 sort [28] 100.0% ---------------------------------------------------------------------- ??? [20] 100.0% [24] 420(3.4%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [30] 100.0% ---------------------------------------------------------------------- for-loop [21] 100.0% [25] 202(1.7%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [31] 100.0% ---------------------------------------------------------------------- option-on-expr [18] 100.0% [26] 200(1.6%) 0(0.0%) pick-errors ...k/herbie/src/core/regimes.rkt:173:0 for-loop [32] 100.0% ---------------------------------------------------------------------- ??? [22] 100.0% [27] 8854(72.6%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [33] 46.1% make-exacts* [40] 30.1% loop [39] 21.1% filter-exacts [37] 2.7% ---------------------------------------------------------------------- sort-context-on-expr [23] 100.0% [28] 1300(10.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [34] 83.1% loop [42] 16.9% ---------------------------------------------------------------------- ??? [22] 100.0% [29] 1006(8.2%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [35] 59.4% iterate-egraph!5 [41] 40.6% ---------------------------------------------------------------------- for-loop [24] 100.0% [30] 420(3.4%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [36] 100.0% ---------------------------------------------------------------------- taylor-alt [25] 100.0% [31] 202(1.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [38] 100.0% ---------------------------------------------------------------------- pick-errors [26] 100.0% [32] 200(1.6%) 0(0.0%) for-loop ...lock/herbie/src/core/regimes.rkt:176:4 eval-prog [50] 100.0% ---------------------------------------------------------------------- loop [27] 100.0% [33] 4080(33.4%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 loop [39] 65.5% make-exacts* [40] 34.5% ---------------------------------------------------------------------- sort [28] 34.7% copying-mergesort [34] 65.3% [34] 1080(8.9%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 copying-mergesort [34] 65.3% loop [42] 19.4% jloop [3] 15.3% ---------------------------------------------------------------------- simplify [29] 100.0% [35] 598(4.9%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [41] 100.0% ---------------------------------------------------------------------- atab-add-altn [30] 100.0% [36] 420(3.4%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 for-loop [44] 52.4% errors [45] 47.6% ---------------------------------------------------------------------- loop [27] 100.0% [37] 240(2.0%) 0(0.0%) filter-exacts ...tlock/herbie/src/points.rkt:108:0 for-loop [43] 100.0% ---------------------------------------------------------------------- for-loop [31] 25.0% location-do [38] 75.0% [38] 202(1.7%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 location-do [38] 75.0% approximate9 [6] 25.0% ---------------------------------------------------------------------- loop [27] 41.1% loop [33] 58.9% [39] 4538(37.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [46] 100.0% ---------------------------------------------------------------------- loop [33] 34.5% loop [27] 65.5% [40] 4076(33.4%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 loop [62] 47.7% map [46] 46.0% eval-prog [50] 6.3% ---------------------------------------------------------------------- simplify [29] 40.6% simplify-expr [35] 59.4% [41] 1006(8.2%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [48] 100.0% ---------------------------------------------------------------------- sort [28] 34.4% copying-mergesort [34] 65.6% [42] 640(5.2%) 0(0.0%) loop ...cket/collects/racket/private/sort.rkt:64:8 ??? [47] 100.0% ---------------------------------------------------------------------- filter-exacts [37] 100.0% [43] 240(2.0%) 240(2.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:111:4 ---------------------------------------------------------------------- best-and-tied-at-points [36] 100.0% [44] 220(1.8%) 220(1.8%) for-loop ...k/herbie/src/core/alt-table.rkt:124:16 ---------------------------------------------------------------------- best-and-tied-at-points [36] 100.0% [45] 200(1.6%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [49] 100.0% ---------------------------------------------------------------------- ??? [5] 1.6% f6 [10] 1.6% make-exacts* [40] 28.3% loop [39] 68.5% [46] 6628(54.3%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [62] 83.0% ??? [65] 13.7% ??? [5] 1.6% ->flonum [66] 1.6% ---------------------------------------------------------------------- loop [42] 49.2% jloop [3] 50.8% [47] 1300(10.7%) 0(0.0%) ??? /home/ztatlock/herbie/src/points.rkt:52:27 eval-prog [50] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [41] 100.0% [48] 1006(8.2%) 0(0.0%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [51] 79.9% apply-match [52] 20.1% ---------------------------------------------------------------------- errors [45] 100.0% [49] 200(1.6%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [53] 100.0% ---------------------------------------------------------------------- for-loop [32] 11.4% make-exacts* [40] 14.7% ??? [47] 73.9% [50] 1758(14.4%) 1280(10.5%) eval-prog ...tatlock/herbie/src/programs.rkt:162:0 hash-ref! [55] 14.7% go [56] 12.5% ---------------------------------------------------------------------- for-loop [51] 50.0% one-iter [48] 50.0% [51] 804(6.6%) 200(1.6%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [51] 50.0% match-e [54] 37.6% ---------------------------------------------------------------------- one-iter [48] 100.0% [52] 202(1.7%) 0(0.0%) apply-match .../herbie/src/core/simplify.rkt:122:2 loop! [57] 100.0% ---------------------------------------------------------------------- for-loop [49] 100.0% [53] 200(1.6%) 200(1.6%) ??? ...ket/collects/racket/private/for.rkt:1150:14 ---------------------------------------------------------------------- for-loop [51] 100.0% [54] 604(5.0%) 604(5.0%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ---------------------------------------------------------------------- localize-error [16] 15.2% loop [62] 27.2% eval-prog [50] 27.2% ??? [5] 30.4% [55] 474(3.9%) 0(0.0%) hash-ref! ...racket/private/more-scheme.rkt:373:13 parse-loop12 [60] 30.4% ??? [4] 27.2% bigfloat-hash [58] 27.2% f6 [10] 15.2% ---------------------------------------------------------------------- eval-prog [50] 100.0% [56] 220(1.8%) 0(0.0%) go .../collects/racket/private/qq-and-or.rkt:50:20 loop [59] 100.0% ---------------------------------------------------------------------- apply-match [52] 100.0% [57] 202(1.7%) 0(0.0%) loop! .../ztatlock/herbie/src/core/enode.rkt:163:2 custom-set-union [61] 100.0% ---------------------------------------------------------------------- hash-ref! [55] 100.0% [58] 258(2.1%) 0(0.0%) bigfloat-hash ...h/private/bigfloat/mpfr.rkt:165:0 sig+exp->bigfloat [63] 100.0% ---------------------------------------------------------------------- go [56] 100.0% [59] 220(1.8%) 220(1.8%) loop ...llects/racket/private/qq-and-or.rkt:101:61 ---------------------------------------------------------------------- hash-ref! [55] 100.0% [60] 216(1.8%) 0(0.0%) parse-loop12 ...s/racket/match/compiler.rkt:410:15 loop [62] 100.0% ---------------------------------------------------------------------- loop! [57] 100.0% [61] 202(1.7%) 0(0.0%) custom-set-union ...et/private/set-types.rkt:168:0 for-loop [64] 100.0% ---------------------------------------------------------------------- make-exacts* [40] 0.0% parse-loop12 [60] 0.1% map [46] 1.3% f6 [10] 2.5% ??? [4] 3.2% loop [62] 92.8% [62] 8122(66.6%) 0(0.0%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [62] 92.8% hash-ref! [55] 3.2% simplify [67] 2.5% ??? [65] 1.4% ??? [5] 0.1% ->flonum [66] 0.0% ---------------------------------------------------------------------- bigfloat-hash [58] 100.0% [63] 258(2.1%) 258(2.1%) sig+exp->bigfloat ...ivate/bigfloat/mpfr.rkt:385:0 ---------------------------------------------------------------------- custom-set-union [61] 100.0% [64] 202(1.7%) 202(1.7%) for-loop ...cts/racket/private/set-types.rkt:152:2 ---------------------------------------------------------------------- map [46] 11.2% loop [62] 88.8% [65] 8136(66.7%) 250(2.0%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [68] 60.1% real->bigfloat [69] 34.4% ??? [76] 2.4% ---------------------------------------------------------------------- map [46] 49.5% loop [62] 50.5% [66] 436(3.6%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [70] 50.5% ??? [77] 49.5% ---------------------------------------------------------------------- loop [62] 100.0% [67] 202(1.7%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug-print [71] 100.0% ---------------------------------------------------------------------- ??? [65] 100.0% [68] 4892(40.1%) 0(0.0%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [72] 91.1% ...higher-order.rkt:373:33 [73] 8.9% ---------------------------------------------------------------------- ??? [65] 100.0% [69] 2800(23.0%) 2346(19.2%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ??? [78] 16.2% ---------------------------------------------------------------------- ->flonum [66] 100.0% [70] 220(1.8%) 220(1.8%) ??? /home/ztatlock/herbie/src/config.rkt:29:0 ---------------------------------------------------------------------- simplify [67] 100.0% [71] 202(1.7%) 202(1.7%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 ---------------------------------------------------------------------- ??? [68] 100.0% [72] 4456(36.5%) 984(8.1%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 ??? [77] 36.2% bfexp [74] 26.5% bfdiv [75] 15.3% ---------------------------------------------------------------------- ??? [68] 100.0% [73] 436(3.6%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [76] 100.0% ---------------------------------------------------------------------- ??? [72] 100.0% [74] 1180(9.7%) 1180(9.7%) bfexp ...-lib/math/private/bigfloat/mpfr.rkt:616:4 ---------------------------------------------------------------------- ??? [72] 100.0% [75] 680(5.6%) 466(3.8%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ??? [78] 31.5% ---------------------------------------------------------------------- ??? [65] 30.8% ...higher-order.rkt:373:33 [73] 69.2% [76] 630(5.2%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [77] 100.0% ---------------------------------------------------------------------- ->flonum [66] 8.8% ??? [76] 25.6% ??? [72] 65.6% [77] 2458(20.2%) 908(7.4%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [79] 54.4% ??? [80] 8.7% ---------------------------------------------------------------------- bfdiv [75] 32.0% real->bigfloat [69] 68.0% [78] 668(5.5%) 668(5.5%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- ??? [77] 100.0% [79] 1336(11.0%) 428(3.5%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [81] 68.0% ---------------------------------------------------------------------- ??? [77] 100.0% [80] 214(1.8%) 214(1.8%) ??? ...ects/racket/contract/private/prop.rkt:489:4 ---------------------------------------------------------------------- ??? [79] 100.0% [81] 908(7.4%) 908(7.4%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------