🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #141798

Re: Szybkość Javy wg Horstmanna a testy...

#141798
From: jarekr
Date: Mon, 20 Oct 2008 14:50
28 lines
2530 bytes
On 20 Paź, 16:36, Abece <a...@abece.nospam.in.w.pl> wrote:
> jarekr wrote:

> Nie udawaj, że masz problemy z czytaniem i czytaniem ze zrozumieniem, masz
> na tacy:
>
> Message-ID: <gdg318$g5g$1@nemesis.news.neostrada.pl>
>
> Jest - GCC 4.1.1 i JDK 1.60_10.
> Parametry kompilacji - domyslne, skoro nie podałem innych, czyli:
> g++ programik.cpp
> javac exp.java

Domyślne parametry do benchmarków to coś baaaardzo słabego ( i w C++ i
w Javie).
Tak słabego, że aż przykro. Sorry - po prostu aż mi to do głowy nie
przyszło :-)

Btw. w przypadku javy
javac akurat nie ma znaczenia - bo on akurat nie kompiluje do kodu
maszynowego.
parametry po java.exe mają znaczenie - zapoznaj się z nimi:
http://www.md.pp.ru/~eu/jdk6options.html

W przypadku C++ zapoznaj się z np.:
http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/gcc/optimize-options.html

Jak już będziesz je znał to zapraszam do dyskusji :-)
Technical Details
Message-ID: <248a2f73-1b18-47d4-83cf-5bd9899b37b4@i20g2000prf.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!news.germany.com!postnews.google.com!i20g2000prf.googlegroups.com!not-for-mail
References: <gdg318$g5g$1@nemesis.news.neostrada.pl> <df635ef9-4a3f-4915-be18-d2dcf7f09b9f@t18g2000prt.googlegroups.com> <24769ac6-ecbd-492d-b655-68805d8fde86@g25g2000prf.googlegroups.com> <gdi32o$ea6$5@inews.gazeta.pl> <ae5fb5c3-6e37-48db-b305-6d251b347842@o40g2000prn.googlegroups.com> <gdi45f$ohu$1@inews.gazeta.pl> <ed72be02-c2b9-469d-a6b4-f53f5d7eda3a@w1g2000prk.googlegroups.com> <gdi51u$slu$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!news.germany.com!postnews.google.com!i20g2000prf.googlegroups.com!not-for-mail
From: jarekr <jratajski@gmail.com>
Newsgroups: pl.comp.lang.java
Subject: Re: Szybkość Javy wg Horstmanna a testy...
Date: Mon, 20 Oct 2008 07:50:32 -0700 (PDT)
Organization: http://groups.google.com
Lines: 32
Message-ID: <248a2f73-1b18-47d4-83cf-5bd9899b37b4@i20g2000prf.googlegroups.com>
References: <gdg318$g5g$1@nemesis.news.neostrada.pl> <df635ef9-4a3f-4915-be18-d2dcf7f09b9f@t18g2000prt.googlegroups.com>  <24769ac6-ecbd-492d-b655-68805d8fde86@g25g2000prf.googlegroups.com>  <gdi32o$ea6$5@inews.gazeta.pl> <ae5fb5c3-6e37-48db-b305-6d251b347842@o40g2000prn.googlegroups.com>  <gdi45f$ohu$1@inews.gazeta.pl> <ed72be02-c2b9-469d-a6b4-f53f5d7eda3a@w1g2000prk.googlegroups.com>  <gdi51u$slu$1@inews.gazeta.pl>
NNTP-Posting-Host: 194.8.14.8
Mime-Version: 1.0
X-Trace: posting.google.com 1224514232 31042 127.0.0.1 (20 Oct 2008 14:50:32 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 20 Oct 2008 14:50:32 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: i20g2000prf.googlegroups.com; posting-host=194.8.14.8;  posting-account=8VcG5goAAAABOIouhSJEZq2WqNug-5DI
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.3)  Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit