[antlr-interest] Re: Heavy Performance degradation on linux

rmsanjiv rmsanjiv at hotmail.com
Wed Dec 15 16:05:09 PST 2004



--- In antlr-interest at yahoogroups.com, Ric Klaren <ric.klaren at g...> wrote:
> On Wed, 15 Dec 2004 22:42:25 -0000, rmsanjiv <rmsanjiv at h...> wrote:
> > When I build antlr with -fPIC options and create a shared library for
> > my application and use that to parse expressions then there is
> > tremendous slow down ONLY on linux. It runs around 200X faster on sun
> > machines. Is there any known issue in that regard.
> 
> This sounds like a linux kernel or a compiler problem, some more specs
> could be helpfull. I would recommend building statically if speed is
> an issue. It would be interesting to see the speed difference on linux
> between a shared and statically linked lib (for reference)
> 
> Cheers,
> 
> Ric

Hi Ric,

Statically linked library runs pretty fast similar to shared library
on solaris. I wonder why this issue is specific to only shared library
on linux. Any clue?

Regards,
Sanjiv





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list