Skip to main content


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 14:07 Go to next message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 589
Registered: September 2012
Location: Belgium
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 11:46 Go to previous messageGo to next message
EtienneB Mising name is currently offline EtienneB Mising nameFriend
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 09:35 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 589
Registered: September 2012
Location: Belgium
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 15:30 Go to previous message
EtienneB Mising name is currently offline EtienneB Mising nameFriend
Messages: 35
Registered: June 2011
Member
Well, this is definitly a great feature!

Best regards,
Etienne.
Previous Topic:Model injection of a registered XML/XSD model
Next Topic:[EMFTVM] Reduce initialization time
Goto Forum:
  


Current Time: Thu Apr 25 20:19:44 GMT 2024

Powered by FUDForum. Page generated in 0.03523 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top