Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: Experimenting with PyPyJS Date: Sat, 19 Mar 2016 14:52:03 -0400 Lines: 54 Message-ID: References: <445e9458-97d1-4ed7-8c7f-071fca869289@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: 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: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:105286 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 =C3=A9crit= : >> Le 19/03/2016 16:32, Salvatore DI DIO a =C3=A9crit : >>> Le samedi 19 mars 2016 16:28:36 UTC+1, Salvatore DI DIO a =C3=A9crit = : >>>> 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 lib= raries, >>>> and traceback on errors. I don't have to choose anymore with all tra= nspilers 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 a= n 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 firef= ox >> 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-te= rminal >> 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. --=20 Terry Jan Reedy