Profiling results ----------------- Total cpu time observed: 6416ms (out of 6528ms) Number of samples taken: 31 (once every 207ms) ======================================================================= Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ======================================================================= [1] 6416(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [9] 100.0% ----------------------------------------------------------------------- ??? [66] 100.0% [2] 1760(27.4%) 0(0.0%) approximate9 ...both-ends/src/core/taylor.rkt:11:0 loop [10] 77.8% taylor [18] 11.2% for-loop [16] 10.9% ----------------------------------------------------------------------- loop [92] 34.0% for-loop [94] 66.0% [3] 582(9.1%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [11] 100.0% ----------------------------------------------------------------------- hash-ref! [72] 100.0% [4] 388(6.0%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:300:23 for-loop [12] 100.0% ----------------------------------------------------------------------- hash-ref! [72] 100.0% [5] 386(6.0%) 0(0.0%) ??? ...ection-both-ends/src/core/taylor.rkt:290:26 for-loop [13] 100.0% ----------------------------------------------------------------------- matcher [83] 100.0% [6] 202(3.1%) 0(0.0%) ??? ...ction-both-ends/src/core/matcher.rkt:129:11 for-loop [14] 100.0% ----------------------------------------------------------------------- loop [92] 100.0% [7] 192(3.0%) 0(0.0%) syntax-e (unknown source) syntax-e/no-taint [15] 100.0% ----------------------------------------------------------------------- for-loop [94] 100.0% [8] 190(3.0%) 0(0.0%) expand-implicit (unknown source) datum->syntax6 [33] 100.0% ----------------------------------------------------------------------- ??? [1] 100.0% [9] 6416(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [17] 100.0% ----------------------------------------------------------------------- approximate9 [2] 100.0% [10] 1370(21.4%) 0(0.0%) loop ...tection-both-ends/src/core/taylor.rkt:86:4 ??? [66] 100.0% ----------------------------------------------------------------------- dispatch-transformer41 [3] 100.0% [11] 582(9.1%) 390(6.1%) apply-transformer52 (unknown source) loop [92] 33.0% ----------------------------------------------------------------------- ??? [4] 100.0% [12] 388(6.0%) 0(0.0%) for-loop ...n-both-ends/src/core/taylor.rkt:303:27 hash-ref! [72] 100.0% ----------------------------------------------------------------------- ??? [5] 100.0% [13] 386(6.0%) 0(0.0%) for-loop ...n-both-ends/src/core/taylor.rkt:290:52 hash-ref! [72] 100.0% ----------------------------------------------------------------------- ??? [6] 100.0% [14] 202(3.1%) 0(0.0%) for-loop ...-both-ends/src/core/matcher.rkt:131:15 hash-ref! [72] 100.0% ----------------------------------------------------------------------- syntax-e [7] 100.0% [15] 192(3.0%) 0(0.0%) syntax-e/no-taint (unknown source) loop [92] 100.0% ----------------------------------------------------------------------- approximate9 [2] 100.0% [16] 192(3.0%) 0(0.0%) for-loop ...on-both-ends/src/core/taylor.rkt:29:18 taylor [18] 100.0% ----------------------------------------------------------------------- profile-thunk16 [9] 100.0% [17] 6416(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [19] 100.0% ----------------------------------------------------------------------- approximate9 [2] 16.9% taylor [18] 33.8% for-loop [16] 49.2% [18] 390(6.1%) 0(0.0%) taylor ...tion-both-ends/src/core/taylor.rkt:169:0 map [20] 66.2% taylor [18] 33.8% ----------------------------------------------------------------------- parse-loop74 [81] 6.2% f61 [86] 7.5% for-loop [74] 7.9% run [17] 78.4% [19] 6416(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [21] 49.1% prepare-points-intervals [22] 21.4% ??? [97] 6.3% temp85_0 [73] 6.0% loop [92] 3.2% get-final-combination [27] 3.0% eval-prog [24] 3.0% eval-errors [28] 2.5% oracle-error [29] 2.4% *bit-width* [25] 1.6% eval [26] 1.5% ----------------------------------------------------------------------- f61 [86] 33.0% taylor [18] 67.0% [20] 582(9.1%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 taylor-sqrt [23] 67.0% f61 [86] 33.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [19] 100.0% [21] 4534(70.7%) 0(0.0%) run-improve47 ...-both-ends/src/mainloop.rkt:365:0 for-loop [30] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [19] 100.0% [22] 1376(21.4%) 0(0.0%) prepare-points-intervals ...s/src/points.rkt:133:0 loop [31] 100.0% ----------------------------------------------------------------------- map [20] 100.0% [23] 390(6.1%) 0(0.0%) taylor-sqrt ...both-ends/src/core/taylor.rkt:351:0 parse-loop74 [81] 50.8% f61 [86] 49.2% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [19] 100.0% [24] 384(6.0%) 0(0.0%) eval-prog ...tion-both-ends/src/programs.rkt:106:0 inductor [32] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [19] 100.0% [25] 200(3.1%) 200(3.1%) *bit-width* ...ection-both-ends/src/float.rkt:34:0 ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [19] 100.0% [26] 194(3.0%) 0(0.0%) eval (unknown source) datum->syntax6 [33] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [19] 100.0% [27] 192(3.0%) 0(0.0%) get-final-combination ...ds/src/mainloop.rkt:390:0 infer-splitpoints [34] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [19] 100.0% [28] 162(2.5%) 0(0.0%) eval-errors ...tion-both-ends/src/points.rkt:181:0 for-loop [35] 100.0% ----------------------------------------------------------------------- .../more-scheme.rkt:261:28 [19] 100.0% [29] 152(2.4%) 0(0.0%) oracle-error ...ion-both-ends/src/points.rkt:190:0 for-loop [36] 100.0% ----------------------------------------------------------------------- run-improve47 [21] 100.0% [30] 4534(70.7%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:384:4 run-iter! [37] 100.0% ----------------------------------------------------------------------- prepare-points-intervals [22] 100.0% [31] 1376(21.4%) 0(0.0%) loop ...w-detection-both-ends/src/points.rkt:145:4 loop [38] 85.5% ??? [40] 14.5% ----------------------------------------------------------------------- eval-prog [24] 16.7% inductor [32] 83.3% [32] 384(6.0%) 0(0.0%) inductor ...ction-both-ends/src/programs.rkt:127:4 inductor [32] 83.3% table-ref [39] 16.7% ----------------------------------------------------------------------- expand-implicit [8] 49.5% eval [26] 50.5% [33] 384(6.0%) 190(3.0%) datum->syntax6 (unknown source) loop [92] 50.5% ----------------------------------------------------------------------- get-final-combination [27] 100.0% [34] 192(3.0%) 0(0.0%) infer-splitpoints ...nds/src/core/regimes.rkt:33:0 for-loop [41] 100.0% ----------------------------------------------------------------------- eval-errors [28] 100.0% [35] 162(2.5%) 0(0.0%) for-loop ...tection-both-ends/src/points.rkt:183:2 ulp-difference [42] 100.0% ----------------------------------------------------------------------- oracle-error [29] 100.0% [36] 152(2.4%) 0(0.0%) for-loop ...tection-both-ends/src/points.rkt:191:2 loop [92] 100.0% ----------------------------------------------------------------------- for-loop [30] 100.0% [37] 4534(70.7%) 0(0.0%) run-iter! ...tion-both-ends/src/mainloop.rkt:346:0 gen-series! [43] 38.8% finalize-iter! [44] 31.3% simplify! [45] 20.8% debug5 [47] 4.6% gen-rewrites! [48] 4.5% ----------------------------------------------------------------------- loop [31] 100.0% [38] 1176(18.3%) 196(3.1%) loop ...ow-detection-both-ends/src/points.rkt:81:2 real->precision [46] 34.0% ??? [66] 32.3% hash-update! [49] 17.0% ----------------------------------------------------------------------- inductor [32] 100.0% [39] 384(6.0%) 384(6.0%) table-ref ...tection-both-ends/src/common.rkt:33:0 ----------------------------------------------------------------------- loop [31] 100.0% [40] 200(3.1%) 200(3.1%) ??? ...ow-detection-both-ends/src/points.rkt:126:6 ----------------------------------------------------------------------- infer-splitpoints [34] 100.0% [41] 192(3.0%) 0(0.0%) for-loop ...on-both-ends/src/core/regimes.rkt:45:6 option-on-expr [50] 100.0% ----------------------------------------------------------------------- for-loop [35] 100.0% [42] 162(2.5%) 162(2.5%) ulp-difference ...ion-both-ends/src/float.rkt:19:0 ----------------------------------------------------------------------- run-iter! [37] 100.0% [43] 1760(27.4%) 0(0.0%) gen-series! ...on-both-ends/src/mainloop.rkt:160:0 for-loop [51] 100.0% ----------------------------------------------------------------------- run-iter! [37] 100.0% [44] 1418(22.1%) 0(0.0%) finalize-iter! ...both-ends/src/mainloop.rkt:278:0 ??? [52] 100.0% ----------------------------------------------------------------------- run-iter! [37] 100.0% [45] 944(14.7%) 0(0.0%) simplify! ...tion-both-ends/src/mainloop.rkt:224:0 ??? [53] 100.0% ----------------------------------------------------------------------- loop [38] 100.0% [46] 400(6.2%) 0(0.0%) real->precision ...th-ends/src/programs.rkt:118:11 ??? [66] 100.0% ----------------------------------------------------------------------- run-iter! [37] 100.0% [47] 210(3.3%) 210(3.3%) debug5 ...-detection-both-ends/src/debug.rkt:102:0 ----------------------------------------------------------------------- run-iter! [37] 100.0% [48] 202(3.1%) 0(0.0%) gen-rewrites! ...-both-ends/src/mainloop.rkt:183:0 for-loop [54] 100.0% ----------------------------------------------------------------------- loop [38] 100.0% [49] 200(3.1%) 200(3.1%) hash-update! ...cket/private/more-scheme.rkt:365:4 ----------------------------------------------------------------------- for-loop [41] 100.0% [50] 192(3.0%) 0(0.0%) option-on-expr ...-ends/src/core/regimes.rkt:124:0 err-lsts->split-indices [55] 100.0% ----------------------------------------------------------------------- gen-series! [43] 100.0% [51] 1760(27.4%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:167:7 taylor-alt [56] 100.0% ----------------------------------------------------------------------- finalize-iter! [44] 100.0% [52] 1418(22.1%) 0(0.0%) ??? ...contract/private/arrow-val-first.rkt:486:18 for-loop [57] 100.0% ----------------------------------------------------------------------- simplify! [45] 100.0% [53] 944(14.7%) 216(3.4%) ??? ...ection-both-ends/src/core/simplify.rkt:42:0 egraph-run [58] 77.1% ----------------------------------------------------------------------- gen-rewrites! [48] 100.0% [54] 202(3.1%) 0(0.0%) for-loop ...tion-both-ends/src/mainloop.rkt:191:11 rewrite-expression-head23 [59] 100.0% ----------------------------------------------------------------------- option-on-expr [50] 100.0% [55] 192(3.0%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:263:0 loop [60] 100.0% ----------------------------------------------------------------------- for-loop [51] 100.0% [56] 1760(27.4%) 0(0.0%) taylor-alt ...ion-both-ends/src/mainloop.rkt:146:0 for-loop [61] 100.0% ----------------------------------------------------------------------- ??? [52] 100.0% [57] 1418(22.1%) 0(0.0%) for-loop ...both-ends/src/core/alt-table.rkt:201:2 atab-add-altn [62] 100.0% ----------------------------------------------------------------------- ??? [53] 100.0% [58] 728(11.3%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [63] 100.0% ----------------------------------------------------------------------- for-loop [54] 100.0% [59] 202(3.1%) 0(0.0%) rewrite-expression-head23 ...core/matcher.rkt:83:0 rewriter [64] 100.0% ----------------------------------------------------------------------- err-lsts->split-indices [55] 100.0% [60] 192(3.0%) 0(0.0%) loop ...ction-both-ends/src/core/regimes.rkt:314:4 for-loop [65] 100.0% ----------------------------------------------------------------------- taylor-alt [56] 100.0% [61] 1760(27.4%) 0(0.0%) for-loop ...ction-both-ends/src/mainloop.rkt:152:6 ??? [66] 100.0% ----------------------------------------------------------------------- for-loop [57] 100.0% [62] 1418(22.1%) 0(0.0%) atab-add-altn ...ends/src/core/alt-table.rkt:204:0 errors [67] 100.0% ----------------------------------------------------------------------- egraph-run [58] 100.0% [63] 728(11.3%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [68] 100.0% ----------------------------------------------------------------------- matcher [83] 50.0% rewrite-expression-head23 [59] 50.0% [64] 202(3.1%) 0(0.0%) rewriter ...on-both-ends/src/core/matcher.rkt:85:2 for-loop [69] 100.0% ----------------------------------------------------------------------- loop [60] 100.0% [65] 192(3.0%) 0(0.0%) for-loop ...n-both-ends/src/core/regimes.rkt:279:4 for-loop [70] 100.0% ----------------------------------------------------------------------- loop [38] 15.0% real->precision [46] 15.7% loop [10] 18.0% location-do [71] 25.7% for-loop [61] 25.7% [66] 2540(39.6%) 196(3.1%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [71] 25.7% approximate9 [2] 25.7% hash-ref! [72] 18.0% bf [76] 8.0% ival-mult [77] 7.6% ival-div [78] 7.4% ----------------------------------------------------------------------- atab-add-altn [62] 100.0% [67] 1418(22.1%) 0(0.0%) errors ...detection-both-ends/src/points.rkt:203:0 for-loop [74] 71.4% temp85_0 [73] 28.6% ----------------------------------------------------------------------- egraph-add-exprs [63] 100.0% [68] 728(11.3%) 0(0.0%) ??? ...ction-both-ends/src/core/simplify.rkt:103:6 for-loop [75] 100.0% ----------------------------------------------------------------------- rewriter [64] 100.0% [69] 202(3.1%) 0(0.0%) for-loop ...on-both-ends/src/core/matcher.rkt:87:4 hash-ref! [72] 100.0% ----------------------------------------------------------------------- for-loop [65] 100.0% [70] 192(3.0%) 192(3.0%) for-loop ...n-both-ends/src/core/regimes.rkt:283:8 ----------------------------------------------------------------------- location-do [71] 24.2% ??? [66] 75.8% [71] 1760(27.4%) 0(0.0%) location-do ...ion-both-ends/src/programs.rkt:87:0 ??? [66] 75.8% location-do [71] 24.2% ----------------------------------------------------------------------- for-loop [14] 4.3% for-loop [13] 6.5% for-loop [69] 8.6% for-loop [12] 9.1% ??? [80] 29.6% ??? [66] 42.0% [72] 1572(24.5%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 ??? [80] 29.6% parse-loop74 [81] 23.1% f61 [86] 18.9% matcher [83] 12.8% ??? [4] 9.1% ??? [5] 6.5% ----------------------------------------------------------------------- errors [67] 34.5% .../more-scheme.rkt:261:28 [19] 65.5% [73] 1178(18.4%) 0(0.0%) temp85_0 (unknown source) compile15 [79] 100.0% ----------------------------------------------------------------------- errors [67] 100.0% [74] 1012(15.8%) 0(0.0%) for-loop ...tection-both-ends/src/points.rkt:205:2 .../more-scheme.rkt:261:28 [19] 100.0% ----------------------------------------------------------------------- ??? [68] 100.0% [75] 728(11.3%) 728(11.3%) for-loop ...-both-ends/src/core/simplify.rkt:121:2 ----------------------------------------------------------------------- ??? [66] 100.0% [76] 204(3.2%) 0(0.0%) bf ...ath-lib/math/private/bigfloat/mpfr.rkt:615:2 new-mpfr [82] 100.0% ----------------------------------------------------------------------- ??? [66] 100.0% [77] 192(3.0%) 192(3.0%) ival-mult ...n-both-ends/src/biginterval.rkt:210:0 ----------------------------------------------------------------------- ??? [66] 100.0% [78] 188(2.9%) 0(0.0%) ival-div ...on-both-ends/src/biginterval.rkt:248:0 epdiv [84] 100.0% ----------------------------------------------------------------------- temp85_0 [73] 100.0% [79] 1178(18.4%) 0(0.0%) compile15 (unknown source) temp91_0 [85] 100.0% ----------------------------------------------------------------------- hash-ref! [72] 100.0% [80] 1176(18.3%) 0(0.0%) ??? ...tection-both-ends/src/core/taylor.rkt:44:15 hash-ref! [72] 100.0% ----------------------------------------------------------------------- taylor-sqrt [23] 20.0% hash-ref! [72] 80.0% [81] 988(15.4%) 0(0.0%) parse-loop74 (unknown source) .../more-scheme.rkt:261:28 [19] 80.6% f61 [86] 19.4% ----------------------------------------------------------------------- bf [76] 100.0% [82] 204(3.2%) 204(3.2%) new-mpfr ...b/math/private/bigfloat/mpfr.rkt:348:0 ----------------------------------------------------------------------- hash-ref! [72] 100.0% [83] 202(3.1%) 202(3.1%) matcher ...on-both-ends/src/core/matcher.rkt:117:2 ??? [6] 33.3% rewriter [64] 33.3% ----------------------------------------------------------------------- ival-div [78] 100.0% [84] 188(2.9%) 0(0.0%) epdiv ...ction-both-ends/src/biginterval.rkt:237:0 bfdiv [87] 100.0% ----------------------------------------------------------------------- compile15 [79] 100.0% [85] 1178(18.4%) 0(0.0%) temp91_0 (unknown source) temp118_0 [88] 100.0% ----------------------------------------------------------------------- map [20] 10.0% parse-loop74 [81] 10.0% taylor-sqrt [23] 19.9% hash-ref! [72] 60.2% [86] 964(15.0%) 0(0.0%) f61 (unknown source) .../more-scheme.rkt:261:28 [19] 90.0% map [20] 10.0% ----------------------------------------------------------------------- epdiv [84] 100.0% [87] 188(2.9%) 0(0.0%) bfdiv ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [89] 100.0% ----------------------------------------------------------------------- temp91_0 [85] 100.0% [88] 1178(18.4%) 0(0.0%) temp118_0 (unknown source) expand-capturing-lifts [90] 100.0% ----------------------------------------------------------------------- bfdiv [87] 100.0% [89] 188(2.9%) 188(2.9%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 ----------------------------------------------------------------------- loop [92] 25.8% temp118_0 [88] 74.2% [90] 1588(24.8%) 196(3.1%) expand-capturing-lifts (unknown source) lambda-clause-expander [91] 74.2% expand-id-application-form17 [98] 13.5% ----------------------------------------------------------------------- expand-capturing-lifts [90] 100.0% [91] 1178(18.4%) 0(0.0%) lambda-clause-expander (unknown source) finish-bodys [93] 83.2% loop [92] 16.8% ----------------------------------------------------------------------- datum->syntax6 [33] 1.0% syntax-e/no-taint [15] 8.4% apply-transformer52 [11] 8.4% for-loop [36] 13.3% loop [92] 15.9% lambda-clause-expander [91] 17.3% .../more-scheme.rkt:261:28 [19] 35.8% [92] 1146(17.9%) 194(3.0%) loop (unknown source) expand-capturing-lifts [90] 35.8% dispatch-transformer41 [3] 17.3% loop [92] 15.9% ??? [96] 13.3% syntax-e [7] 8.4% gf [95] 8.4% ----------------------------------------------------------------------- lambda-clause-expander [91] 42.0% for-loop [94] 58.0% [93] 980(15.3%) 0(0.0%) finish-bodys (unknown source) for-loop [94] 100.0% ----------------------------------------------------------------------- for-loop [94] 25.8% finish-bodys [93] 74.2% [94] 980(15.3%) 204(3.2%) for-loop (unknown source) finish-bodys [93] 46.2% for-loop [94] 25.8% dispatch-transformer41 [3] 13.7% expand-implicit [8] 2.4% expand-id-application-form17 [98] 1.4% ----------------------------------------------------------------------- loop [92] 100.0% [95] 192(3.0%) 0(0.0%) gf (unknown source) cache-or-reuse-hash [99] 100.0% ----------------------------------------------------------------------- loop [92] 100.0% [96] 152(2.4%) 0(0.0%) ??? ...w-detection-both-ends/src/points.rkt:192:26 ??? [97] 100.0% ----------------------------------------------------------------------- ??? [96] 15.8% .../more-scheme.rkt:261:28 [19] 84.2% [97] 964(15.0%) 764(11.9%) ??? ...tion-both-ends/src/syntax/syntax.rkt:214:17 list-member? [102] 20.7% ----------------------------------------------------------------------- for-loop [94] 48.6% expand-capturing-lifts [90] 51.4% [98] 416(6.5%) 0(0.0%) expand-id-application-form17 (unknown source) binding-lookup52 [100] 51.4% resolve+shift28 [101] 48.6% ----------------------------------------------------------------------- gf [95] 100.0% [99] 192(3.0%) 192(3.0%) cache-or-reuse-hash (unknown source) ----------------------------------------------------------------------- expand-id-application-form17 [98]100.0% [100] 214(3.3%) 214(3.3%) binding-lookup52 (unknown source) ----------------------------------------------------------------------- expand-id-application-form17 [98]100.0% [101] 202(3.1%) 202(3.1%) resolve+shift28 (unknown source) ----------------------------------------------------------------------- ??? [97] 100.0% [102] 200(3.1%) 200(3.1%) list-member? ...llects/racket/private/set.rkt:24:0 -----------------------------------------------------------------------