Optimizing Squeak

Glenn Krasner krasner at objectshare.com
Mon Feb 22 19:44:51 UTC 1999


At 10:56 AM 2/22/99 -0800, Carl Watts wrote:
>I'm just a nosy bystander at implementing interpreters so forgive me if
these are stupid comments:
>
>As you know, Smalltalk should spend most of its time in primitives (if I
remember correctly we targeted it at over 70% at ParcPlace). 

Carl,

Not really. It certainly varies with what you're running, but we typically
measured more like 50% in Smalltalk execution and 50% running C, with the
majority of the C code being non-primitives. So primitives were more like
15-20%. You could say we "targeted" Smalltalk execution to be infinitely
fast ;-), in which case primitives would take a lion's share but it's
probably better not to.

glenn





More information about the Squeak-dev mailing list