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


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

Re: java8 up to 6x slower than java7

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news.netfront.net!not-for-mail
From Wanja Gayk <brixomatic@yahoo.com>
Newsgroups comp.lang.java.programmer
Subject Re: java8 up to 6x slower than java7
Date Sun, 2 Mar 2014 20:52:38 +0100
Organization Netfront http://www.netfront.net/
Lines 28
Message-ID <MPG.2d7daa55f1e6c2a8b@202.177.16.121> (permalink)
References <29a51a94-8f9a-41b1-980f-e8c13e2d11a2@googlegroups.com> <ldnitt$mtv$1@news.albasani.net> <ldnkf1$pp0$1@news.albasani.net> <bmbo69F4b27U1@mid.individual.net> <ldqf11$adv$1@news.albasani.net> <ldqf9a$adv$2@news.albasani.net> <bmbu5tF5ju8U1@mid.individual.net> <ldr3ep$m2v$1@news.albasani.net> <ldr3vk$n4h$1@news.albasani.net> <bmf0noFpsoqU1@mid.individual.net>
NNTP-Posting-Host 93.130.42.23
Mime-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding 7bit
X-Trace adenine.netfront.net 1393789958 9963 93.130.42.23 (2 Mar 2014 19:52:38 GMT)
X-Complaints-To news@netfront.net
NNTP-Posting-Date Sun, 2 Mar 2014 19:52:38 +0000 (UTC)
User-Agent MicroPlanet-Gravity/3.0.4
Xref csiph.com comp.lang.java.programmer:27654

Show key headers only | View raw


In article <bmf0noFpsoqU1@mid.individual.net>, Robert Klemme 
(shortcutter@googlemail.com) says...

> >> So the requirement was really to have very light weighted hash
> >> maps for this data structure. Even if there is a small time overhead.
> >> Problem was that application crashed without compaction, since
> >> memory consumption was too high.

[..]

> A small change which would help this code and avoid too much overhead 
is 
> to set the table to null once the Map is empty.  Since all your Maps are 
> empty at the end this would help dramatically.

I'd say it's hard to help Jan, if he doesn't provide some real code with 
some "real" (or generated) data to chew on.

Kind regards,
Wanja

-- 
..Alesi's problem was that the back of the car was jumping up and down 
dangerously - and I can assure you from having been teammate to 
Jean Alesi and knowing what kind of cars that he can pull up with, 
when Jean Alesi says that a car is dangerous - it is. [Jonathan Palmer]

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

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


Thread

java8 up to 6x slower than java7 Dennis Haupt <d.haupt82@gmail.com> - 2014-02-15 03:00 -0800
  Re: java8 up to 6x slower than java7 Jan Burse <janburse@fastmail.fm> - 2014-02-15 12:26 +0100
    Re: java8 up to 6x slower than java7 Jan Burse <janburse@fastmail.fm> - 2014-02-15 12:28 +0100
    Re: java8 up to 6x slower than java7 Jan Burse <janburse@fastmail.fm> - 2014-02-15 12:52 +0100
      Re: java8 up to 6x slower than java7 Robert Klemme <shortcutter@googlemail.com> - 2014-02-16 13:10 +0100
        Re: java8 up to 6x slower than java7 Jan Burse <janburse@fastmail.fm> - 2014-02-16 14:38 +0100
          Re: java8 up to 6x slower than java7 Jan Burse <janburse@fastmail.fm> - 2014-02-16 14:43 +0100
            Re: java8 up to 6x slower than java7 Robert Klemme <shortcutter@googlemail.com> - 2014-02-16 14:53 +0100
              Re: java8 up to 6x slower than java7 Jan Burse <janburse@fastmail.fm> - 2014-02-16 20:27 +0100
                Re: java8 up to 6x slower than java7 Jan Burse <janburse@fastmail.fm> - 2014-02-16 20:36 +0100
                Re: java8 up to 6x slower than java7 Robert Klemme <shortcutter@googlemail.com> - 2014-02-17 18:55 +0100
                Re: java8 up to 6x slower than java7 Wanja Gayk <brixomatic@yahoo.com> - 2014-03-02 20:52 +0100
                Re: java8 up to 6x slower than java7 Jan Burse <janburse@fastmail.fm> - 2014-03-03 11:53 +0100
                Re: java8 up to 6x slower than java7 Joerg Meier <joergmmeier@arcor.de> - 2014-03-03 17:16 +0100
                Re: java8 up to 6x slower than java7 Jan Burse <janburse@fastmail.fm> - 2014-03-03 19:53 +0100
                Re: java8 up to 6x slower than java7 Lew <lewbloch@gmail.com> - 2014-03-03 13:44 -0800
      Re: java8 up to 6x slower than java7 Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2014-02-16 11:24 -0800
  Re: java8 up to 6x slower than java7 Robert Klemme <shortcutter@googlemail.com> - 2014-02-15 12:55 +0100
  Re: java8 up to 6x slower than java7 "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-02-15 23:42 +1100
  Re: java8 up to 6x slower than java7 Roedy Green <see_website@mindprod.com.invalid> - 2014-02-16 00:25 -0800

csiph-web