Open vs Packaged Images

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

Open vs Packaged Images

Postby cwolcott » Thu Mar 01, 2007 10:09 am

Should a packaged image run atleast as fast, if not faster, than an open image?

My assumption was 'YES' because the symbol table in the packaged image is so much smaller. I would expect to see an improvement in runtime for a packaged image over an open image. Of course I am talking about a background process instead of a GUI front end. I can't find any old test that I performed, but I thouhgt that I use to see a 5-10% improvement in our simulation when it ran in a packaged image. The reason that I ask is we just noticed that the opposite has become true.

Any thoughts or statistics? :?
Chris Wolcott
Simulation Domain Lead
Joint Analysis Simulation (JAS)
cwolcott
[|]
 
Posts: 11
Joined: Fri Jan 26, 2007 10:51 am
Location: Arlington, VA

Postby nmongeau » Thu Mar 01, 2007 10:23 am

I believe they both run at the same speed. But something that can change the speed notably is the absence of the esdec40.dll. That dll contains primitives to run some math code, ScaledDecimal for instances uses it. But if the dll is not present, it is standard Smalltalk code that gets executed, albeit slower.

Normand
nmongeau
[|]
 
Posts: 29
Joined: Fri Jan 12, 2007 9:37 am

Postby daswartz » Thu Mar 01, 2007 8:41 pm

Should a packaged image run atleast as fast, if not faster, than an open image?


Memory settings can have a significant effect on run speed. A too small newSpace for your packaged image run, especially if you are creating large collections of objects or large objects which could be scavenged with a larger new space, rather than moved to old space and later garbage collected, could slow it down a lot.

Doug Swartz
daswartz
 
Posts: 48
Joined: Sat Oct 21, 2006 8:12 am
Location: Omaha, USA


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: No registered users and 1 guest