[SP-pm] Performance 5.6.1 vs 5.8.0

Otávio Fernandes otaviof em gmail.com
Quinta Junho 19 08:46:06 PDT 2008


2008/6/19 Alexei Znamensky <russoz em gmail.com>:
> Otávio,
>
> Você também pode pensar em modificar isso aqui:
>
> cpu=i386 machine=i386
>
> para alguma coisa mais parecida com a máquina que você tem ;-)
>
> 2008/6/19 Luis Motta Campos <luismottacampos em yahoo.co.uk>:
>>
>> Otávio Fernandes wrote:
>>  > # perl -V:cc.*
>> > cc='gcc'
>> > ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
>> > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
>> > -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm'
>> > cccdlflags='-fPIC'
>> > ccdlflags='-rdynamic
>> > -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
>> > ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
>> > ccname='gcc'
>> > ccsymbols='__GNUC_PATCHLEVEL__=3 __GNUC_RH_RELEASE__=59
>> > __GXX_ABI_VERSION=102 __NO_INLINE__=1 __tune_i386__=1 cpu=i386
>> > machine=i386 system=posix'
>> > ccversion=''
>> >
>> > Estou verificando o porqeu deste "-DDEBUGGING"...
>>
>> Isso possivelmente vai melhorar a tua performance mais um pouquinho... ;)
>>
>> E eu suspeito da flag __NO_INLINE__: se o compilador não pode fazer
>> substituições de rotinas pequenas por /inlined/ versions, possivelmente
>> vão acontecer muito mais mudanças de contexto no teu programa. Isso vai
>> causar lentidão também. Se você tem tempo, pode valer à pena investigar.
>>
>> Putamplexos.
>> --
>> Luis Motta Campos (a.k.a. Monsieur Champs) is a software engineer,
>> Perl fanatic evangelist, and amateur {cook, photographer}
>>
>> _______________________________________________
>> SaoPaulo-pm mailing list
>> SaoPaulo-pm em pm.org
>> http://mail.pm.org/mailman/listinfo/saopaulo-pm
>
>
>
> --
> Alexei Znamensky [russoz_gmail_com] [russoz.wordpress.com]
> [www.flickr.com/photos/alexeiz]
> "Though we live in trying times, we're the ones who have to try"
> _______________________________________________
> SaoPaulo-pm mailing list
> SaoPaulo-pm em pm.org
> http://mail.pm.org/mailman/listinfo/saopaulo-pm
>

Alexei,

Esta parte já está acertada.

valeu,

-- 
 | --
 | Otávio Fernandes <otaviof at gmail.com>
 | GNU/Linux User: 283.396
 | --


Mais detalhes sobre a lista de discussão SaoPaulo-pm