Profiling results ----------------- Total cpu time observed: 3292ms (out of 3412ms) Number of samples taken: 15 (once every 219ms) ==================================================================== Caller Idx Total Self Name+src Local% ms(pct) ms(pct) Callee ==================================================================== [1] 3292(100.0%) 0(0.0%) ??? ...lects/racket/private/more-scheme.rkt:261:28 profile-thunk16 [7] 100.0% -------------------------------------------------------------------- hash-ref! [61] 100.0% [2] 300(9.1%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:67:15 ??? [57] 100.0% -------------------------------------------------------------------- ??? [57] 100.0% [3] 300(9.1%) 0(0.0%) approximate9 ...ie/master/src/core/taylor.rkt:11:0 loop [8] 100.0% -------------------------------------------------------------------- hash-ref! [61] 100.0% [4] 300(9.1%) 0(0.0%) parse-loop74 (unknown source) eval-const-expr [10] 100.0% -------------------------------------------------------------------- hash-ref! [61] 100.0% [5] 300(9.1%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:300:23 for-loop [9] 100.0% -------------------------------------------------------------------- loop [55] 100.0% [6] 300(9.1%) 0(0.0%) expand-capturing-lifts (unknown source) dispatch-transformer41 [11] 100.0% -------------------------------------------------------------------- ??? [1] 100.0% [7] 3292(100.0%) 0(0.0%) profile-thunk16 ...e/pkgs/profile-lib/main.rkt:9:0 run [12] 100.0% -------------------------------------------------------------------- approximate9 [3] 100.0% [8] 300(9.1%) 0(0.0%) loop ...ies/herbie/master/src/core/taylor.rkt:86:4 hash-ref! [61] 100.0% -------------------------------------------------------------------- ??? [5] 100.0% [9] 300(9.1%) 0(0.0%) for-loop ...rbie/master/src/core/taylor.rkt:303:27 hash-ref! [61] 100.0% -------------------------------------------------------------------- parse-loop74 [4] 100.0% [10] 300(9.1%) 0(0.0%) eval-const-expr ...e/master/src/programs.rkt:144:0 loop [55] 100.0% -------------------------------------------------------------------- expand-capturing-lifts [6] 100.0% [11] 300(9.1%) 0(0.0%) dispatch-transformer41 (unknown source) apply-transformer52 [13] 100.0% -------------------------------------------------------------------- profile-thunk16 [7] 100.0% [12] 3292(100.0%) 0(0.0%) run ...et-7.5/share/pkgs/profile-lib/main.rkt:39:2 .../more-scheme.rkt:261:28 [14]100.0% -------------------------------------------------------------------- dispatch-transformer41 [11] 100.0% [13] 300(9.1%) 0(0.0%) apply-transformer52 (unknown source) apply-post-expansion [15] 100.0% -------------------------------------------------------------------- for-loop [25] 6.1% run [12] 93.9% [14] 3292(100.0%) 0(0.0%) .../more-scheme.rkt:261:28 (unknown source) run-improve47 [16] 38.0% prepare-points-intervals [17] 36.8% get-final-combination [20] 6.8% errors [18] 6.1% baseline-error [22] 6.1% ulp-difference [21] 3.1% ??? [57] 3.0% -------------------------------------------------------------------- apply-transformer52 [13] 100.0% [15] 300(9.1%) 0(0.0%) apply-post-expansion (unknown source) gf [19] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14]100.0% [16] 1252(38.0%) 0(0.0%) run-improve47 ...bie/master/src/mainloop.rkt:364:0 for-loop [23] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14]100.0% [17] 1210(36.8%) 0(0.0%) prepare-points-intervals ...r/src/points.rkt:122:0 loop [24] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14]100.0% [18] 404(12.3%) 0(0.0%) errors ...tlies/herbie/master/src/points.rkt:192:0 for-loop [25] 100.0% -------------------------------------------------------------------- apply-post-expansion [15] 20.0% loop [55] 80.0% [19] 300(9.1%) 0(0.0%) gf (unknown source) loop [55] 80.0% syntax-e/no-taint [26] 20.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14]100.0% [20] 224(6.8%) 0(0.0%) get-final-combination ...er/src/mainloop.rkt:389:0 infer-splitpoints [27] 100.0% -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14]100.0% [21] 204(6.2%) 204(6.2%) ulp-difference ...herbie/master/src/float.rkt:19:0 -------------------------------------------------------------------- .../more-scheme.rkt:261:28 [14]100.0% [22] 202(6.1%) 0(0.0%) baseline-error ...rbie/master/src/points.rkt:183:0 argmin [28] 100.0% -------------------------------------------------------------------- run-improve47 [16] 100.0% [23] 1252(38.0%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:383:4 run-iter! [29] 100.0% -------------------------------------------------------------------- prepare-points-intervals [17] 100.0% [24] 1210(36.8%) 200(6.1%) loop ...ghtlies/herbie/master/src/points.rkt:134:4 ??? [30] 50.4% loop [31] 33.1% -------------------------------------------------------------------- errors [18] 100.0% [25] 404(12.3%) 0(0.0%) for-loop ...ies/herbie/master/src/points.rkt:194:2 .../more-scheme.rkt:261:28 [14]100.0% -------------------------------------------------------------------- gf [19] 100.0% [26] 300(9.1%) 0(0.0%) syntax-e/no-taint (unknown source) loop [55] 100.0% -------------------------------------------------------------------- get-final-combination [20] 100.0% [27] 224(6.8%) 0(0.0%) infer-splitpoints ...ter/src/core/regimes.rkt:33:0 for-loop [32] 100.0% -------------------------------------------------------------------- baseline-error [22] 100.0% [28] 202(6.1%) 0(0.0%) argmin ...acket-7.5/collects/racket/list.rkt:765:0 ??? [33] 100.0% -------------------------------------------------------------------- for-loop [23] 100.0% [29] 1252(38.0%) 0(0.0%) run-iter! .../herbie/master/src/mainloop.rkt:345:0 simplify! [34] 59.9% gen-series! [36] 24.0% localize! [39] 16.1% -------------------------------------------------------------------- loop [24] 100.0% [30] 610(18.5%) 202(6.1%) ??? ...ightlies/herbie/master/src/points.rkt:115:6 sample-multi-bounded [35] 66.9% -------------------------------------------------------------------- loop [24] 100.0% [31] 400(12.2%) 200(6.1%) loop ...ightlies/herbie/master/src/points.rkt:79:2 ??? [40] 50.0% -------------------------------------------------------------------- infer-splitpoints [27] 100.0% [32] 224(6.8%) 0(0.0%) for-loop ...erbie/master/src/core/regimes.rkt:45:6 option-on-expr [37] 100.0% -------------------------------------------------------------------- argmin [28] 100.0% [33] 202(6.1%) 0(0.0%) ??? ...ghtlies/herbie/master/src/points.rkt:184:27 eval-errors [38] 100.0% -------------------------------------------------------------------- run-iter! [29] 100.0% [34] 750(22.8%) 0(0.0%) simplify! .../herbie/master/src/mainloop.rkt:223:0 ??? [41] 100.0% -------------------------------------------------------------------- ??? [30] 100.0% [35] 408(12.4%) 208(6.3%) sample-multi-bounded ...master/src/points.rkt:14:0 random-ranges [46] 49.0% -------------------------------------------------------------------- run-iter! [29] 100.0% [36] 300(9.1%) 0(0.0%) gen-series! ...erbie/master/src/mainloop.rkt:159:0 for-loop [42] 100.0% -------------------------------------------------------------------- for-loop [32] 100.0% [37] 224(6.8%) 0(0.0%) option-on-expr ...aster/src/core/regimes.rkt:124:0 err-lsts->split-indices [43] 100.0% -------------------------------------------------------------------- ??? [33] 100.0% [38] 202(6.1%) 0(0.0%) eval-errors .../herbie/master/src/points.rkt:170:0 for-loop [44] 100.0% -------------------------------------------------------------------- run-iter! [29] 100.0% [39] 202(6.1%) 0(0.0%) localize! .../herbie/master/src/mainloop.rkt:126:0 localize-error [45] 100.0% -------------------------------------------------------------------- loop [31] 100.0% [40] 200(6.1%) 200(6.1%) ??? ...tract/private/arrow-higher-order.rkt:379:33 -------------------------------------------------------------------- simplify! [34] 100.0% [41] 750(22.8%) 0(0.0%) ??? ...es/herbie/master/src/core/simplify.rkt:42:0 egraph-run [47] 100.0% -------------------------------------------------------------------- gen-series! [36] 100.0% [42] 300(9.1%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:166:7 taylor-alt [48] 100.0% -------------------------------------------------------------------- option-on-expr [37] 100.0% [43] 224(6.8%) 0(0.0%) err-lsts->split-indices .../core/regimes.rkt:263:0 loop [49] 100.0% -------------------------------------------------------------------- eval-errors [38] 100.0% [44] 202(6.1%) 202(6.1%) for-loop ...ies/herbie/master/src/points.rkt:172:2 -------------------------------------------------------------------- localize! [39] 100.0% [45] 202(6.1%) 0(0.0%) localize-error ...aster/src/core/localize.rkt:57:0 hash-ref! [61] 100.0% -------------------------------------------------------------------- sample-multi-bounded [35] 100.0% [46] 200(6.1%) 0(0.0%) random-ranges ...erbie/master/src/common.rkt:164:0 build--> [50] 100.0% -------------------------------------------------------------------- ??? [41] 100.0% [47] 750(22.8%) 0(0.0%) egraph-run .../pkgs/egg-herbie-linux/main.rkt:49:0 egraph-add-exprs [51] 100.0% -------------------------------------------------------------------- for-loop [42] 100.0% [48] 300(9.1%) 0(0.0%) taylor-alt ...herbie/master/src/mainloop.rkt:145:0 for-loop [52] 100.0% -------------------------------------------------------------------- err-lsts->split-indices [43] 100.0% [49] 224(6.8%) 0(0.0%) loop ...s/herbie/master/src/core/regimes.rkt:314:4 for-loop [53] 100.0% -------------------------------------------------------------------- random-ranges [46] 100.0% [50] 200(6.1%) 0(0.0%) build--> ...act/private/arrow-val-first.rkt:1214:0 coerce-contract [54] 100.0% -------------------------------------------------------------------- egraph-run [47] 100.0% [51] 750(22.8%) 0(0.0%) egraph-add-exprs ...gg-herbie-linux/main.rkt:111:0 ??? [56] 68.0% loop [55] 32.0% -------------------------------------------------------------------- taylor-alt [48] 100.0% [52] 300(9.1%) 0(0.0%) for-loop ...s/herbie/master/src/mainloop.rkt:151:6 ??? [57] 100.0% -------------------------------------------------------------------- loop [49] 100.0% [53] 224(6.8%) 0(0.0%) for-loop ...rbie/master/src/core/regimes.rkt:279:4 for-loop [58] 100.0% -------------------------------------------------------------------- build--> [50] 100.0% [54] 200(6.1%) 0(0.0%) coerce-contract ...contract/private/guts.rkt:307:0 coerce-contract/f [59] 100.0% -------------------------------------------------------------------- syntax-e/no-taint [26] 6.9% eval-const-expr [10] 6.9% loop [55] 13.9% gf [19] 27.8% egraph-add-exprs [51] 44.4% [55] 540(16.4%) 540(16.4%) loop (unknown source) gf [19] 27.8% loop [55] 13.9% expand-capturing-lifts [6] 6.9% -------------------------------------------------------------------- egraph-add-exprs [51] 100.0% [56] 510(15.5%) 0(0.0%) ??? ...s/herbie/master/src/core/simplify.rkt:102:6 for-loop [60] 100.0% -------------------------------------------------------------------- ??? [2] 20.0% location-do [62] 20.0% for-loop [52] 20.0% .../more-scheme.rkt:261:28 [14] 40.0% [57] 500(15.2%) 200(6.1%) ??? ...tract/private/arrow-higher-order.rkt:375:33 location-do [62] 20.0% approximate9 [3] 20.0% hash-ref! [61] 20.0% -------------------------------------------------------------------- for-loop [53] 100.0% [58] 224(6.8%) 0(0.0%) for-loop ...rbie/master/src/core/regimes.rkt:283:8 ??? [63] 100.0% -------------------------------------------------------------------- coerce-contract [54] 100.0% [59] 200(6.1%) 0(0.0%) coerce-contract/f ...ntract/private/guts.rkt:372:0 coerce-simple-value [64] 100.0% -------------------------------------------------------------------- ??? [56] 100.0% [60] 510(15.5%) 510(15.5%) for-loop ...bie/master/src/core/simplify.rkt:121:2 -------------------------------------------------------------------- ??? [66] 12.0% for-loop [9] 12.0% ??? [65] 12.0% ??? [57] 12.0% loop [8] 12.0% map [68] 20.1% localize-error [45] 20.1% [61] 502(15.2%) 0(0.0%) hash-ref! .../racket/private/more-scheme.rkt:376:2 parse-loop15 [67] 40.2% ??? [2] 12.0% ??? [65] 12.0% ??? [5] 12.0% ??? [66] 12.0% parse-loop74 [4] 12.0% -------------------------------------------------------------------- ??? [57] 100.0% [62] 300(9.1%) 0(0.0%) location-do ...herbie/master/src/programs.rkt:87:0 ??? [57] 100.0% -------------------------------------------------------------------- for-loop [58] 100.0% [63] 224(6.8%) 224(6.8%) ??? ...cket-7.5/collects/racket/function.rkt:93:12 -------------------------------------------------------------------- coerce-contract/f [59] 100.0% [64] 200(6.1%) 200(6.1%) coerce-simple-value ...ract/private/guts.rkt:385:0 -------------------------------------------------------------------- hash-ref! [61] 100.0% [65] 300(9.1%) 0(0.0%) ??? ...ies/herbie/master/src/core/taylor.rkt:44:15 hash-ref! [61] 100.0% -------------------------------------------------------------------- hash-ref! [61] 100.0% [66] 300(9.1%) 0(0.0%) ??? ...es/herbie/master/src/core/taylor.rkt:343:33 hash-ref! [61] 100.0% -------------------------------------------------------------------- hash-ref! [61] 100.0% [67] 202(6.1%) 0(0.0%) parse-loop15 (unknown source) map [68] 100.0% -------------------------------------------------------------------- parse-loop15 [67] 100.0% [68] 202(6.1%) 0(0.0%) map ...t-7.5/collects/racket/private/map.rkt:35:13 hash-ref! [61] 50.0% loop [69] 50.0% -------------------------------------------------------------------- map [68] 100.0% [69] 202(6.1%) 0(0.0%) loop ...-7.5/collects/racket/private/map.rkt:40:19 bf* [70] 100.0% -------------------------------------------------------------------- loop [69] 100.0% [70] 202(6.1%) 0(0.0%) bf* ...ath/private/bigfloat/bigfloat-mpfr.rkt:95:0 ??? [71] 100.0% -------------------------------------------------------------------- bf* [70] 100.0% [71] 202(6.1%) 0(0.0%) ??? ...-racket/utils/simple-result-arrow.rkt:39:12 bfmul [72] 100.0% -------------------------------------------------------------------- ??? [71] 100.0% [72] 202(6.1%) 0(0.0%) bfmul ...-lib/math/private/bigfloat/mpfr.rkt:835:4 ??? [73] 100.0% -------------------------------------------------------------------- bfmul [72] 100.0% [73] 202(6.1%) 202(6.1%) ??? /opt/racket-7.5/collects/ffi/unsafe.rkt:938:4 --------------------------------------------------------------------