<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glibc/benchtests/README, branch master</title>
<subtitle>Fork of glibc for development</subtitle>
<id>https://git.zx2c4.com/glibc/atom/benchtests/README?h=master</id>
<link rel='self' href='https://git.zx2c4.com/glibc/atom/benchtests/README?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/'/>
<updated>2024-05-16T15:12:59Z</updated>
<entry>
<title>benchtests: Add fclose benchmark</title>
<updated>2024-05-16T15:12:59Z</updated>
<author>
<name>H.J. Lu</name>
<email>hjl.tools@gmail.com</email>
</author>
<published>2024-05-16T15:08:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=fa9aecc045e9e7d0c2f4e182748491f732e63dd2'/>
<id>urn:sha1:fa9aecc045e9e7d0c2f4e182748491f732e63dd2</id>
<content type='text'>
Measure duration of 100 fclose calls after opening 1 million FILEs.

Signed-off-by: H.J. Lu &lt;hjl.tools@gmail.com&gt;
Reviewed-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
</content>
</entry>
<entry>
<title>benchtests: Add benchtests for dl_elf_hash, dl_new_hash and nss_hash</title>
<updated>2022-05-23T15:38:40Z</updated>
<author>
<name>Noah Goldstein</name>
<email>goldstein.w.n@gmail.com</email>
</author>
<published>2022-05-19T22:18:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=319dddc143d0c59cc48661fa141ae575f80a074a'/>
<id>urn:sha1:319dddc143d0c59cc48661fa141ae575f80a074a</id>
<content type='text'>
Benchtests are for throughput and include random / fixed size
benchmarks.
Reviewed-by: Siddhesh Poyarekar &lt;siddhesh@sourceware.org&gt;
</content>
</entry>
<entry>
<title>benchtests: Building benchmarks as static executables</title>
<updated>2021-10-04T17:09:13Z</updated>
<author>
<name>H.J. Lu</name>
<email>hjl.tools@gmail.com</email>
</author>
<published>2021-07-30T19:15:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=de0a7c5a0b2061c86441a1822d6c3a898b0b6ba2'/>
<id>urn:sha1:de0a7c5a0b2061c86441a1822d6c3a898b0b6ba2</id>
<content type='text'>
Building benchmarks as static executables:
=========================================

To build benchmarks as static executables, on the build system, run:

  $ make STATIC-BENCHTESTS=yes bench-build

You can copy benchmark executables to another machine and run them
without copying the source nor build directories.
</content>
</entry>
<entry>
<title>benchtests/README update.</title>
<updated>2020-08-04T16:44:41Z</updated>
<author>
<name>Paul Zimmermann</name>
<email>Paul.Zimmermann@inria.fr</email>
</author>
<published>2020-08-04T11:27:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=50a8dd367e305bb6c6146c564fd48c193cc94069'/>
<id>urn:sha1:50a8dd367e305bb6c6146c564fd48c193cc94069</id>
<content type='text'>
Improve documentation of the 'name' directive and the 'workload' mechanism.

Reviewed-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
</content>
</entry>
<entry>
<title>benchtests: Restore the clock_gettime option</title>
<updated>2020-06-05T16:48:07Z</updated>
<author>
<name>H.J. Lu</name>
<email>hjl.tools@gmail.com</email>
</author>
<published>2020-06-05T16:48:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=e52434a2e4d1105272daaef87678da950fbec73f'/>
<id>urn:sha1:e52434a2e4d1105272daaef87678da950fbec73f</id>
<content type='text'>
commit 7621e38bf3c58b2d0359545f1f2898017fd89d05
Author: Wilco Dijkstra &lt;Wilco.Dijkstra@arm.com&gt;
Date:   Tue Jan 29 17:43:45 2019 +0000

    Add generic hp-timing support

removed the clock_gettime option.  Restore the clock_gettime option for
some x86 CPUs on which value from RDTSC may not be incremented at a fixed
rate.

Reviewed-by: Carlos O'Donell &lt;carlos@redhat.com&gt;
</content>
</entry>
<entry>
<title>Add generic hp-timing support</title>
<updated>2019-03-22T20:30:44Z</updated>
<author>
<name>Wilco Dijkstra</name>
<email>Wilco.Dijkstra@arm.com</email>
</author>
<published>2019-01-29T17:43:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=7621e38bf3c58b2d0359545f1f2898017fd89d05'/>
<id>urn:sha1:7621e38bf3c58b2d0359545f1f2898017fd89d05</id>
<content type='text'>
Add missing generic hp_timing support.  It uses clock_gettime (CLOCK_MONOTONIC)
which has unspecified starting time, nano-second accuracy, and should faster on
architectures that implementes the symbol as vDSO.

Checked on aarch64-linux-gnu, x86_64-linux-gnu, and i686-linux-gnu. I also
checked the builds for all afected ABIs.

	* benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
	* benchtests/README: Update description.
	* benchtests/bench-timing.h: Default to hp-timing.
	* sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
	HP_TIMING_PRINT): Remove.
	(HP_TIMING_NOW): Add generic implementation.
	(hp_timing_t): Change to uint64_t.
</content>
</entry>
<entry>
<title>x86: Support RDTSCP for benchtests</title>
<updated>2018-10-24T09:19:34Z</updated>
<author>
<name>H.J. Lu</name>
<email>hjl.tools@gmail.com</email>
</author>
<published>2018-10-24T09:19:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=7cc65773f04e0f4252428c40dcbb784a39b58cd1'/>
<id>urn:sha1:7cc65773f04e0f4252428c40dcbb784a39b58cd1</id>
<content type='text'>
RDTSCP waits until all previous instructions have executed and all
previous loads are globally visible before reading the counter.  RDTSC
doesn't wait until all previous instructions have been executed before
reading the counter.  All x86 processors since 2010 support RDTSCP
instruction.  This patch adds RDTSCP support to benchtests.

	* benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
	USE_RDTSCP is defined.
	* sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
	USE_RDTSCP is defined.
</content>
</entry>
<entry>
<title>benchtests: Enable BENCHSET to run subset of tests</title>
<updated>2017-11-28T14:27:46Z</updated>
<author>
<name>Victor Rodriguez</name>
<email>victor.rodriguez.bahena@intel.com</email>
</author>
<published>2017-11-28T14:27:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=0422ed1e84d923023f3bd57e723d3d4dc7569901'/>
<id>urn:sha1:0422ed1e84d923023f3bd57e723d3d4dc7569901</id>
<content type='text'>
This patch adds BENCHSET variable to benchtests/Makefile in order to
provide the capability to run a list of subsets of benchmark tests, ie;

    make bench BENCHSET="bench-pthread bench-math malloc-thread"

This helps users to benchmark specific glibc area

ChangeLog:

        * benchtests/Makefile:Add BENCHSET to allow subsets of
        benchmarks to be run.
        * benchtests/README: Add documentation for: Running subsets of
        benchmarks.

Signed-off-by: Victor Rodriguez &lt;victor.rodriguez.bahena@intel.com&gt;
Signed-off-by: Icarus Sparry &lt;icarus.w.sparry@intel.com&gt;
Reviewed-By: Siddhesh Poyarekar &lt;siddhesh@sourceware.org&gt;
</content>
</entry>
<entry>
<title>benchtests: Use argparse to parse arguments</title>
<updated>2017-09-16T06:17:32Z</updated>
<author>
<name>Siddhesh Poyarekar</name>
<email>siddhesh@sourceware.org</email>
</author>
<published>2017-09-16T06:17:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=06b1de237801402c7da327f0a36f4e6aa2f06cc2'/>
<id>urn:sha1:06b1de237801402c7da327f0a36f4e6aa2f06cc2</id>
<content type='text'>
Make the script more usable by adding proper command line options
along with a way to query the options.  The script is capable of doing
a bunch of things right now like choosing a base for comparison,
choosing to generate graphs, etc. and they should be accessible via
command line switches.

	* benchtests/scripts/compare_strings.py: Use argparse.
	* benchtests/README: Document existence of compare_strings.py.
</content>
</entry>
<entry>
<title>Improve math benchmark infrastructure</title>
<updated>2017-06-20T15:26:26Z</updated>
<author>
<name>Wilco Dijkstra</name>
<email>wdijkstr@arm.com</email>
</author>
<published>2017-06-20T15:26:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=beb52f502f0477465313675d2a0fbf3962e130b8'/>
<id>urn:sha1:beb52f502f0477465313675d2a0fbf3962e130b8</id>
<content type='text'>
Improve support for math function benchmarking.  This patch adds
a feature that allows accurate benchmarking of traces extracted
from real workloads.  This is done by iterating over all samples
rather than repeating each sample many times (which completely
ignores branch prediction and cache effects).  A trace can be
added to existing math function inputs via
"## name: workload-&lt;name&gt;", followed by the trace.

        * benchtests/README: Describe workload feature.
        * benchtests/bench-skeleton.c (main): Add support for
        benchmarking traces from workloads.
</content>
</entry>
</feed>
