Skip to main content



      Home
Home » Eclipse Projects » Papyrus for Real Time » code generation time(slow code generation? not sure if slow or something wrong with my model.)
code generation time [message #1774470] Mon, 16 October 2017 00:29 Go to next message
Eclipse UserFriend
Hi,

I generate a capsule with its state machine that has ~ 200 states and a same number of transitions. Is it normal if it takes around 60 seconds for the code generation to generate code for this capsule? I generate code for the capsule as a top.

For another capsule with around 2,000 states and 2,000 transitions, it took for the code generator around 1 hour to generate code (for the capsule as top). As can be seen code generation time did not grow linear.

Is it normal? Can it be something wrong with my state machine/state machine generation? Is it because a state machine with this number of states/transitions is not normal?

Thanks!
Re: code generation time [message #1774499 is a reply to message #1774470] Mon, 16 October 2017 10:00 Go to previous message
Eclipse UserFriend
I'm not sure if it's normal. For 1.0 generation performance was not one of the priority requirements so is is possible that generation is not efficient.

Can you share a copy of your model so that I can do some profiling?

Also, can you provide the specs of the environment where you are running the generation? And how long does the generated code take to compile?

Thanks
Previous Topic:Problem finishing the PingPong tutorial
Next Topic:treating time
Goto Forum:
  


Current Time: Sat May 17 09:33:22 EDT 2025

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

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

Back to the top