arc> (profiler (repeat 5 (tokens (rand-string 1000) #\0)))
Message : Unhandled exception on thread#0: can't compare rand-string with rand-string
At instruction (invocation:[free:rainbow-profile-report->[builtin:rainbow-profile-report]])
(fn nil (html-prof ((rainbow-profile-report) 'invocation-profile)))
[builtin:protect]
Java stack : rainbow.ArcError: Unhandled exception on thread#0: can't compare rand-string with rand-string
At instruction (invocation:[free:rainbow-profile-report->[builtin:rainbow-profile-report]])
(fn nil (html-prof ((rainbow-profile-report) 'invocation-profile)))
[builtin:protect]
at rainbow.vm.VM.thread(VM.java:72)
at rainbow.Console.compileAndEval(Console.java:193)
at rainbow.Console.interpret(Console.java:127)
at rainbow.Console.repl(Console.java:117)
at rainbow.Console.main(Console.java:59)
Caused by: rainbow.ArcError: can't compare rand-string with rand-string
at rainbow.functions.rainbow.RainbowProfileReport$FunctionProfileComparator.compare(RainbowProfileReport.java:90)
at rainbow.functions.rainbow.RainbowProfileReport$FunctionProfileComparator.compare(RainbowProfileReport.java:80)
at java.util.TreeMap.compare(TreeMap.java:1188)
at java.util.TreeMap.put(TreeMap.java:531)
at java.util.TreeSet.add(TreeSet.java:255)
at rainbow.functions.rainbow.RainbowProfileReport.createInvocationReport(RainbowProfileReport.java:60)
at rainbow.functions.rainbow.RainbowProfileReport.createReport(RainbowProfileReport.java:36)
at rainbow.functions.rainbow.RainbowProfileReport.report(RainbowProfileReport.java:31)
at rainbow.functions.rainbow.RainbowProfileReport.invokef(RainbowProfileReport.java:22)
at rainbow.vm.instructions.invoke.optimise.Invoke_free.operate(Invoke_free.java:22)
at rainbow.vm.VM.loop(VM.java:91)
at rainbow.vm.VM.thread(VM.java:58)
... 4 more
arc>