Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
Exposición
Next
Download to read offline and view in fullscreen.

Share

Is Groovy as fast as Java

Download to read offline

Some initial experiments to investigate whether further experiments are justified, investigating the performance comparison between Groovy and Java. (Java 8 vs Groovy 2.2.0-SNAPSHOT)

Is Groovy as fast as Java

  1.  
  2.  No
  3.  Obviously so,Java is a statically typed, compiled language andGroovy is merely a dynamic scripting language.
  4.  http://en.wikipedia.org/wiki/The_Tortoise_and_the_Hare
  5.  …
  6.  
  7.  Proof spirit?
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  …
  14.  …
  15.  SimplesАлександр Орлов 2009
  16.  
  17.  
  18.  ● – – 4=∫01 11x2dx
  19.  ●  –=4n∑i=1n 11i−0.5n2
  20.    “ ”
  21.  
  22.  ● – – ● ● – 
  23.  ● ● ● ●  …
  24.  ● ● 
  25.  ● ● Work in progress.
  26.  
  27.  Java Simple LoopJava Stream Map And Sum
  28.  ● – – ● – – ● – – – Uncertainty of correctness.
  29.  Idiomatic Groovy
  30.  ● ● 
  31.  Functional GroovyNot timed.
  32.  
  33.  ROFLAO
  34.  …
  35.  
  36.  
  37.  Annotated Idiomatic Groovy
  38.  ● ● 
  39.  
  40.  Annotated Functional GroovyNot timed.
  41.  
  42.  Static Compiled Groovy
  43.  ● ● 
  44.  
  45.  
  46.  ● – – ● – – ● – – 
  47.  
  48.  
  49.  …
  50.  Static Compiled Low-level Groovy
  51.  ● – – ● – – ● – – 
  52.  ☺
  53.  http://en.wikipedia.org/wiki/The_Tortoise_and_the_Hare
  54.  
  55.  No
  56.  The data must be wrong.The statistics arent valid.
  57.  
  58.  
  59.  
  • seohoseok14

    Feb. 23, 2015
  • tantrieuf31

    Jun. 8, 2013
  • erkulismartins

    May. 25, 2013
  • janitorialagency

    May. 25, 2013
  • lemiorhan

    May. 24, 2013
  • beckje01

    May. 24, 2013
  • toby55kij

    May. 24, 2013
  • MikeEnsor

    May. 24, 2013
  • aurelienmaury

    May. 24, 2013

Some initial experiments to investigate whether further experiments are justified, investigating the performance comparison between Groovy and Java. (Java 8 vs Groovy 2.2.0-SNAPSHOT)

Views

Total views

15,768

On Slideshare

0

From embeds

0

Number of embeds

222

Actions

Downloads

25

Shares

0

Comments

0

Likes

9

×