This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PING] Wordexp benchtest: good, bad and unreliable.
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 18 Jun 2015 13:39:00 -0400
- Subject: Re: [PING] Wordexp benchtest: good, bad and unreliable.
- Authentication-results: sourceware.org; auth=none
- References: <20150513124945 dot GA4067 at domone> <55538A90 dot 9000908 at redhat dot com> <20150513183554 dot GA31157 at domone> <55539E20 dot 4010506 at redhat dot com> <20150606105711 dot GA7215 at domone> <20150616173255 dot GC9387 at domone> <558077D3 dot 1080903 at redhat dot com> <20150618163408 dot GA16797 at domone>
On 06/18/2015 12:34 PM, OndÅej BÃlka wrote:
>> Similarly we will have conflicting workloads modeled as benchmarks, and
>> the hard part is that as an expert we have to make a difficult choice.
>> We have to understand the workload and decide "Yes, we ignore this performance
>> decrease because we expect fewer people will suffer." However, in order
>> to do that we need comments about exactly what workload we're trying to model.
>>
> Thats problem that you need to collect lot of domain knowledge to be
> usable. Problem is that I didn't find yet application that uses it.
mailx uses wordexp to expand folder paths.
>>
> None in particular, just trying to measure performance change.
What about looking at feeding paths into wordexp and using it like mailx
does to do light-weight globbing?
See mailx-12.5/fio.c, where globname uses wordexp to do the expansions,
and also expand as used in the rest of mailx.
Cheers,
Carlos.