It would be great if the profiler could export profiles to disk for keeping long-term. It would also be good if they were in a format that is readable by other tools (e.g. sample style output works in Shark, Instruments, etc). There may be platform specific styles of output needed. Alternatively this could be a Save/Load mechanic, but Export would be easiest as Profile::debugPrintDataSampleStyle() could be easily converted to achieve this.
<rdar://problem/5958833> JSProfiler: Export profiles
The Timelines tab in Web Inspector in recent builds can export and import recordings — including JavaScript.