newLISP in a browser

Started by Lutz, January 02, 2014, 01:43:18 PM

Previous topic - Next topic

HPW

#60
Hello,



In http://www.newlisp.org/newlisp-js/README.html">http://www.newlisp.org/newlisp-js/README.html we can read:


QuoteFor a tutorial in to the basics of newLISP type (load "newlisp-js/tutorial.lsp") in to the editor ....


But when I try it I get:


QuoteERR: problem accessing file in function load : "newlisp-js/tutorial.lsp"


Regards
Hans-Peter

Lutz

#61
Thanks Hans-Peter, the link has been taken out. It is not completed yet but perhaps it will appear in a future version.

HPW

#62
Hello,



A observation for IE11 on Win7 tablet and the provided links here:



http://www.newlisp.org/newlisp-js/">http://www.newlisp.org/newlisp-js/ does not finish loading.The word 'Downloading...' stays visible and Buttons do not work.



http://newlisp.nfshost.com/newlisp-js/">http://newlisp.nfshost.com/newlisp-js/ works as expected on IE11.



Both links work on Chrome as expected.



Regards
Hans-Peter

HPW

#63
Hello,
Quote..... and based on the latest version of Emscripten.


Just curios:



http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html">http://kripken.github.io/emscripten-sit ... loads.html">http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html



shows 1.29 as download-Version. The newlisp-js Shows 1.22 as the version number.



Regards
Hans-Peter

Lutz

#64
During the coming week, I will try to update the Emscripten.



Also: the best browser for using Emscripten is - by far - Firefox. It is more than double the speed of Chrome. To check the speed: clear the windows using the x-edit and x-log buttons, then execute:

(module "qa-bench")

this will give you the relative speed to a MacOSX 10.9, 2.3GHz Intel Core i5. Firefox comes in with 1.89 and Chrome with 5.01. On my iPhone 5s and iPad Mini (version 1) it will crash, because of the lack of memory required by the bench mark routines - you must then hit the red reload button. Haven't tried on a iPhone 6 or newer iPad, which all have more memory.



Firefox is also the only browser, which allows you to run locally on a laptop or desktop without going through a web server.

HPW

#65
Hello Lutz,



I will try also Firefox.

But why does the first link not work on IE11.

What can be the difference between the both server setups.

Just to make sure that it work on all target-platforms.



Regards
Hans-Peter

Lutz

#66
see here: https://github.com/kripken/emscripten/issues/3180">https://github.com/kripken/emscripten/issues/3180

Lutz

#67
Updated here to Emscripten v1.29 and current in progress newLISP v10.6.3. http://www.newlisp.org/newlisp-js/">http://www.newlisp.org/newlisp-js/ . Performance on Firefox has slightly improved, now 1.68 compared to native 1.0 performance.



For IE11 issues see here: https://github.com/kripken/emscripten/issues/3180">https://github.com/kripken/emscripten/issues/3180

HPW

#68
Hello,



Thanks for the update.

Now it loads again from the link on IE11 on my Win7 tablet (I5 470UM / 1.33GHz).



Qa-bench on IE11:

>>>>> total time: 50358

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



Qa-bench on Chrome 40:

>>>>> total time: 15157

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



Not installed Firefox yet, have to upgrade my 64Gb SSD first.



Regards
Hans-Peter

HPW

#69
Hello,



After upgrading Chrome to 41:



>>>>> total time: 2844

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



Regards
Hans-Peter

HPW

#70
Hello,



Another bench from my CAD-Workstation (WIN 7 64bit Xeon E5-1620 3.7 Ghz)



IE 11:

>>>>> total time: 4806

>>>>> Performance ratio: 8.02 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-

Chrome 41:

>>>>> total time: 1097

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

Firefox 36:

>>>>> total time: 818

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



Regards
Hans-Peter

HPW

#71
QuoteFirefox is also the only browser, which allows you to run locally on a laptop or desktop without going through a web server.


Just tried it out. Nice tip. Will be usefull for further testing.



Regards
Hans-Peter

HPW

#72
Hello,



Upgraded my tablet SSD today from Sandisk 64Gb to Samsung evo 470Gb.

Installed firefox 36 and here is the benchmark result:


Quote
>>>>> total time: 1945

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


Regards
Hans-Peter

HPW

#73
Hello,



Today I could test on a aged intel core 2 duo P8400 with 4GB

Windows 10 Pro 32 bit



Chrome 46

>>>>> total time: 3792

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



Firefox 41.0.1

>>>>> total time: 1605

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



Edge

>>>>> total time: 5214

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



IE11

>>>>> total time: 11433

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



Regards
Hans-Peter

HPW

#74
Hello,



By the way emscripten is now at 1.34.1



http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html">http://kripken.github.io/emscripten-sit ... loads.html">http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html



Regards
Hans-Peter