Re: Question about speed: Weird Behavior

From: Maciek Sakrejda <msakrejda(at)truviso(dot)com>
To: Radosław Smogura <rsmogura(at)softperience(dot)eu>
Cc: Israel Ben Guilherme Fonseca <israel(dot)bgf(at)gmail(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Question about speed: Weird Behavior
Date: 2011-06-13 16:13:42
Message-ID: BANLkTiksRx=RvGtLqJgGv+PA4pHhOS_x4A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> There may be some GC
> overhead, you should call System.gc after or before each pass to start with
> similar environment.

Note that the contract of System.gc() is really more like "Hey, I
think it might be fun to run GC right now," than "You'll run GC right
now and you'll like it." In other words, it's technically only a
suggestion, so you should make sure it's actually doing something
before you start depending on it for performance numbers.

---
Maciek Sakrejda | System Architect | Truviso

1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Israel Ben Guilherme Fonseca 2011-06-13 17:12:24 Re: Question about speed: Weird Behavior
Previous Message Craig Ringer 2011-06-13 12:24:43 Re: Question about speed: Weird Behavior