Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » [EMFTVM] Profiling now available
icon3.gif  [EMFTVM] Profiling now available [message #1261366] Sun, 02 March 2014 09:07 Go to next message
Dennis Wagelaar is currently offline Dennis Wagelaar
Messages: 150
Registered: September 2012
Senior Member

Since Version: 3.5.0.v201402280142, EMFTVM includes a simple profiler. It only records CPU profiling data, and will only print the results at the end. Nevertheless, it is a useful tool for finding performance bottlenecks.

See also the updated EMFTVM wiki: https://wiki.eclipse.org/ATL/EMFTVM#Running_EMFTVM_modules

TIP: if your transformation does not terminate in a timely fashion, you can still have your profiling results by doing as follows:

  1. Select "Window -> Open Perspective -> Debug".
  2. Right-click your transformation in the "Debug" tab, and select "Terminate".

Cheers,
Dennis


Cheers,
Dennis
Re: [EMFTVM] Profiling now available [message #1271526 is a reply to message #1261366] Sat, 15 March 2014 07:46 Go to previous messageGo to next message
EtienneB Mising name is currently offline EtienneB Mising name
Messages: 35
Registered: June 2011
Member
Hi Dennis,

this is definitly a very nice feature! Do you think we could activate it when using EMFTVM from the command line? Printing the result in a log file, or in the console?

Thanks for your answer,
Etienne.
Re: [EMFTVM] Profiling now available [message #1272184 is a reply to message #1271526] Mon, 17 March 2014 05:35 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis Wagelaar
Messages: 150
Registered: September 2012
Senior Member

Hello Etienne,

You can pass a Profiler instance (http://git.eclipse.org/c/mmt/org.eclipse.atl.git/tree/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/profiler/Profiler.java) to the ExecEnv#setMonitor() method. The Profiler#toString() method will generate the report.


Cheers,
Dennis
Re: [EMFTVM] Profiling now available [message #1277875 is a reply to message #1272184] Wed, 26 March 2014 11:30 Go to previous message
EtienneB Mising name is currently offline EtienneB Mising name
Messages: 35
Registered: June 2011
Member
Well, this is definitly a great feature!

Best regards,
Etienne.
Previous Topic:No generate "xsi:schemaLocation" at target model
Next Topic:[EMFTVM] Reduce initialization time
Goto Forum:
  


Current Time: Fri Jul 25 16:41:53 EDT 2014

Powered by FUDForum. Page generated in 0.01931 seconds