On Mon, 12 Jul 2010, Hilaire Fernandes wrote:
Le 12/07/2010 18:08, Levente Uzonyi a écrit :
Which tweaking can be applied to the image for a better user experience?
You can use MVC, it works well on much slower computers... oh wait...
Sorry, I couldn't resist. :)
Your joke remind me a funny event occurring one year ago. I was chatting with
an old friend working in the bank sector in Geneva. He asked me what's up
today, I told him my interest in Smalltalk, he joked I was interested in
computer archeology. It looked funny to me as well.
:)
Try getting rid of gradients, dropshadows, etc. Use a plain old strikefont
Yes, the sugar theme is flat black and white.
without anti-aliasing. If you can build a custom vm, make sure that you
optimize it for the platform and build all modules external, except for
Yes, beside -Ox option are there any additional one you know about to be
effective?
Yes, if your target is the XO-1, you can optimize your vm for the Geode
LX. With gcc 4.3+ I'd try this first:
-march=geode -mmmx -m3dnow -O3 -fomit-frame-pointer
then some other architectures (march), like i486, i586, i686 or k6-2.
If you are using an older compiler, you can still use i486, i585, i686 and
k6-2.
Since only the user experience matters, you can rely on the browser
benchmark and pick the config with the best results. If two results are
close, you can check tinybenchmarks and base your decision on that. Of
course you can run macrobenchmarks if you have the time.
According to this:
http://forum.world.st/iPhone-Cog-Stack-VM-performance-numbers-td2286605.html#a2286605
you should definitely build a stack vm.
Building a small vm (all modules external which are not loaded at startup)
is better, because the vm itself uses less memory. This also means that
the chance for a cache miss is lower (tinyBenchmarks shows a
10% improvement with this on my pc).
(I didn't look at the code, but the Cog vm could also be used if you can
replace the sse2 instructions with 3dnow.)
Levente
those which are loaded when the image starts. You can also try using the
new StackVM.
Will do later.
Thanks for your tips.
Hilaire
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project