Experimenting with PyPyJS

Salvatore DI DIO salvatore.didio at gmail.com
Sat Mar 19 20:27:42 EDT 2016


Le samedi 19 mars 2016 19:52:45 UTC+1, Terry Reedy a écrit :
> On 3/19/2016 1:06 PM, Salvatore DI DIO wrote:
> > Le samedi 19 mars 2016 18:00:05 UTC+1, Vincent Vande Vyvre a écrit :
> >> Le 19/03/2016 16:32, Salvatore DI DIO a écrit :
> >>> Le samedi 19 mars 2016 16:28:36 UTC+1, Salvatore DI DIO a écrit :
> >>>> Hy all,
> >>>>
> >>>> I am experimenting PyPyJS and found it not so bad at all.
> >>>> The virtual machine loads on a few seconds (using firefox).
> >>>>
> >>>> It s really nice for  learning Python, you have all the standard libraries,
> >>>> and traceback on errors. I don't have to choose anymore with all transpilers around
> >>>>
> >>>> You can try it here, but please don't tell it s too long to load the VM.
> >>>> After all, don't you wait when you start a desktop application, or an heavy game online ?
> >>>>
> >>>> Just try it and tell your feeling
> >>>>
> >>>> Regards
> >>>>
> >>>> http://salvatore.diodev.fr/pypybox/
> >>> Use Firefox...
> >>
> >> That's look fine but:
> >>
> >>     PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> >>    4917 vincent   20   0 1081m 305m  52m R *50.3* 15.4   5:23.75 firefox
> >>    1094 root      20   0 48152  15m 7180 S *35.0*  0.8   4:43.28 Xorg
> >>    5421 vincent   20   0  162m  14m  10m R  2.0  0.7   0:02.49 mate-terminal
> >>       1 root      20   0  3660 1984  .......
> >>
> >> 85.3 % (50.3 + 35) CPU usage just for a rotating square it's too much cost.
> >>
> >> Vincent
> >
> > Thank you for testing :-)
> > Strange on Windows I have an average 6% CPU with Firefox 45.0.1
> 
> Win10, same FF, 6 core pentium, 1% +- CPU, 110 MB memory increase.
> 
> 
> -- 
> Terry Jan Reedy

Thanks Terry



More information about the Python-list mailing list