6

My project is coded in Processing, is there available profiler for Processing? If not, how to test the performance of Processing program?

Thanks and Best Regards

Summer_More_More_Tea
  • 12,740
  • 12
  • 51
  • 83
  • Please specify what kind of profiling/performance you are interested in. Basically, processing is a Java and JVM based language, and can be profiled with all kind of Java default profiling tools, like JVisualVM, GC log profiling, etcetera. Other profiling can include simple timing loops around or inside the draw function. Also, how is your Procession project setup ? Is it run from inside the Processing environment, or do you call it from a Java project/IDE ? – NielsK Jun 29 '11 at 12:57

1 Answers1

2

I use VisualVM to profile my Processing applications. Simply navigate to the appropriate process in VisualVM while your sketch is running. Processing is fundamentally Java, so most Java tools will work on your Processing apps.

EDIT: Processing.js sketches can also be profiled by using the Developer Tools extensions in browsers, just run a CPU profile.

Nate Berkopec
  • 598
  • 1
  • 4
  • 13