This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] Add malloc micro benchmark


DJ Delorie wrote:

> What other tests do is create a second test that just #include's the
> first test, and set an environment variable in the Makefile specific to
> that test.  Adding an ABI just for a test is a big hammer, although we
> could discuss adding tcache to mallopt() as a seperate topic.

Yeah but the makefiles are already insanely complex. Adding the new
benchmark to the makefile took more than 10x as much time as writing
the test itself...

> I don't have any objection to adding tcache to mallopt (although please
> add all three tunables if you do), just saying we should discuss it as
> an ABI change separately.

It doesn't have to be an external ABI, I'd suggest keeping this internal to
GLIBC to make testing and benchmarking easier.

Wilco


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]