Java Software Performance: Stories from Trenches Le logiciel Java de performance: des histoires de tranchées
James Gosling blogs about Java software performance myths James Gosling blogs sur l'exécution du logiciel Java mythes and posts an interesting story (below). postes et une histoire intéressante (ci-dessous). The comments contains few more stories from the trenches as they say. Les commentaires contient peu plus sur le tranchées comme on dit. Lets look at the real picture shall we? Regardons la réalité nous?
There was a funny incident at a recent developer event where some folks had a booth where they where demo-ing a high end industrial strength C compiler and had a benchmark that they had transliterated into Java. Il y avait un drôle incident lors d'une récente développeur certains cas où les gens avaient un stand où ils où demo-un haut de gamme industrielle compilateur C et a une référence qu'ils avaient transcrites en Java. They were comparing their compiler to GCC and Java. Ils ont été comparant à leur compilateur GCC et Java. GCC was running at about 2/3 the performance of this high end compiler; the Java version was running at about 2/3 the performance of the GCC version. CCG a continué de tourner à environ 2 / 3 la performance de ce compilateur haut de gamme, la version Java est en marche à environ 2 / 3 la performance de la version de GCC. Folks were gathered around the booth and someone noticed that the script they were using to run the Java version didn’t have optimisation turned on. Les gens étaient réunis autour du stand et que quelqu'un a remarqué que le script qu'ils utilisent pour exécuter la version Java n'a pas eu l'optimisation allumée. A few seconds with vi to add the “-server” switch and Java’s performance jumped up to match the fancy C compiler. Quelques secondes avec vi pour ajouter le "serveur" et passer la performance de Java sauté pour correspondre à la fantaisie compilateur C. This got the pro-GCC crowd all excited, so a bunch of them started fiddling with its command line switches. Cette obtenu le pro-CCG foule tout excité, ce qui fait qu'un groupe d'entre eux ont commencé violon avec ses commutateurs de ligne de commande. They got a bit of improvement, but not much (the original selection had been pretty good). Ils se sont un peu d'amélioration, mais pas beaucoup (l'original sélection avait été très bien).
Author: James Gosling from Sun Auteur: James Gosling de Sun
In 2001 when I was working at AltaVista I started a push to move us to using Java at the front end. En 2001, lorsque je travaillais chez AltaVista j'ai commencé à faire un aller-nous à l'utilisation de Java à l'avant. At the time an executive had stated that Java was 40 times slower than C, and that it was easy to proove. Au moment où un exécutif a déclaré que Java était de 40 fois plus lent que C, et qu'il était facile de proove. So he sent me 4 programs he had written 4 years previously (when Java really was slow). Alors il m'a envoyé 4 programmes qu'il a écrit 4 ans auparavant (quand Java est vraiment lent). I had a look at them, optimised the IO a little (there was no buffering) and the result was that the java programs were only at most 10% slower than the C program (one of them was actually faster) But of course the Java program did a lot more: for one it was completely unicode enabled, whereas the c program was not. J'ai jeté un oeil sur eux, l'optimisation de l'OI un peu (il n'y avait pas de tampon) et le résultat a été que les programmes Java ont été seulement à 10% plus lent que le programme C (un d'entre eux est effectivement plus rapide) Mais bien sûr, l'Java programme fait beaucoup plus: pour un il a été complètement Unicode, alors que le programme C ne l'était pas. And that was before NIO. Et c'était avant NIO.
Soon after this AltaVista moved to rewriting all of its front end in java. Peu de temps après cette AltaVista passé à réécrire l'ensemble de ses avant fin en java. I left to do other things, but was told that it was a great success. Je reste à faire d'autres choses, mais on lui avait répondu qu'il était un grand succès. (Now if only they had listened to me 5 years previously when I told the CEO that they were not making the best of the resource hidden inside hyperlinks…) (Maintenant, si seulement ils avaient écouté moi 5 ans lorsque je l'ai dit au chef de la direction qu'ils n'étaient pas en tirant le meilleur parti de la ressource cachée à l'intérieur des liens hypertexte…)
Author: Henry Story from BblFish Auteur: Henry histoire de BblFish
In yet another situation I was in, the company was prototyping in C++ because of concerns with performance. Dans un autre cas encore, j'étais à, la société a été prototypage en C + + en raison de préoccupations à l'exécution. They were worried about performance in an application that was never going to see production and in the meantime spend a lot more time producing it. Ils étaient préoccupés par la performance dans une application qui n'allait jamais à voir la production et dans le temps passe beaucoup plus de temps à produire. When questioned further one could find no basis for their concerns. Interrogé plus d'un n'a pu trouver aucune base pour leurs préoccupations. They could not find one spot in the architecture where performance was so critical that it required the use of C++. Ils ne pouvaient pas trouver une place dans l'architecture où la performance est tellement critique qu'il a nécessité l'utilisation de C + +. Even in the face of this evidence and analysis the myth was so strong for them that they were unable to see the reality of the situation. Même dans le visage de ces éléments de preuve et analyse le mythe était si fort pour eux qu'ils n'ont pas été en mesure de voir la réalité de la situation.
Author: Kirk from Java Performance Tuning Auteur: Kirk de Java Performance Tuning
Personally I have found in bioinformatics world (high throughput distributed processing like genomic annotations) Java software performance competes favorably with C. Will the rumor mongers now finally put a stop to this “java performance issues” BS? Personnellement, j'ai trouvé en bioinformatique monde (à haut débit de traitement distribué comme les annotations génomiques) le logiciel Java favorablement la performance en compétition avec C. La rumeur mongers enfin mettre un terme à cette "java des problèmes de performances" BS?
Filed under Classé sous Headline News Headline News , Java Software Logiciel de Java , Technology Technologie | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | cet article |
Email this Article Envoyer cet article
You may also like to read Vous mai également à lire |




January 4th, 2006 at 1:07 pm 4 janvier 2006 à 1:07 pm
[...] It has become a fulltime jobs of some morons to reverse hype Java for several years now. [...] Il est devenu un plein emploi de certains abrutis pour inverser battage Java pour plusieurs années maintenant. First it was “Java is slow” myth which was perpetuated. Tout d'abord, il était "Java est lent" mythe qui est perpétué. It has since been debunked several times over. Il a depuis été debunked plusieurs fois. [...]
March 6th, 2006 at 10:13 pm Mars 6th, 2006 at 10:13 pm
[...] Java is slow [...] [...] Java est lent [...]
March 7th, 2006 at 12:02 am Mars 7, 2006 at 12:02 am
floating point, floating point, floating point virgule flottante, en virgule flottante, en virgule flottante