Arc Forumnew | comments | leaders | submitlogin
4 points by almkglor 6052 days ago | link | parent

Oof. Tough. I and raymyers did some work back on a profiler when we were optimizing treeparse, but it didn't quite work well in my use-case.

Certainly it seems to involve deeper hackery skills than I seem to have right now ^^.

As an aside, it might be slightly easier to actually insert profiling code in arc2c. Each function has its own ID number in arc2c and all we need is some sort of index from ID number to original function name (given that a function in arc2c may be split by CPS conversion, so a function with a name may end up being split into several functions),