Profiling results ----------------- Total cpu time observed: 11456ms (out of 11032ms) Number of samples taken: 44 (once every 260ms) ====================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ====================================================================== ??? [20] 100.0% [1] 11456(100.0%) 0(0.0%) profile-thunk14 ...t/pkgs/profile-lib/main.rkt:9:0 run [5] 100.0% ---------------------------------------------------------------------- ??? [20] 100.0% [2] 3208(28.0%) 0(0.0%) run-improve58 ...ock/herbie/src/mainloop.rkt:242:0 for-loop [6] 68.7% finalize-table! [7] 31.3% ---------------------------------------------------------------------- loop [56] 100.0% [3] 400(3.5%) 0(0.0%) completely-simplify-alt ...erbie/src/glue.rkt:87:0 simplify-expr [30] 100.0% ---------------------------------------------------------------------- f143 [51] 100.0% [4] 200(1.7%) 0(0.0%) taylor-quotient ...erbie/src/core/taylor.rkt:328:0 first-nonzero-exp [8] 100.0% ---------------------------------------------------------------------- profile-thunk14 [1] 100.0% [5] 11456(100.0%) 0(0.0%) run ...share/racket/pkgs/profile-lib/main.rkt:31:2 ??? [20] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [6] 2204(19.2%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:253:8 run-iter! [9] 100.0% ---------------------------------------------------------------------- run-improve58 [2] 100.0% [7] 1004(8.8%) 0(0.0%) finalize-table! ...k/herbie/src/mainloop.rkt:264:0 post-process [10] 100.0% ---------------------------------------------------------------------- taylor-quotient [4] 100.0% [8] 200(1.7%) 0(0.0%) first-nonzero-exp ...bie/src/core/taylor.rkt:260:0 hash-ref! [47] 100.0% ---------------------------------------------------------------------- for-loop [6] 100.0% [9] 2204(19.2%) 0(0.0%) run-iter! ...tatlock/herbie/src/mainloop.rkt:223:0 simplify! [11] 54.5% finalize-iter! [14] 18.1% gen-series! [15] 18.1% localize-error [13] 9.2% ---------------------------------------------------------------------- finalize-table! [7] 100.0% [10] 1004(8.8%) 0(0.0%) post-process .../ztatlock/herbie/src/glue.rkt:95:0 for-loop [12] 40.2% loop [56] 39.8% localize-error [13] 19.9% ---------------------------------------------------------------------- run-iter! [9] 100.0% [11] 1202(10.5%) 0(0.0%) simplify! ...tatlock/herbie/src/mainloop.rkt:162:0 for-loop [16] 100.0% ---------------------------------------------------------------------- post-process [10] 100.0% [12] 404(3.5%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:119:17 append-map [17] 100.0% ---------------------------------------------------------------------- post-process [10] 49.8% run-iter! [9] 50.2% [13] 402(3.5%) 0(0.0%) localize-error ...erbie/src/core/localize.rkt:47:0 hash-ref! [47] 50.2% sort [19] 49.8% ---------------------------------------------------------------------- run-iter! [9] 100.0% [14] 400(3.5%) 0(0.0%) finalize-iter! ...ck/herbie/src/mainloop.rkt:177:0 ??? [54] 100.0% ---------------------------------------------------------------------- run-iter! [9] 100.0% [15] 400(3.5%) 0(0.0%) gen-series! ...tlock/herbie/src/mainloop.rkt:134:0 for-loop [18] 100.0% ---------------------------------------------------------------------- simplify! [11] 100.0% [16] 1202(10.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:166:6 ??? [20] 83.5% debug-print [23] 16.5% ---------------------------------------------------------------------- for-loop [12] 100.0% [17] 404(3.5%) 0(0.0%) append-map ...acket/collects/racket/list.rkt:565:2 taylor-alt [21] 100.0% ---------------------------------------------------------------------- gen-series! [15] 100.0% [18] 400(3.5%) 0(0.0%) for-loop ...ztatlock/herbie/src/mainloop.rkt:140:7 taylor-alt [21] 100.0% ---------------------------------------------------------------------- localize-error [13] 100.0% [19] 200(1.7%) 0(0.0%) sort ...ket/collects/racket/private/sort.rkt:213:0 copying-mergesort [22] 100.0% ---------------------------------------------------------------------- for-loop [16] 2.9% run [5] 48.5% [20] 11456(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk14 [1] 48.5% loop [24] 36.0% run-improve58 [2] 12.5% simplify [25] 2.9% ---------------------------------------------------------------------- for-loop [18] 49.8% append-map [17] 50.2% [21] 804(7.0%) 0(0.0%) taylor-alt ...e/ztatlock/herbie/src/glue.rkt:142:0 for-loop [26] 100.0% ---------------------------------------------------------------------- sort [19] 100.0% [22] 200(1.7%) 0(0.0%) copying-mergesort .../racket/private/sort.rkt:91:4 errors-score [27] 100.0% ---------------------------------------------------------------------- for-loop [16] 100.0% [23] 198(1.7%) 0(0.0%) debug-print ...ztatlock/herbie/src/debug.rkt:107:0 for-loop [28] 100.0% ---------------------------------------------------------------------- ??? [20] 100.0% [24] 8248(72.0%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:122:2 loop [29] 51.6% make-exacts* [33] 48.4% ---------------------------------------------------------------------- ??? [20] 100.0% [25] 1004(8.8%) 0(0.0%) simplify ...lock/herbie/src/core/simplify.rkt:39:0 simplify-expr [30] 60.2% iterate-egraph!5 [35] 39.8% ---------------------------------------------------------------------- taylor-alt [21] 100.0% [26] 804(7.0%) 0(0.0%) for-loop /home/ztatlock/herbie/src/glue.rkt:144:2 location-do [31] 100.0% ---------------------------------------------------------------------- copying-mergesort [22] 100.0% [27] 200(1.7%) 0(0.0%) errors-score ...atlock/herbie/src/points.rkt:154:0 loop [56] 100.0% ---------------------------------------------------------------------- debug-print [23] 100.0% [28] 198(1.7%) 0(0.0%) for-loop /home/ztatlock/herbie/src/debug.rkt:113:2 write-proc [32] 100.0% ---------------------------------------------------------------------- loop [24] 100.0% [29] 4258(37.2%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:93:2 make-exacts* [33] 71.2% loop [34] 28.8% ---------------------------------------------------------------------- completely-simplify-alt [3] 39.8% simplify [25] 60.2% [30] 1004(8.8%) 0(0.0%) simplify-expr ...herbie/src/core/simplify.rkt:68:0 iterate-egraph!5 [35] 79.9% loop [37] 20.1% ---------------------------------------------------------------------- location-do [31] 37.6% for-loop [26] 62.4% [31] 804(7.0%) 0(0.0%) location-do ...tlock/herbie/src/programs.rkt:129:0 approximate9 [36] 62.4% location-do [31] 37.6% ---------------------------------------------------------------------- for-loop [28] 100.0% [32] 198(1.7%) 198(1.7%) write-proc ...lock/herbie/src/alternative.rkt:29:9 ---------------------------------------------------------------------- loop [29] 43.2% loop [24] 56.8% [33] 7022(61.3%) 0(0.0%) make-exacts* ...tatlock/herbie/src/points.rkt:80:0 map [53] 71.0% loop [56] 29.0% ---------------------------------------------------------------------- loop [29] 100.0% [34] 1226(10.7%) 0(0.0%) loop /home/ztatlock/herbie/src/points.rkt:83:4 map [53] 100.0% ---------------------------------------------------------------------- simplify [25] 33.3% simplify-expr [30] 66.7% [35] 1202(10.5%) 0(0.0%) iterate-egraph!5 ...bie/src/core/simplify.rkt:95:0 one-iter [38] 100.0% ---------------------------------------------------------------------- location-do [31] 100.0% [36] 804(7.0%) 0(0.0%) approximate9 ...ck/herbie/src/core/taylor.rkt:11:0 loop [39] 75.1% f143 [51] 24.9% ---------------------------------------------------------------------- simplify-expr [30] 100.0% [37] 202(1.8%) 0(0.0%) loop ...tatlock/herbie/src/core/simplify.rkt:203:2 pass [40] 100.0% ---------------------------------------------------------------------- iterate-egraph!5 [35] 100.0% [38] 1202(10.5%) 602(5.3%) one-iter ...ock/herbie/src/core/simplify.rkt:106:0 for-loop [41] 49.9% ---------------------------------------------------------------------- approximate9 [36] 100.0% [39] 604(5.3%) 0(0.0%) loop ...e/ztatlock/herbie/src/core/taylor.rkt:82:4 hash-ref! [47] 100.0% ---------------------------------------------------------------------- loop [37] 100.0% [40] 202(1.8%) 0(0.0%) pass ...tatlock/herbie/src/core/simplify.rkt:193:2 for-loop [42] 100.0% ---------------------------------------------------------------------- for-loop [41] 33.3% one-iter [38] 66.7% [41] 600(5.2%) 200(1.7%) for-loop ...ck/herbie/src/core/simplify.rkt:116:12 for-loop [41] 33.3% match-e [43] 33.3% ---------------------------------------------------------------------- pass [40] 100.0% [42] 202(1.8%) 0(0.0%) for-loop ...ck/herbie/src/core/simplify.rkt:196:29 argmin [44] 100.0% ---------------------------------------------------------------------- for-loop [41] 100.0% [43] 400(3.5%) 400(3.5%) match-e ...tatlock/herbie/src/core/ematch.rkt:46:0 ---------------------------------------------------------------------- for-loop [42] 100.0% [44] 202(1.8%) 0(0.0%) argmin ...re/racket/collects/racket/list.rkt:743:0 expression-cost [45] 100.0% ---------------------------------------------------------------------- argmin [44] 100.0% [45] 202(1.8%) 0(0.0%) expression-cost ...k/herbie/src/programs.rkt:212:0 compile [46] 100.0% ---------------------------------------------------------------------- expression-cost [45] 100.0% [46] 202(1.8%) 0(0.0%) compile .../ztatlock/herbie/src/programs.rkt:189:0 hash-ref! [47] 100.0% ---------------------------------------------------------------------- ??? [58] 8.4% localize-error [13] 8.4% ??? [50] 11.1% first-nonzero-exp [8] 16.6% compile [46] 16.7% ??? [49] 19.5% loop [39] 19.5% [47] 1208(10.5%) 202(1.8%) hash-ref! ...racket/private/more-scheme.rkt:373:13 simplify [48] 36.0% ??? [49] 19.5% f143 [51] 16.7% ??? [50] 11.1% ---------------------------------------------------------------------- hash-ref! [47] 100.0% [48] 804(7.0%) 0(0.0%) simplify ...atlock/herbie/src/core/reduce.rkt:18:0 debug7 [52] 50.0% f143 [51] 50.0% ---------------------------------------------------------------------- hash-ref! [47] 100.0% [49] 604(5.3%) 0(0.0%) ??? ...e/ztatlock/herbie/src/core/taylor.rkt:42:15 hash-ref! [47] 100.0% ---------------------------------------------------------------------- hash-ref! [47] 100.0% [50] 402(3.5%) 0(0.0%) ??? .../ztatlock/herbie/src/core/taylor.rkt:338:33 hash-ref! [47] 100.0% ---------------------------------------------------------------------- parse-loop50 [59] 11.0% approximate9 [36] 11.0% simplify [48] 17.7% map [53] 26.8% hash-ref! [47] 33.4% [51] 604(5.3%) 202(1.8%) f143 .../collects/racket/match/compiler.rkt:499:40 map [53] 71.2% taylor-quotient [4] 11.0% combine-mterms [55] 11.0% ---------------------------------------------------------------------- simplify [48] 100.0% [52] 402(3.5%) 0(0.0%) debug7 /home/ztatlock/herbie/src/debug.rkt:102:0 ??? [54] 100.0% ---------------------------------------------------------------------- f143 [51] 8.9% loop [34] 18.0% make-exacts* [33] 73.2% [53] 6818(59.5%) 0(0.0%) map ...acket/collects/racket/private/map.rkt:21:13 loop [56] 92.6% f143 [51] 3.0% parse-loop50 [59] 2.9% ??? [58] 1.5% ---------------------------------------------------------------------- finalize-iter! [14] 49.9% debug7 [52] 50.1% [54] 802(7.0%) 402(3.5%) ??? ...contract/private/arrow-val-first.rkt:357:18 for-loop [57] 49.9% ---------------------------------------------------------------------- f143 [51] 100.0% [55] 200(1.7%) 200(1.7%) combine-mterms ...herbie/src/core/reduce.rkt:182:0 ---------------------------------------------------------------------- errors-score [27] 0.0% make-exacts* [33] 0.4% post-process [10] 0.6% map [53] 9.3% loop [56] 89.7% [56] 9050(79.0%) 200(1.7%) loop ...cket/collects/racket/private/map.rkt:26:19 loop [56] 89.7% ??? [67] 9.5% completely-simplify-alt [3] 0.6% ??? [73] 0.2% ->flonum [61] 0.0% ---------------------------------------------------------------------- ??? [54] 100.0% [57] 400(3.5%) 0(0.0%) for-loop ...ock/herbie/src/core/alt-table.rkt:51:2 atab-add-altn [60] 100.0% ---------------------------------------------------------------------- map [53] 100.0% [58] 202(1.8%) 0(0.0%) ??? ...ket/collects/racket/private/list.rkt:323:18 hash-ref! [47] 100.0% ---------------------------------------------------------------------- map [53] 100.0% [59] 200(1.7%) 0(0.0%) parse-loop50 ...s/racket/match/compiler.rkt:410:15 f143 [51] 100.0% ---------------------------------------------------------------------- for-loop [57] 100.0% [60] 400(3.5%) 0(0.0%) atab-add-altn ...rbie/src/core/alt-table.rkt:208:0 best-and-tied-at-points [62] 100.0% ---------------------------------------------------------------------- loop [56] 100.0% [61] 224(2.0%) 0(0.0%) ->flonum ...ock/herbie/src/syntax/syntax.rkt:224:0 ??? [63] 100.0% ---------------------------------------------------------------------- atab-add-altn [60] 100.0% [62] 400(3.5%) 0(0.0%) best-and-tied-at-points ...ore/alt-table.rkt:122:0 errors [64] 100.0% ---------------------------------------------------------------------- ->flonum [61] 100.0% [63] 224(2.0%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:47:15 ??? [65] 100.0% ---------------------------------------------------------------------- best-and-tied-at-points [62] 100.0% [64] 400(3.5%) 0(0.0%) errors /home/ztatlock/herbie/src/points.rkt:144:0 for-loop [66] 100.0% ---------------------------------------------------------------------- ??? [63] 100.0% [65] 224(2.0%) 224(2.0%) ??? .../share/racket/collects/ffi/unsafe.rkt:861:4 ---------------------------------------------------------------------- errors [64] 100.0% [66] 400(3.5%) 0(0.0%) for-loop ...e/ztatlock/herbie/src/points.rkt:147:4 ??? [67] 100.0% ---------------------------------------------------------------------- for-loop [66] 4.7% loop [56] 95.3% [67] 8424(73.5%) 1318(11.5%) ??? /home/ztatlock/herbie/src/programs.rkt:168:4 ??? [68] 55.9% real->bigfloat [69] 25.6% ...e/case-arrow.rkt:150:50 [70] 2.8% ---------------------------------------------------------------------- ??? [67] 100.0% [68] 4706(41.1%) 638(5.6%) ??? ...acket/collects/racket/private/kw.rkt:400:14 ??? [73] 71.6% ...higher-order.rkt:373:33 [71] 9.9% bf* [72] 5.0% ---------------------------------------------------------------------- ??? [67] 100.0% [69] 2160(18.9%) 2160(18.9%) real->bigfloat .../private/bigfloat/mpfr.rkt:451:0 ---------------------------------------------------------------------- ??? [67] 100.0% [70] 240(2.1%) 240(2.1%) ...e/case-arrow.rkt:150:50 (unknown source) ---------------------------------------------------------------------- ??? [68] 100.0% [71] 464(4.1%) 0(0.0%) ...higher-order.rkt:373:33 (unknown source) ??? [74] 100.0% ---------------------------------------------------------------------- ??? [68] 100.0% [72] 236(2.1%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [73] 100.0% ---------------------------------------------------------------------- loop [56] 5.3% bf* [72] 6.2% ??? [68] 88.5% [73] 3806(33.2%) 2444(21.3%) ??? ...-racket/utils/simple-result-arrow.rkt:26:12 bfcbrt [75] 18.4% ??? [78] 11.2% bfmul [77] 6.2% ---------------------------------------------------------------------- ...higher-order.rkt:373:33 [71]100.0% [74] 464(4.1%) 0(0.0%) ??? ...cts/racket/contract/private/list.rkt:187:10 ??? [76] 100.0% ---------------------------------------------------------------------- ??? [73] 100.0% [75] 700(6.1%) 700(6.1%) bfcbrt ...lib/math/private/bigfloat/mpfr.rkt:616:4 ---------------------------------------------------------------------- ??? [74] 100.0% [76] 464(4.1%) 0(0.0%) ??? ...ects/racket/contract/private/guts.rkt:638:8 ??? [78] 100.0% ---------------------------------------------------------------------- ??? [73] 100.0% [77] 236(2.1%) 236(2.1%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:819:4 ---------------------------------------------------------------------- ??? [73] 47.9% ??? [76] 52.1% [78] 890(7.8%) 228(2.0%) ??? ...tract/private/arrow-higher-order.rkt:373:33 ??? [79] 74.4% ---------------------------------------------------------------------- ??? [78] 100.0% [79] 662(5.8%) 426(3.7%) ??? ...llects/racket/contract/combinator.rkt:178:4 any-wrap/traverse [80] 35.6% ---------------------------------------------------------------------- ??? [79] 100.0% [80] 236(2.1%) 236(2.1%) any-wrap/traverse ...cket/utils/any-wrap.rkt:106:2 ----------------------------------------------------------------------