gwt application logging, profiling, benchmarking
-
06-07-2019 - |
Question
Is there a good methodology for logging/benchmarking/profiling a gwt application to identify bottlenecks?
Something like a timing/logging framework or similar.
Solution
- For logging, there's GWT.log and gwt-log
- Benchmarking - the official docs have a nice section about this: http://code.google.com/webtoolkit/doc/1.6/DevGuideTesting.html#DevGuideJUnitBenchmarking, you can also have a look at this blog post
I especially recommend the last link - Firebug's profiling can be very helpful when combined with -style PRETTY
.
And, in general, any profiling solution that works for Javascript, should work for GWT.
OTHER TIPS
IE8 has an excellent profiler too, extremely useful. It's call-tree mode is superb.
Of course, IE8 needs profiling tools far more than other browsers; it's a complete dog, performance-wise.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow