Posts

Showing posts with the label Speed Test

New blog domain: kula.blog

It's still work in progress but new posts will be published on  https://kula.blog/ Thanks to 11ty base blog RSS is working from the start so it should be easy to add to your reader if you still use any :) If now then I hope you can sign up to the newsletter where I'll be publishing new posts and interesting articles to it from time to time. Please use  kula.blog  from now on.

Programming Languages Speed Test

http://shootout.alioth.debian.org/u32/which-programming-languages-are-fastest.php Many times I used to know what is fastest, this time in case of JavaScript (V8). As an example: JavaScript vs. PHP:  http://shootout.alioth.debian.org/u32/benchmark.php?test=all&lang=v8&lang2=php

JavaScript vs. ActionScript Speed

http://iq12.com/blog/as3-benchmark/ Interesting article with benchmarks of speed of various JavaScript implementations comparing to ActionScript speed.

PHP vs. HipHop

http://php.webtutor.pl/index.php/2011/04/02/hiphop-for-php-bechmark-english-version/ 300% is really amazing, maybe I will finally find time to try HipHop...

Speed Test PHP

In previous post I examine Java, Scala and Groovy speed on my computer, as alternative see how it can be done in PHP: <?php time2(); function time2(){     $start = mktime();     for($i = 0; $i < 100; $i++){         for($j = 0; $j < 100; $j++){             for($k = 0; $k < 100; $k++){                 for($l = 0; $l < 100; $l++){                     $i+$j+$k+$l;                 }             }         }     }     echo (int)(mktime() - $start); } ?> Response: 32 s 34 37 36 ... ~33 seconds!!!! Groovy has half of it, Scala 1/5... Java: No Comment! Regards, Krzysiek Kula Posted via email from krzychukula's posterous

JVM Languages speed test: Java vs. Scala vs. Groovy

This is helloworld spped test... so it shows nothing about speed other than mentioned in comments.  For all that doesn't like my test: For me it shows how small applications can work and if they are smart enough to ignore dummy code :) I've figured it after reading comments. Summary: Java is slow, Scala works probably the same but starts longer. Groovy is slower. Groovy++ - maybe some day I will have time to test it.  I read about Groovy and Scala, both languages are interesting. Groovy is easier and have much better support, it is like heaven and hell when you compare Scala and Groovy support (Intelli IDEA is only one that works for me... but I think that when I install in Eclipse Groovy plugin it breakes Scala support, Groovy and Scala are fighting in my computer and when one works second breaks, but it is only for me). I like Groovy but i read about how slow it is, lets write veeery simple test and check it: Scala: object Sample{   def main(args: Arr...