ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Led <led@ukr-fin.com.ua>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Re: [JT] OpenOffice.org 1.1.4 black icons
Date: Thu, 29 Sep 2005 14:09:38 +0300
Message-ID: <200509291409.38499.led@ukr-fin.com.ua> (raw)
In-Reply-To: <20050928234426.GN3831@solemn.turbinal.org>

В сообщении от Четверг 29 Сентябрь 2005 02:44 Alexey Tourbin написал(a):
> On Wed, Sep 28, 2005 at 12:21:13PM +0300, Led wrote:
> > > медленно). С -O3 собиратся будет раза в два медленнее, но и работать
> > > будет быстрее.
>
> Не будет.
>
> > Тут есть ньюансы:) Бывают случаи (логически объяснимые), когда сборка с
> > -Os получается самым быстрым вариантом:)
>
> Таких случаев больше половины.  Логическое объяснение -- кеш
> у процессоров не резиновый.  -O3 может дать небольшой прирост
> производительности на интенсивных математических вычислениях,
> но для типичного кода, который "скачет" по библиотекам и часто
> делает системные вызовы, раскрутка циклов и т.п. заметно портит дело.

Есть предположение, что -O3 может дать прирост производительности именно на 
кроссплатформенных приложениях (типа ОО), так как по причине именно 
кроссплатформенности код, как правило, сам по себе не очень оптимален... Но 
это всего лишь моё предположение, потому как достаточной статистики у меня 
нету.

>
> Перл и все перловые модули сейчас собираются с -Os.  Я когда-то
> профилировал, по сравнение с -O2 выигрыш примерно 7%.

А  -Os ИМХО может дать и обратный эффект: кэш может быть и 128М, и 1024М...

Led.


  parent reply	other threads:[~2005-09-29 11:09 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-27  5:41 ` [sisyphus] " Антон Горлов
2005-09-27  8:34   ` [sisyphus] [JT] " Yury Aliaev
2005-09-27  8:37     ` Антон Горлов
2005-09-27 10:01       ` Led
2005-09-27 10:07         ` Антон Горлов
2005-09-27 10:57       ` Igor Zubkov
2005-09-27 11:27         ` Led
2005-09-27 11:38           ` Igor Zubkov
2005-09-27 13:04             ` Антон Горлов
2005-09-27 13:14               ` Led
2005-09-27 20:28                 ` Igor Zubkov
2005-09-27 20:27               ` Igor Zubkov
2005-09-27 17:58             ` [sisyphus] " Konstantin A. Lepikhov
2005-09-27 20:29               ` Igor Zubkov
2005-09-27 13:02         ` [sisyphus] " Антон Горлов
2005-09-27 13:11           ` Led
2005-09-27 13:11             ` Антон Горлов
2005-09-27 13:15               ` Valery V. Inozemtsev
2005-09-27 13:22                 ` Led
2005-09-27 14:59                   ` [sisyphus] " Michael Shigorin
2005-09-27 15:06                     ` Led
2005-09-27 17:13                   ` [sisyphus] " Valery V. Inozemtsev
2005-09-27 20:13                 ` [sisyphus] " Arioch
2005-09-27 20:31               ` [sisyphus] " Igor Zubkov
2005-09-28  5:42                 ` Антон Горлов
2005-09-28  8:44                   ` Led
2005-09-28  8:52                     ` Антон Горлов
2005-09-28  8:53                   ` Igor Zubkov
2005-09-28  9:21                     ` Led
2005-09-28 23:44                       ` [sisyphus] " Alexey Tourbin
2005-09-28 23:52                         ` [sisyphus] компиляция с использованием параметров оптимизации Dmitry V. Levin
2005-09-29 11:33                           ` [sisyphus] [wiki] " Michael Shigorin
2005-09-29 11:09                         ` Led [this message]
2005-09-29 11:26                           ` [sisyphus] Re: [JT] OpenOffice.org 1.1.4 black icons Arioch
2005-09-29 11:50                             ` Michael Shigorin
2005-09-29 12:35                             ` Led
2005-09-27 15:47         ` [sisyphus] " Andrey Rahmatullin
2005-09-27 20:29           ` Igor Zubkov
2005-09-28  2:21             ` Andrey Rahmatullin
2005-09-27 21:53         ` Motsyo Gennadi aka Drool
2005-09-27  8:35   ` Yury Aliaev
2005-09-27  5:50 ` [sisyphus] " Андрей Осипов
2005-09-27  8:58   ` Denis Ovsienko
2005-09-27  9:03     ` Valery V. Inozemtsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200509291409.38499.led@ukr-fin.com.ua \
    --to=led@ukr-fin.com.ua \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git