Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18631

Re: greatly differing processing time between java and Linux while calculating hashes?

From Robert Klemme <shortcutter@googlemail.com>
Newsgroups comp.lang.java.programmer
Subject Re: greatly differing processing time between java and Linux while calculating hashes?
Date 2012-09-09 22:35 +0200
Message-ID <ab4ct4FcnsjU1@mid.individual.net> (permalink)
References <k2gvov$8bn$1@speranza.aioe.org>

Show all headers | View raw


On 09.09.2012 04:43, qwertmonkey@syberianoutpost.ru wrote:

>   What do you think is going on here?

As far as I could extract from that code (which I find pretty badly 
readable btw.) you are measuring digest calculation and IO.  What 
measures did you take to ensure there are no effects from OS buffering? 
  Also, why are you comparing apples (Java) and oranges (Linux) - at 
least in the subject?  Are you aware that the JVM has some startup time 
which can be significant when measuring run once applications?

And, why the heck, are there still people around who write a return like 
a method call - with brackets?

...

	robert



-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

greatly differing processing time between java and Linux while calculating hashes? qwertmonkey@syberianoutpost.ru - 2012-09-09 02:43 +0000
  Re: greatly differing processing time between java and Linux while calculating hashes? Roedy Green <see_website@mindprod.com.invalid> - 2012-09-08 19:53 -0700
  Re: greatly differing processing time between java and Linux while calculating hashes? markspace <-@.> - 2012-09-08 20:19 -0700
    Re: greatly differing processing time between java and Linux while calculating hashes? Lew <lewbloch@gmail.com> - 2012-09-09 12:07 -0700
      Re: greatly differing processing time between java and Linux while calculating hashes? Patricia Shanahan <pats@acm.org> - 2012-09-09 12:17 -0700
        Re: greatly differing processing time between java and Linux while calculating hashes? markspace <-@.> - 2012-09-09 13:28 -0700
  Re: greatly differing processing time between java and Linux while calculating hashes? Robert Klemme <shortcutter@googlemail.com> - 2012-09-09 22:35 +0200

csiph-web