• [^] # Comparaison du chargement d'une VM python et chargement d'une VM Java

    Posté par . En réponse à la dépêche Redo, un remplaçant de choix pour Make. Évalué à 2.

    syj@syj-laptop:~/todelete$ cat main.java
    class Main {
    public static void main(String[] args) {
    System.out.println("Hello the world");
    }
    }
    syj@syj-laptop:~/todelete$ cat hello.py
    print "Hello the world


    syj@jsyj-laptop:~/todelete$ time java Main
    Hello the world

    real 0m0.070s
    user 0m0.028s
    sys 0m0.036s

    syj@syj-laptop:~/todelete$ time python hello.py
    Hello the world

    real 0m0.023s
    user 0m0.016s
    sys 0m0.008s