newLISP in a browser

Notices and updates

Re: newLISP in a browser

Postby HPW » Sun Jun 25, 2017 8:02 am

Hello,

Another test on an aged WIN 1o Laptop

Core 2 duo P8400 2.26 Ghz 4GB
Windows 10 Pro 1703 32bit

Edga 40 JS

>>>>> total time: 3759
>>>>> Performance ratio: 6.32 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)

Edge 40 WA with enabled experimental javascript

ERR: regular expression in function find-all : "error -4 when executing"
called from user function QA:(qa)
called from user function (module "qa-bench")

So we see that WebAssembly is not yet everywhere. Best performance boost on chrome.

Regards
Hans-Peter
HPW
 
Posts: 1323
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany

Re: newLISP in a browser

Postby HPW » Mon Jun 26, 2017 4:58 am

Hello,

Another note for WIN XP:

Neither Chrome 49 or Firefox ESR 52.2.0 work with WebAssembly.
But the JS-flavour works.

Regards
Hans-Peter
HPW
 
Posts: 1323
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany

Re: newLISP in a browser

Postby HPW » Mon Jun 26, 2017 5:32 am

Hello,

CAD-Workstation:
Dell Precision T3610
CPU E5-1620 v2 3.7 GHZ 16GB
Windows performance index 7.7
WIndows 7 PRO SP1

http://www.ferrydb.nl/newlisp/
http://www.ferrydb.nl/newlisp-wa/

(module "qa-bench")


Chrome 59 JS

>>>>> total time: 1832
>>>>> Performance ratio: 3.18 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)

Chrome 59 WA

>>>>> total time: 796
>>>>> Performance ratio: 1.50 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)


Firefox 54 JS

>>>>> total time: 1032
>>>>> Performance ratio: 1.88 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)

Firefox 54 WA

>>>>> total time: 990
>>>>> Performance ratio: 1.81 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)

Regards
Hans-Peter
HPW
 
Posts: 1323
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany

Re: newLISP in a browser

Postby fdb » Mon Jun 26, 2017 10:09 pm

Hi,

i've now als run some test on my iPad Pro, running beta of IOS 11 and also Safari 11 which should be able to run web assembly, results below:

With javascript:
>>>> total time: 3139
>>>>> Performance ratio: 5.31 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)

With web-assembly:
>>>>> total time: 1633
>>>>> Performance ratio: 2.86 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)

So almost twice as fast with web assembly.
fdb
 
Posts: 31
Joined: Sat Nov 09, 2013 8:49 pm

Re: newLISP in a browser

Postby HPW » Wed Jan 03, 2018 8:38 pm

Hello,

Latest emscripten: Emscripten 1.37.27 (December 29, 2017)

Firefox Quantum 57.0.3 64 bit with new impressive Performance on my tablet
Asus Eee Slate
i5 U470 1.33 Ghz 4 Gb
Windows performance Index 3.1
Tested on Ferry's pages with 1.37.14

With javascript:
http://ferrydb.nl/newlisp/

>>>>> total time: 1891
>>>>> Performance ratio: 3.28 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)

With web-assembly:
http://ferrydb.nl/newlisp-wa/

>>>>> total time: 1539
>>>>> Performance ratio: 2.71 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)

Much faster than the last test with Firefox 54 on that Hardware.

Regards
Hans-Peter
HPW
 
Posts: 1323
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany

Re: newLISP in a browser

Postby HPW » Wed Jan 03, 2018 8:59 pm

Hello,

Also news on Edge compatibility:

On the WIN 10 laptop with latest updates and Edge 41

(module "qa-bench")

With javascript:
http://ferrydb.nl/newlisp/

>>>>> total time: 3550
>>>>> Performance ratio: 5.98 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)

With web-assembly:
http://ferrydb.nl/newlisp-wa/

>>>>> total time: 3968
>>>>> Performance ratio: 6.66 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)

Note: the only browser where web-assembly is slower than javascript.
But it works now with wa. A little faster in javascript than the last test.

Regards
Hans-Peter
HPW
 
Posts: 1323
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany

Previous

Return to newLISP newS

Who is online

Users browsing this forum: No registered users and 1 guest

cron