Wednesday 28 May 2008

JavaScript performance

A task that I recently got was to find out performance of JavaScript. Actually the task was to find out how different ways of writing applications do perform. Writing an application sometimes you can implement something as a desktop application or as a web application.

Of course it is not a case if you target a broad auditorium (where you probably have to write a web application) or very small and controlled one (where you can built a desktop application).

Been bounded to Microsoft technology and having to write an active input application like for example MS Excel or Google spreadsheets we decided to compare JavaScript (Web), Visual Studio 2005 C# / .Net 2.0 and Visual Basic 6.0 (both desktop application).


Looking for already done research in Internet I found an interesting page measuring JavaScript performance on you computer, which is actually very elementary for everyone to write by himself (herself).

Implementing the same in VB6 and VS2005/C# I got the following results comparing the integer numbers dividing:


- JavaScript is 5 times slower than vb6

- JavaScript is 100 times slower than VS2005/C#


Results looks to be quite logical as JavaScript is not compiled into an executable put is run inside each web browser after the source code of the script is downloaded.

Tuesday 13 May 2008

GPS Navigators

An interesting post in case somebody wonders which GPS to buy. Here is at least one person who is happy about his choice:

The Mainstreaming of GPS