Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105286

Re: Experimenting with PyPyJS

From Terry Reedy <tjreedy@udel.edu>
Newsgroups comp.lang.python
Subject Re: Experimenting with PyPyJS
Date 2016-03-19 14:52 -0400
Message-ID <mailman.399.1458413542.12893.python-list@python.org> (permalink)
References <445e9458-97d1-4ed7-8c7f-071fca869289@googlegroups.com> <c36df254-51e5-4f2e-8cbe-bd19165195c8@googlegroups.com> <mailman.398.1458406781.12893.python-list@python.org> <fcf80485-dbf2-4897-8f75-3b1a22c52a9a@googlegroups.com>

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Experimenting with PyPyJS Salvatore DI DIO <salvatore.didio@gmail.com> - 2016-03-19 08:28 -0700
  Re: Experimenting with PyPyJS Salvatore DI DIO <salvatore.didio@gmail.com> - 2016-03-19 08:32 -0700
    Re: Experimenting with PyPyJS Salvatore DI DIO <salvatore.didio@gmail.com> - 2016-03-19 10:06 -0700
      Re: Experimenting with PyPyJS Terry Reedy <tjreedy@udel.edu> - 2016-03-19 14:52 -0400
        Re: Experimenting with PyPyJS Salvatore DI DIO <salvatore.didio@gmail.com> - 2016-03-19 17:27 -0700
    Re: Experimenting with PyPyJS Salvatore DI DIO <salvatore.didio@gmail.com> - 2016-03-19 10:34 -0700

csiph-web