Profiling results ----------------- Total cpu time observed: 5514ms (out of 5696ms) Number of samples taken: 26 (once every 212ms) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== [1] 5514(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [6] 100.0% -------------------------------------------------------------------- hash-ref! [72] 100.0% [2] 710(12.9%) 0(0.0%) ??? .../herbie/better-rr/src/core/taylor.rkt:67:15 hash-ref! [72] 66.7% ??? [70] 33.3% -------------------------------------------------------------------- ??? [70] 100.0% [3] 710(12.9%) 0(0.0%) approximate9 ...better-rr/src/core/taylor.rkt:11:0 loop [8] 100.0% -------------------------------------------------------------------- map [7] 31.4% hash-ref! [72] 68.6% [4] 494(9.0%) 0(0.0%) f40 (unknown source) map [7] 100.0% -------------------------------------------------------------------- hash-ref! [72] 100.0% [5] 494(9.0%) 0(0.0%) ??? ...herbie/better-rr/src/core/taylor.rkt:290:26 for-loop [9] 100.0% -------------------------------------------------------------------- ??? [1] 100.0% [6] 5514(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [10] 100.0% -------------------------------------------------------------------- taylor [80] 19.6% parse-loop15 [79] 35.7% f40 [4] 44.7% [7] 1104(20.0%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 parse-loop74 [11] 30.7% hash-ref! [72] 29.8% taylor [80] 19.6% f40 [4] 14.0% loop [12] 5.9% -------------------------------------------------------------------- approximate9 [3] 100.0% [8] 710(12.9%) 0(0.0%) loop .../herbie/better-rr/src/core/taylor.rkt:86:4 hash-ref! [72] 100.0% -------------------------------------------------------------------- ??? [5] 100.0% [9] 494(9.0%) 0(0.0%) for-loop ...e/better-rr/src/core/taylor.rkt:290:52 hash-ref! [72] 100.0% -------------------------------------------------------------------- profile-thunk16 [6] 100.0% [10] 5514(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [13]100.0% -------------------------------------------------------------------- map [7] 100.0% [11] 494(9.0%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [14] 100.0% -------------------------------------------------------------------- map [7] 10.0% loop [12] 90.0% [12] 194(3.5%) 0(0.0%) loop ...-7.5/collects/racket/private/map.rkt:40:19 loop [12] 90.0% ??? [15] 10.0% -------------------------------------------------------------------- for-loop [25] 3.7% run [10] 96.3% [13] 5514(100.0%) 410(7.4%) .../more-scheme.rkt:261:28 (unknown source) prepare-points-intervals [16] 51.5% run-improve47 [17] 33.5% get-final-combination [20] 4.0% errors [19] 3.7% eval-errors [21] 3.7% -------------------------------------------------------------------- parse-loop74 [11] 100.0% [14] 494(9.0%) 0(0.0%) eval-const-expr ...etter-rr/src/programs.rkt:144:0 temp85_0 [18] 100.0% -------------------------------------------------------------------- loop [12] 100.0% [15] 194(3.5%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:39:12 bfsub [76] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [13]100.0% [16] 2838(51.5%) 0(0.0%) prepare-points-intervals ...r/src/points.rkt:122:0 loop [22] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [13]100.0% [17] 1846(33.5%) 0(0.0%) run-improve47 .../better-rr/src/mainloop.rkt:364:0 for-loop [23] 88.7% simplify! [37] 11.3% -------------------------------------------------------------------- eval-const-expr [14] 100.0% [18] 494(9.0%) 0(0.0%) temp85_0 (unknown source) compile15 [24] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [13]100.0% [19] 410(7.4%) 0(0.0%) errors ...es/herbie/better-rr/src/points.rkt:192:0 for-loop [25] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [13]100.0% [20] 218(4.0%) 0(0.0%) get-final-combination ...rr/src/mainloop.rkt:389:0 infer-splitpoints [26] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [13]100.0% [21] 202(3.7%) 0(0.0%) eval-errors ...rbie/better-rr/src/points.rkt:170:0 for-loop [27] 100.0% -------------------------------------------------------------------- prepare-points-intervals [16] 100.0% [22] 2838(51.5%) 0(0.0%) loop ...lies/herbie/better-rr/src/points.rkt:134:4 loop [28] 64.4% ??? [30] 35.6% -------------------------------------------------------------------- run-improve47 [17] 100.0% [23] 1638(29.7%) 0(0.0%) for-loop ...erbie/better-rr/src/mainloop.rkt:383:4 run-iter! [29] 100.0% -------------------------------------------------------------------- temp85_0 [18] 100.0% [24] 494(9.0%) 0(0.0%) compile15 (unknown source) loop [34] 62.8% temp91_0 [33] 37.2% -------------------------------------------------------------------- errors [19] 100.0% [25] 410(7.4%) 0(0.0%) for-loop .../herbie/better-rr/src/points.rkt:194:2 .../more-scheme.rkt:261:28 [13]100.0% -------------------------------------------------------------------- get-final-combination [20] 100.0% [26] 218(4.0%) 0(0.0%) infer-splitpoints ...-rr/src/core/regimes.rkt:33:0 for-loop [31] 100.0% -------------------------------------------------------------------- eval-errors [21] 100.0% [27] 202(3.7%) 0(0.0%) for-loop .../herbie/better-rr/src/points.rkt:172:2 ulp-difference [32] 100.0% -------------------------------------------------------------------- loop [22] 100.0% [28] 1828(33.2%) 206(3.7%) loop ...tlies/herbie/better-rr/src/points.rkt:79:2 real->precision [36] 34.0% ??? [70] 32.8% ??? [42] 10.9% hash-update! [41] 10.9% -------------------------------------------------------------------- for-loop [23] 100.0% [29] 1638(29.7%) 0(0.0%) run-iter! ...rbie/better-rr/src/mainloop.rkt:345:0 gen-series! [35] 43.3% localize! [38] 24.1% simplify! [37] 19.4% finalize-iter! [40] 13.2% -------------------------------------------------------------------- loop [22] 100.0% [30] 1010(18.3%) 0(0.0%) ??? ...tlies/herbie/better-rr/src/points.rkt:115:6 sample-multi-bounded [44] 59.8% loop [34] 40.2% -------------------------------------------------------------------- infer-splitpoints [26] 100.0% [31] 218(4.0%) 0(0.0%) for-loop ...ie/better-rr/src/core/regimes.rkt:45:6 option-on-expr [39] 100.0% -------------------------------------------------------------------- for-loop [27] 100.0% [32] 202(3.7%) 0(0.0%) ulp-difference ...bie/better-rr/src/float.rkt:19:0 ??? [70] 100.0% -------------------------------------------------------------------- compile15 [24] 100.0% [33] 184(3.3%) 0(0.0%) temp91_0 (unknown source) temp118_0 [43] 100.0% -------------------------------------------------------------------- expand-capturing-lifts [47] 21.6% compile15 [24] 21.6% ??? [30] 56.7% [34] 716(13.0%) 516(9.4%) loop (unknown source) sample-multi-bounded [44] 27.9% expand-capturing-lifts [47] 21.6% -------------------------------------------------------------------- run-iter! [29] 100.0% [35] 710(12.9%) 0(0.0%) gen-series! ...ie/better-rr/src/mainloop.rkt:159:0 for-loop [45] 100.0% -------------------------------------------------------------------- loop [28] 100.0% [36] 622(11.3%) 0(0.0%) real->precision ...tter-rr/src/programs.rkt:118:11 ??? [70] 100.0% -------------------------------------------------------------------- run-improve47 [17] 39.5% run-iter! [29] 60.5% [37] 526(9.5%) 0(0.0%) simplify! ...rbie/better-rr/src/mainloop.rkt:223:0 ??? [46] 100.0% -------------------------------------------------------------------- run-iter! [29] 100.0% [38] 394(7.1%) 0(0.0%) localize! ...rbie/better-rr/src/mainloop.rkt:126:0 localize-error [48] 100.0% -------------------------------------------------------------------- for-loop [31] 100.0% [39] 218(4.0%) 0(0.0%) option-on-expr ...er-rr/src/core/regimes.rkt:124:0 sort-context-on-expr [49] 100.0% -------------------------------------------------------------------- run-iter! [29] 100.0% [40] 216(3.9%) 0(0.0%) finalize-iter! ...better-rr/src/mainloop.rkt:277:0 ??? [50] 100.0% -------------------------------------------------------------------- loop [28] 100.0% [41] 200(3.6%) 200(3.6%) hash-update! ...cket/private/more-scheme.rkt:365:4 -------------------------------------------------------------------- loop [28] 100.0% [42] 200(3.6%) 0(0.0%) ??? ...tract/private/arrow-higher-order.rkt:379:33 ival-sub [51] 100.0% -------------------------------------------------------------------- temp91_0 [33] 100.0% [43] 184(3.3%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [47] 100.0% -------------------------------------------------------------------- loop [34] 24.9% ??? [30] 75.1% [44] 804(14.6%) 200(3.6%) sample-multi-bounded ...ter-rr/src/points.rkt:14:0 random-ranges [53] 75.1% -------------------------------------------------------------------- gen-series! [35] 100.0% [45] 710(12.9%) 0(0.0%) for-loop ...erbie/better-rr/src/mainloop.rkt:166:7 taylor-alt [52] 100.0% -------------------------------------------------------------------- simplify! [37] 100.0% [46] 526(9.5%) 0(0.0%) ??? ...herbie/better-rr/src/core/simplify.rkt:42:0 egraph-run [54] 100.0% -------------------------------------------------------------------- temp118_0 [43] 37.2% loop [34] 62.8% [47] 494(9.0%) 0(0.0%) expand-capturing-lifts (unknown source) loop [34] 62.8% lambda-clause-expander [57] 37.2% -------------------------------------------------------------------- localize! [38] 100.0% [48] 394(7.1%) 0(0.0%) localize-error ...er-rr/src/core/localize.rkt:57:0 hash-ref! [72] 100.0% -------------------------------------------------------------------- option-on-expr [39] 100.0% [49] 218(4.0%) 0(0.0%) sort-context-on-expr ...src/core/regimes.rkt:117:0 ??? [55] 100.0% -------------------------------------------------------------------- finalize-iter! [40] 100.0% [50] 216(3.9%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [56] 100.0% -------------------------------------------------------------------- ??? [42] 100.0% [51] 200(3.6%) 0(0.0%) ival-sub ...ie/better-rr/src/biginterval.rkt:117:0 bfsub [76] 100.0% -------------------------------------------------------------------- for-loop [45] 100.0% [52] 710(12.9%) 0(0.0%) taylor-alt ...bie/better-rr/src/mainloop.rkt:145:0 for-loop [58] 100.0% -------------------------------------------------------------------- sample-multi-bounded [44] 100.0% [53] 604(11.0%) 0(0.0%) random-ranges ...ie/better-rr/src/common.rkt:164:0 cons/c [59] 100.0% -------------------------------------------------------------------- ??? [46] 100.0% [54] 526(9.5%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [60] 100.0% -------------------------------------------------------------------- sort-context-on-expr [49] 100.0% [55] 218(4.0%) 0(0.0%) ??? ...-7.5/collects/racket/private/sort.rkt:369:3 generic-sort/key [61] 100.0% -------------------------------------------------------------------- ??? [50] 100.0% [56] 216(3.9%) 0(0.0%) for-loop ...better-rr/src/core/alt-table.rkt:192:2 atab-add-altn [62] 100.0% -------------------------------------------------------------------- expand-capturing-lifts [47] 100.0% [57] 184(3.3%) 184(3.3%) lambda-clause-expander (unknown source) -------------------------------------------------------------------- taylor-alt [52] 100.0% [58] 710(12.9%) 0(0.0%) for-loop ...erbie/better-rr/src/mainloop.rkt:151:6 ??? [70] 100.0% -------------------------------------------------------------------- random-ranges [53] 100.0% [59] 604(11.0%) 0(0.0%) cons/c .../racket/contract/private/guts.rkt:500:15 coerce-contract [63] 100.0% -------------------------------------------------------------------- egraph-run [54] 100.0% [60] 526(9.5%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [64] 100.0% -------------------------------------------------------------------- ??? [55] 100.0% [61] 218(4.0%) 0(0.0%) generic-sort/key .../racket/private/sort.rkt:156:2 copying-mergesort [65] 100.0% -------------------------------------------------------------------- for-loop [56] 100.0% [62] 216(3.9%) 0(0.0%) atab-add-altn ...r-rr/src/core/alt-table.rkt:195:0 loop [66] 100.0% -------------------------------------------------------------------- cons/c [59] 100.0% [63] 604(11.0%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [67] 100.0% -------------------------------------------------------------------- egraph-add-exprs [60] 100.0% [64] 526(9.5%) 0(0.0%) ??? ...erbie/better-rr/src/core/simplify.rkt:102:6 for-loop [68] 100.0% -------------------------------------------------------------------- generic-sort/key [61] 25.0% copying-mergesort [65] 75.0% [65] 218(4.0%) 0(0.0%) copying-mergesort ...racket/private/sort.rkt:129:8 copying-mergesort [65] 75.0% jloop [69] 25.0% -------------------------------------------------------------------- atab-add-altn [62] 100.0% [66] 216(3.9%) 216(3.9%) loop ...-7.5/collects/racket/private/hash.rkt:20:4 -------------------------------------------------------------------- coerce-contract [63] 100.0% [67] 604(11.0%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [71] 100.0% -------------------------------------------------------------------- ??? [64] 100.0% [68] 526(9.5%) 526(9.5%) for-loop .../better-rr/src/core/simplify.rkt:121:2 -------------------------------------------------------------------- copying-mergesort [65] 100.0% [69] 218(4.0%) 0(0.0%) jloop ...5/collects/racket/private/sort.rkt:120:23 ??? [70] 100.0% -------------------------------------------------------------------- ulp-difference [32] 8.6% jloop [69] 9.3% ??? [2] 10.1% location-do [73] 10.1% for-loop [58] 10.1% loop [28] 25.5% real->precision [36] 26.4% [70] 2352(42.7%) 820(14.9%) ??? ...tract/private/arrow-higher-order.rkt:375:33 ival-mult [74] 25.5% location-do [73] 10.1% approximate9 [3] 10.1% hash-ref! [72] 10.1% bf [75] 9.4% -------------------------------------------------------------------- coerce-contract/f [67] 100.0% [71] 604(11.0%) 604(11.0%) coerce-simple-value ...ract/private/guts.rkt:385:0 -------------------------------------------------------------------- ??? [77] 5.6% ??? [78] 5.6% ??? [70] 10.5% loop [8] 10.5% for-loop [9] 11.2% localize-error [48] 14.9% map [7] 20.8% ??? [2] 21.0% [72] 1104(20.0%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [2] 31.5% parse-loop15 [79] 26.6% ??? [5] 11.2% ??? [81] 9.1% ??? [78] 5.6% ??? [77] 5.6% f40 [4] 5.6% taylor [80] 4.9% -------------------------------------------------------------------- location-do [73] 13.0% ??? [70] 87.0% [73] 710(12.9%) 0(0.0%) location-do ...bie/better-rr/src/programs.rkt:87:0 ??? [70] 87.0% location-do [73] 13.0% -------------------------------------------------------------------- ??? [70] 100.0% [74] 600(10.9%) 200(3.6%) ival-mult ...e/better-rr/src/biginterval.rkt:129:0 bfsub [76] 66.7% -------------------------------------------------------------------- ??? [70] 100.0% [75] 222(4.0%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 ??? [82] 100.0% -------------------------------------------------------------------- ??? [15] 24.4% ival-sub [51] 25.2% ival-mult [74] 50.4% [76] 794(14.4%) 0(0.0%) bfsub ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [82] 50.4% new-mpfr [83] 49.6% -------------------------------------------------------------------- hash-ref! [72] 100.0% [77] 494(9.0%) 0(0.0%) ??? ...herbie/better-rr/src/core/taylor.rkt:327:33 hash-ref! [72] 100.0% -------------------------------------------------------------------- hash-ref! [72] 100.0% [78] 494(9.0%) 0(0.0%) ??? .../herbie/better-rr/src/core/taylor.rkt:44:15 hash-ref! [72] 100.0% -------------------------------------------------------------------- hash-ref! [72] 100.0% [79] 394(7.1%) 0(0.0%) parse-loop15 (unknown source) map [7] 100.0% -------------------------------------------------------------------- map [7] 33.3% taylor [80] 33.3% hash-ref! [72] 33.3% [80] 216(3.9%) 0(0.0%) taylor ...rbie/better-rr/src/core/taylor.rkt:169:0 taylor [80] 33.3% map [7] 33.3% debug-print [84] 33.3% -------------------------------------------------------------------- hash-ref! [72] 100.0% [81] 200(3.6%) 0(0.0%) ??? ...erbie/better-rr/src/core/localize.rkt:16:13 repeat [85] 100.0% -------------------------------------------------------------------- bf [75] 35.7% bfsub [76] 64.3% [82] 622(11.3%) 622(11.3%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 -------------------------------------------------------------------- bfsub [76] 100.0% [83] 394(7.1%) 394(7.1%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 -------------------------------------------------------------------- taylor [80] 100.0% [84] 216(3.9%) 0(0.0%) debug-print ...erbie/better-rr/src/debug.rkt:110:0 for-loop [86] 100.0% -------------------------------------------------------------------- ??? [81] 100.0% [85] 200(3.6%) 0(0.0%) repeat ...rbie/better-rr/src/core/localize.rkt:7:0 for-loop [87] 100.0% -------------------------------------------------------------------- debug-print [84] 100.0% [86] 216(3.9%) 216(3.9%) for-loop ...s/herbie/better-rr/src/debug.rkt:116:2 -------------------------------------------------------------------- repeat [85] 100.0% [87] 200(3.6%) 200(3.6%) for-loop ...ie/better-rr/src/core/localize.rkt:8:2 --------------------------------------------------------------------