Profiling results ----------------- Total cpu time observed: 20140ms (out of 20308ms) Number of samples taken: 65 (once every 310ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= ??? [10] 100.0% [1] 20140(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [4] 100.0% ----------------------------------------------------------------------- ??? [46] 100.0% [2] 316(1.6%) 0(0.0%) approximate9 ...ie/master/src/core/taylor.rkt:12:0 loop [5] 100.0% ----------------------------------------------------------------------- ??? [10] 100.0% [3] 298(1.5%) 0(0.0%) get-final-combination ...er/src/mainloop.rkt:365:0 argmin [6] 100.0% ----------------------------------------------------------------------- profile-thunk16 [1] 100.0% [4] 20140(100.0%) 0(0.0%) run ...et-7.0/share/pkgs/profile-lib/main.rkt:39:2 ??? [10] 100.0% ----------------------------------------------------------------------- approximate9 [2] 100.0% [5] 316(1.6%) 0(0.0%) loop ...ies/herbie/master/src/core/taylor.rkt:87:4 ??? [46] 100.0% ----------------------------------------------------------------------- get-final-combination [3] 100.0% [6] 298(1.5%) 0(0.0%) argmin ...acket-7.0/collects/racket/list.rkt:765:0 ??? [7] 100.0% ----------------------------------------------------------------------- argmin [6] 100.0% [7] 298(1.5%) 0(0.0%) ??? ...tlies/herbie/master/src/mainloop.rkt:111:10 errors [8] 100.0% ----------------------------------------------------------------------- ??? [7] 19.4% atab-add-altn [95] 21.8% ??? [10] 58.8% [8] 1534(7.6%) 0(0.0%) errors ...tlies/herbie/master/src/points.rkt:205:0 for-loop [9] 100.0% ----------------------------------------------------------------------- errors [8] 100.0% [9] 1534(7.6%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:207:2 ??? [10] 100.0% ----------------------------------------------------------------------- for-loop [9] 2.5% run [4] 48.7% [10] 20140(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [1] 48.7% run-improve47 [11] 35.8% prepare-points [12] 7.8% oracle-error [13] 1.6% ??? [32] 1.5% errors [8] 1.5% infer-double-representation [24] 1.0% errors-score [14] 0.8% eval-errors [15] 0.7% get-final-combination [3] 0.5% ----------------------------------------------------------------------- ??? [10] 100.0% [11] 14520(72.1%) 0(0.0%) run-improve47 ...bie/master/src/mainloop.rkt:342:0 for-loop [16] 100.0% ----------------------------------------------------------------------- ??? [10] 100.0% [12] 3152(15.7%) 0(0.0%) prepare-points ...rbie/master/src/points.rkt:146:0 loop [17] 100.0% ----------------------------------------------------------------------- ??? [10] 100.0% [13] 662(3.3%) 0(0.0%) oracle-error ...herbie/master/src/points.rkt:188:0 for-loop [18] 100.0% ----------------------------------------------------------------------- ??? [10] 100.0% [14] 308(1.5%) 0(0.0%) errors-score ...herbie/master/src/points.rkt:196:0 loop [19] 100.0% ----------------------------------------------------------------------- ??? [10] 100.0% [15] 298(1.5%) 0(0.0%) eval-errors .../herbie/master/src/points.rkt:179:0 for-loop [20] 100.0% ----------------------------------------------------------------------- run-improve47 [11] 100.0% [16] 14520(72.1%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:359:4 run-iter! [21] 100.0% ----------------------------------------------------------------------- prepare-points [12] 100.0% [17] 3152(15.7%) 0(0.0%) loop ...ghtlies/herbie/master/src/points.rkt:122:4 loop [22] 48.5% ??? [23] 40.7% infer-representation [41] 10.7% ----------------------------------------------------------------------- oracle-error [13] 100.0% [18] 662(3.3%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:189:2 map [25] 100.0% ----------------------------------------------------------------------- errors-score [14] 100.0% [19] 308(1.5%) 0(0.0%) loop .../racket-7.0/collects/racket/list.rkt:559:2 curried [91] 100.0% ----------------------------------------------------------------------- eval-errors [15] 100.0% [20] 298(1.5%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:181:2 infer-double-representation [24]100.0% ----------------------------------------------------------------------- for-loop [16] 100.0% [21] 14520(72.1%) 0(0.0%) run-iter! .../herbie/master/src/mainloop.rkt:323:0 simplify! [26] 95.5% finalize-iter! [29] 2.3% gen-series! [30] 2.2% ----------------------------------------------------------------------- loop [17] 100.0% [22] 1530(7.6%) 310(1.5%) loop ...ightlies/herbie/master/src/points.rkt:81:2 ??? [32] 79.7% ----------------------------------------------------------------------- loop [17] 100.0% [23] 1284(6.4%) 0(0.0%) ??? ...ightlies/herbie/master/src/points.rkt:106:2 ??? [46] 100.0% ----------------------------------------------------------------------- for-loop [20] 33.1% ??? [10] 66.9% [24] 900(4.5%) 0(0.0%) infer-double-representation .../src/float.rkt:22:0 for-loop [27] 100.0% ----------------------------------------------------------------------- for-loop [18] 100.0% [25] 662(3.3%) 0(0.0%) map ...t-7.0/collects/racket/private/map.rkt:35:13 ??? [28] 100.0% ----------------------------------------------------------------------- run-iter! [21] 100.0% [26] 13870(68.9%) 0(0.0%) simplify! .../herbie/master/src/mainloop.rkt:220:0 ??? [31] 100.0% ----------------------------------------------------------------------- infer-double-representation [24]100.0% [27] 900(4.5%) 602(3.0%) for-loop ...tlies/herbie/master/src/float.rkt:17:3 return/no-unsupplied [48] 33.1% ----------------------------------------------------------------------- map [25] 100.0% [28] 662(3.3%) 326(1.6%) ??? ...ghtlies/herbie/master/src/points.rkt:190:26 ??? [32] 50.8% ----------------------------------------------------------------------- run-iter! [21] 100.0% [29] 334(1.7%) 0(0.0%) finalize-iter! ...ie/master/src/mainloop.rkt:274:0 ??? [83] 100.0% ----------------------------------------------------------------------- run-iter! [21] 100.0% [30] 316(1.6%) 0(0.0%) gen-series! ...erbie/master/src/mainloop.rkt:156:0 for-loop [33] 100.0% ----------------------------------------------------------------------- simplify! [26] 100.0% [31] 13870(68.9%) 0(0.0%) ??? ...es/herbie/master/src/core/simplify.rkt:26:0 for-loop [34] 58.3% one-iter [40] 37.2% loop [36] 4.5% ----------------------------------------------------------------------- ??? [28] 13.5% ??? [10] 37.5% loop [22] 49.0% [32] 2488(12.4%) 0(0.0%) ??? ...htlies/herbie/master/src/programs.rkt:108:2 real->precision [35] 38.9% ??? [46] 24.8% ??? [37] 24.3% ??? [39] 12.1% ----------------------------------------------------------------------- gen-series! [30] 100.0% [33] 316(1.6%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:163:7 taylor-alt [38] 100.0% ----------------------------------------------------------------------- ??? [31] 100.0% [34] 8088(40.2%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:33:2 one-iter [40] 100.0% ----------------------------------------------------------------------- ??? [32] 100.0% [35] 968(4.8%) 0(0.0%) real->precision ...e/master/src/programs.rkt:87:33 infer-representation [41] 100.0% ----------------------------------------------------------------------- ??? [31] 100.0% [36] 622(3.1%) 0(0.0%) loop .../herbie/master/src/core/simplify.rkt:104:2 for-loop [42] 100.0% ----------------------------------------------------------------------- ??? [32] 100.0% [37] 604(3.0%) 300(1.5%) ??? ...t-7.0/collects/racket/private/kw.rkt:592:14 ??? [46] 50.3% ----------------------------------------------------------------------- for-loop [33] 100.0% [38] 316(1.6%) 0(0.0%) taylor-alt ...herbie/master/src/mainloop.rkt:142:0 for-loop [43] 100.0% ----------------------------------------------------------------------- ??? [32] 100.0% [39] 300(1.5%) 300(1.5%) ??? ...tract/private/arrow-higher-order.rkt:361:33 ----------------------------------------------------------------------- ??? [31] 38.9% for-loop [34] 61.1% [40] 13248(65.8%) 0(0.0%) one-iter ...rbie/master/src/core/simplify.rkt:65:0 find-matches [44] 63.5% for-loop [45] 20.6% for-loop [47] 13.7% for-loop [51] 2.3% ----------------------------------------------------------------------- loop [17] 25.9% real->precision [35] 74.1% [41] 1306(6.5%) 636(3.2%) infer-representation .../master/src/float.rkt:15:0 ??? [50] 25.7% return/no-unsupplied [48] 25.6% ----------------------------------------------------------------------- loop [36] 100.0% [42] 622(3.1%) 0(0.0%) for-loop ...bie/master/src/core/simplify.rkt:110:4 for-loop [49] 100.0% ----------------------------------------------------------------------- taylor-alt [38] 100.0% [43] 316(1.6%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:148:6 ??? [46] 100.0% ----------------------------------------------------------------------- one-iter [40] 100.0% [44] 8406(41.7%) 0(0.0%) find-matches .../master/src/core/simplify.rkt:55:0 for-loop [52] 100.0% ----------------------------------------------------------------------- one-iter [40] 100.0% [45] 2730(13.6%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:75:2 update-leader! [70] 100.0% ----------------------------------------------------------------------- loop [5] 4.2% location-do [57] 4.2% for-loop [43] 4.2% ??? [37] 12.1% ??? [32] 24.4% ??? [23] 51.0% [46] 2520(12.5%) 298(1.5%) ??? ...tract/private/arrow-higher-order.rkt:357:33 sample-multi-bounded [54] 39.1% mk-ival [55] 24.4% ival-mult [58] 12.1% location-do [57] 4.2% approximate9 [2] 4.2% hash-ref! [56] 4.2% ----------------------------------------------------------------------- one-iter [40] 100.0% [47] 1810(9.0%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:67:2 for-loop [53] 100.0% ----------------------------------------------------------------------- for-loop [27] 47.2% infer-representation [41] 52.8% [48] 632(3.1%) 334(1.7%) return/no-unsupplied ...ct/private/arr-i.rkt:534:0 filter [60] 47.2% ----------------------------------------------------------------------- for-loop [42] 100.0% [49] 622(3.1%) 324(1.6%) for-loop ...ie/master/src/core/simplify.rkt:114:16 for-loop [61] 47.9% ----------------------------------------------------------------------- infer-representation [41] 100.0% [50] 336(1.7%) 336(1.7%) ??? ...s/racket/contract/private/arr-i.rkt:1252:29 ----------------------------------------------------------------------- one-iter [40] 100.0% [51] 302(1.5%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:72:2 set-precompute! [59] 100.0% ----------------------------------------------------------------------- for-loop [52] 48.2% find-matches [44] 51.8% [52] 8406(41.7%) 912(4.5%) for-loop ...rbie/master/src/core/simplify.rkt:57:8 for-loop [52] 48.2% match-e [62] 44.6% ----------------------------------------------------------------------- for-loop [47] 100.0% [53] 1810(9.0%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:70:4 merge-egraph-nodes! [63] 83.0% dedup-children! [66] 17.0% ----------------------------------------------------------------------- ??? [46] 100.0% [54] 986(4.9%) 324(1.6%) sample-multi-bounded ...master/src/points.rkt:15:0 random-ranges [64] 67.1% ----------------------------------------------------------------------- ??? [46] 100.0% [55] 616(3.1%) 0(0.0%) mk-ival .../herbie/master/src/biginterval.rkt:57:0 bf [65] 100.0% ----------------------------------------------------------------------- ??? [46] 100.0% [56] 316(1.6%) 316(1.6%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ----------------------------------------------------------------------- ??? [46] 100.0% [57] 316(1.6%) 0(0.0%) location-do ...herbie/master/src/programs.rkt:64:0 ??? [46] 100.0% ----------------------------------------------------------------------- ??? [46] 100.0% [58] 304(1.5%) 0(0.0%) ival-mult ...rbie/master/src/biginterval.rkt:112:0 bfmul [67] 100.0% ----------------------------------------------------------------------- for-loop [51] 100.0% [59] 302(1.5%) 0(0.0%) set-precompute! ...ster/src/core/simplify.rkt:79:0 for-loop [68] 100.0% ----------------------------------------------------------------------- return/no-unsupplied [48] 100.0% [60] 298(1.5%) 298(1.5%) filter ...0/collects/racket/private/list.rkt:256:2 ----------------------------------------------------------------------- for-loop [49] 100.0% [61] 298(1.5%) 298(1.5%) for-loop ...ie/master/src/core/simplify.rkt:118:23 ----------------------------------------------------------------------- for-loop [81] 34.2% for-loop [52] 65.8% [62] 7494(37.2%) 1862(9.2%) match-e .../herbie/master/src/core/ematch.rkt:39:0 for-loop [69] 60.5% custom-in-set [72] 8.5% ??? [83] 4.3% constant? [71] 4.0% variable? [73] 3.5% ----------------------------------------------------------------------- merge-egraph-nodes! [63] 10.0% for-loop [53] 90.0% [63] 1502(7.5%) 302(1.5%) merge-egraph-nodes! ...r/src/core/egraph.rkt:143:0 update-leader! [70] 39.9% loop! [75] 30.0% merge-egraph-nodes! [63] 10.0% ----------------------------------------------------------------------- sample-multi-bounded [54] 100.0% [64] 662(3.3%) 0(0.0%) random-ranges ...erbie/master/src/common.rkt:183:0 build--> [76] 51.4% cons/c [77] 48.6% ----------------------------------------------------------------------- mk-ival [55] 100.0% [65] 616(3.1%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:601:2 new-mpfr [74] 100.0% ----------------------------------------------------------------------- for-loop [53] 100.0% [66] 308(1.5%) 0(0.0%) dedup-children! ...master/src/core/enode.rkt:195:0 loop [78] 100.0% ----------------------------------------------------------------------- ival-mult [58] 100.0% [67] 304(1.5%) 0(0.0%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:821:4 ??? [79] 100.0% ----------------------------------------------------------------------- set-precompute! [59] 100.0% [68] 302(1.5%) 0(0.0%) for-loop ...rbie/master/src/core/simplify.rkt:81:2 setfindf [80] 100.0% ----------------------------------------------------------------------- match-e [62] 100.0% [69] 5630(28.0%) 2160(10.7%) for-loop ...erbie/master/src/core/ematch.rkt:52:11 for-loop [81] 67.8% loop [85] 5.9% ----------------------------------------------------------------------- merge-egraph-nodes! [63] 18.0% for-loop [45] 82.0% [70] 3330(16.5%) 0(0.0%) update-leader! ...master/src/core/egraph.rkt:211:0 for-loop [82] 100.0% ----------------------------------------------------------------------- match-e [62] 100.0% [71] 898(4.5%) 300(1.5%) constant? ...ie/master/src/syntax/syntax.rkt:719:0 value? [86] 66.6% ----------------------------------------------------------------------- match-e [62] 100.0% [72] 636(3.2%) 636(3.2%) custom-in-set ...acket/private/set-types.rkt:577:0 ----------------------------------------------------------------------- match-e [62] 100.0% [73] 636(3.2%) 0(0.0%) variable? ...ie/master/src/syntax/syntax.rkt:722:0 ??? [83] 100.0% ----------------------------------------------------------------------- bf [65] 100.0% [74] 616(3.1%) 616(3.1%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:335:0 ----------------------------------------------------------------------- merge-egraph-nodes! [63] 100.0% [75] 600(3.0%) 0(0.0%) loop! ...es/herbie/master/src/core/enode.rkt:187:2 custom-set-union [88] 50.0% loop [85] 50.0% ----------------------------------------------------------------------- random-ranges [64] 100.0% [76] 340(1.7%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1086:0 coerce-contract [84] 100.0% ----------------------------------------------------------------------- random-ranges [64] 100.0% [77] 322(1.6%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:478:15 coerce-contract [84] 100.0% ----------------------------------------------------------------------- dedup-children! [66] 6.2% loop [78] 93.8% [78] 308(1.5%) 308(1.5%) loop ...racket-7.0/collects/racket/list.rkt:434:17 loop [78] 93.8% ----------------------------------------------------------------------- bfmul [67] 100.0% [79] 304(1.5%) 304(1.5%) ??? /opt/racket-7.0/collects/ffi/unsafe.rkt:898:4 ----------------------------------------------------------------------- for-loop [68] 100.0% [80] 302(1.5%) 0(0.0%) setfindf ...ies/herbie/master/src/common.rkt:142:0 for-loop [87] 100.0% ----------------------------------------------------------------------- for-loop [69] 100.0% [81] 4400(21.8%) 324(1.6%) for-loop ...erbie/master/src/core/ematch.rkt:58:37 match-e [62] 96.3% ----------------------------------------------------------------------- update-leader! [70] 100.0% [82] 3330(16.5%) 0(0.0%) for-loop ...erbie/master/src/core/egraph.rkt:216:6 hash-update! [93] 64.0% for-loop [89] 36.0% ----------------------------------------------------------------------- finalize-iter! [29] 20.7% variable? [73] 39.4% match-e [62] 40.0% [83] 1616(8.0%) 1282(6.4%) ??? ...contract/private/arrow-val-first.rkt:388:18 for-loop [92] 20.7% ----------------------------------------------------------------------- cons/c [77] 48.6% build--> [76] 51.4% [84] 662(3.3%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:285:0 coerce-contract/f [90] 100.0% ----------------------------------------------------------------------- for-loop [69] 1.1% loop! [75] 1.3% loop [85] 97.5% [85] 632(3.1%) 300(1.5%) loop ...-7.0/collects/racket/private/map.rkt:40:19 loop [85] 97.5% curried [91] 1.1% ----------------------------------------------------------------------- constant? [71] 100.0% [86] 598(3.0%) 598(3.0%) value? .../herbie/master/src/syntax/types.rkt:18:0 ----------------------------------------------------------------------- setfindf [80] 100.0% [87] 302(1.5%) 302(1.5%) for-loop ...ies/herbie/master/src/common.rkt:143:2 ----------------------------------------------------------------------- loop! [75] 100.0% [88] 300(1.5%) 300(1.5%) custom-set-union ...et/private/set-types.rkt:168:0 ----------------------------------------------------------------------- for-loop [82] 100.0% [89] 1200(6.0%) 0(0.0%) for-loop ...erbie/master/src/core/egraph.rkt:217:8 hash-update! [93] 100.0% ----------------------------------------------------------------------- coerce-contract [84] 100.0% [90] 662(3.3%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:350:0 coerce-simple-value [94] 100.0% ----------------------------------------------------------------------- loop [19] 48.1% loop [85] 51.9% [91] 640(3.2%) 640(3.2%) curried ...-7.0/collects/racket/function.rkt:71:18 ----------------------------------------------------------------------- ??? [83] 100.0% [92] 334(1.7%) 0(0.0%) for-loop ...bie/master/src/core/alt-table.rkt:56:2 atab-add-altn [95] 100.0% ----------------------------------------------------------------------- for-loop [89] 36.0% for-loop [82] 64.0% [93] 3330(16.5%) 0(0.0%) hash-update! ...cket/private/more-scheme.rkt:365:4 ??? [96] 100.0% ----------------------------------------------------------------------- coerce-contract/f [90] 100.0% [94] 662(3.3%) 662(3.3%) coerce-simple-value ...ract/private/guts.rkt:363:0 ----------------------------------------------------------------------- for-loop [92] 100.0% [95] 334(1.7%) 0(0.0%) atab-add-altn ...ster/src/core/alt-table.rkt:203:0 errors [8] 100.0% ----------------------------------------------------------------------- hash-update! [93] 100.0% [96] 3330(16.5%) 0(0.0%) ??? ...es/herbie/master/src/core/egraph.rkt:219:24 for-loop [97] 100.0% ----------------------------------------------------------------------- ??? [96] 100.0% [97] 3330(16.5%) 2706(13.4%) for-loop ...rbie/master/src/core/egraph.rkt:220:26 update-en-expr [98] 18.7% ----------------------------------------------------------------------- for-loop [97] 100.0% [98] 624(3.1%) 624(3.1%) update-en-expr ...master/src/core/egraph.rkt:205:0 -----------------------------------------------------------------------