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: [RFC][PATCH] Rerun benchmarks only if *.out file does not exist.


On Fri, 2017-09-22 at 16:42 -0700, Steve Ellcey wrote:
> 
> 
> Two questions: One, does this sound useful to other people?  And two, what
> is wrong with my patch?  This patch mostly works but the bench-memcpy,
> bench-memcpy-large, and bench-memcpy-random tests get rerun everytime even
> if the .out files for those tests already exist.  I don't know why.  I am
> guessing is thas something to do with their common name prefix and the string
> manipulations done to test names in the Makefile but memset does not seem
> to have that problem.
> 
> Steve Ellcey
> sellcey@cavium.com

Well, you can ignore the question about what is wrong with the patch, I
was removing the memcpy*.out files and that was why they got rerun.  I
didn't see the rm command in my script and got confused.

While testing my changes I noticed that 'make bench-clean' does not
remove the *.out files.  It removes the executables and object files
but not the *.out result files.  So with my change 'make bench; make
bench-clean; make bench' resulted in the benchmarks getting rebuilt but
not rerun.  I don't know if the decision to not remove *.out files was
intentional or an oversight.

Steve Ellcey
sellcey@cavium.com


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