[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Preprocessor performance tuning
From: |
Vladimir Vissoultchev |
Subject: |
Re: [Tinycc-devel] Preprocessor performance tuning |
Date: |
Sat, 16 Apr 2016 15:26:59 +0300 |
Probably on this large input some allocators get exhausted and fall back to
standard malloc/free.
In current patch I've increased `TokenString` allocator capacity to 2MB
(increasing total preallocations to 4.25MB) and implemented
TAL_DEBUG/TAL_INFO conditionals for debugging mem leaks and collecting stats
on the allocators incl. count of over capacity allocations (in `nb_failed`
member).
With latest tweaks I get ~58MB/s compilation speed on average, up from
46MB/s by latest mob before the patch.
IMO this is ready to be pushed to mob, unless someone finds something
troubling with the modifications proposed.
cheers,
</wqw>
-----Original Message-----
From: Tinycc-devel [mailto:address@hidden
On Behalf Of Sergey Korshunoff
Sent: Saturday, April 16, 2016 6:18 AM
To: address@hidden
Subject: Re: [Tinycc-devel] Preprocessor performance tuning
> Let me know what you all guys think and @seyko can you please test it
> again w/ tccboot.
tcc speed up on one big source (one tcc call with all files) is not
improved: 4%. But speed up on many tcc calls with one file: yes, 7-15%. Nice
result.
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
0001-Improve-hash-performance-and-reduce-allocations.zip
Description: Zip compressed data
Re: [Tinycc-devel] Preprocessor performance tuning, Vladimir Vissoultchev, 2016/04/15
Re: [Tinycc-devel] Preprocessor performance tuning, Vladimir Vissoultchev, 2016/04/15
- Re: [Tinycc-devel] Preprocessor performance tuning, Sergey Korshunoff, 2016/04/15
- Re: [Tinycc-devel] Preprocessor performance tuning,
Vladimir Vissoultchev <=
- Re: [Tinycc-devel] Preprocessor performance tuning, Sergey Korshunoff, 2016/04/16
- Re: [Tinycc-devel] Preprocessor performance tuning, Sergey Korshunoff, 2016/04/16
- Re: [Tinycc-devel] Preprocessor performance tuning, Vladimir Vissoultchev, 2016/04/16
- Re: [Tinycc-devel] Preprocessor performance tuning, Sergey Korshunoff, 2016/04/16
- Re: [Tinycc-devel] Preprocessor performance tuning, Vladimir Vissoultchev, 2016/04/16
- Re: [Tinycc-devel] Preprocessor performance tuning, Sergey Korshunoff, 2016/04/17
- Re: [Tinycc-devel] Preprocessor performance tuning, Vladimir Vissoultchev, 2016/04/17
- Re: [Tinycc-devel] Preprocessor performance tuning, Sergey Korshunoff, 2016/04/17
Re: [Tinycc-devel] Preprocessor performance tuning, Vladimir Vissoultchev, 2016/04/16