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


Groups > comp.lang.python > #105286

Re: Experimenting with PyPyJS

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Terry Reedy <tjreedy@udel.edu>
Newsgroups comp.lang.python
Subject Re: Experimenting with PyPyJS
Date Sat, 19 Mar 2016 14:52:03 -0400
Lines 54
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>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de lo5wMv0RvrJ3hmuMHVOsiQZq/Zf6pp8rHW/5accfEnZA==
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'root': 0.04; '(using': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'res': 0.09; 'jan': 0.11; ':-)': 0.12; '15m': 0.16; '2016': 0.16; 'anymore': 0.16; 'dio': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'wrote:': 0.16; 'memory': 0.17; '>>>': 0.20; 'load': 0.20; 'all,': 0.20; 'windows': 0.20; 'machine': 0.21; 'header:In-Reply-To:1': 0.24; 'all.': 0.24; 'testing': 0.25; 'header:User-Agent:1': 0.26; 'command': 0.26; 'header:X -Complaints-To:1': 0.26; '2.0': 0.27; 'errors.': 0.27; 'fine': 0.28; 'cpu': 0.29; 'loads': 0.29; 'seconds': 0.31; 'core': 0.32; 'traceback': 0.33; 'but': 0.36; 'too': 0.36; 'to:addr:python- list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'received:org': 0.37; 'virtual': 0.38; 'thank': 0.38; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'your': 0.60; 'received:96': 0.63; 'strange': 0.63; 'choose': 0.68; 'online': 0.71; 'feeling': 0.72; 'square': 0.76; 'heavy': 0.81; '0.8': 0.84; 'cpu,': 0.84; 'mars': 0.84; 'salvatore': 0.84; 'samedi': 0.84; 'received:fios.verizon.net': 0.91; 'average': 0.93; 'subject:skip:E 10': 0.96; 'url:fr': 0.96
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host pool-96-227-207-81.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
In-Reply-To <fcf80485-dbf2-4897-8f75-3b1a22c52a9a@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:105286

Show key headers only | 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