On Mon, 12 Jul 2010, Hilaire Fernandes wrote:
Hello,
I am testing Pharo on XO OLPC computer.
It is slow, yes, the machine are slow. But I am looking at place to make it
more usable:
- larger font size (at least 12pt)
- screen depth to 16 bpp
- no background, does it help?
- browser, can we improve something?
- polymorph theme, I have this unfinished sugar theme I would like to
optimize for faster rendering
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. :)
Try getting rid of gradients, dropshadows, etc. Use a plain old strikefont
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 those which are loaded when the image starts. You can also try using
the new StackVM.
And you can also run the following version of the browser test to see
where can you improve the performance:
| savedMorphs |
savedMorphs := World submorphs.
World removeAllMorphs."heh, heh"
[
[
10 timesRepeat: [ Browser fullOnClass: Object selector:
#yourself ].
World submorphs do: [ :m | m delete. self currentWorld
doOneCycle] ]
ensure: [ World addAllMorphs: savedMorphs ] ]
timeProfile.
Levente
Thanks to share any thought, even random ones.
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