Find file History
Mike Frysinger
Mike Frysinger localedata: iw_IL: delete old/deprecated locale [BZ #16137]
From the bug:
Obsolete locale.  The ISO-639 code for Hebrew was changed from 'iw'
to 'he' in 1989, according to Bruno Haible on libc-alpha 2003-09-01.

Reported-by: Chris Leonard <cjlhomeaddress@gmail.com>
Latest commit 20003c4 Feb 19, 2016
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
scripts Update copyright dates with scripts/update-copyrights. Jan 4, 2016
strcoll-inputs localedata: iw_IL: delete old/deprecated locale [BZ #16137] Apr 8, 2016
Makefile localedata: iw_IL: delete old/deprecated locale [BZ #16137] Apr 8, 2016
README benchtests: Add new directive for benchmark initialization hook May 26, 2014
acos-inputs Correct inputs for sin and cos Jan 10, 2014
acosh-inputs benchmark inputs for asinh and acosh Dec 31, 2013
asin-inputs Correct inputs for sin and cos Jan 10, 2014
asinh-inputs benchmark inputs for asinh and acosh Dec 31, 2013
atan-inputs benchmark inputs for atan Dec 31, 2013
atanh-inputs benchmark inputs for tanh and atanh Dec 31, 2013
bench-bcopy.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-bzero.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-malloc-thread.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-math-inlines.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-memccpy.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-memchr.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-memcmp.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-memcpy-large.c Add memcpy/memmove/memset benchmarks with large data Apr 6, 2016
bench-memcpy.c Test 64-byte alignment in memcpy benchtest Apr 1, 2016
bench-memmem.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-memmove-large.c Add memcpy/memmove/memset benchmarks with large data Apr 6, 2016
bench-memmove.c Test 64-byte alignment in memmove benchtest Apr 1, 2016
bench-mempcpy.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-memrchr.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-memset-large.c Add memcpy/memmove/memset benchmarks with large data Apr 6, 2016
bench-memset.c Test 64-byte alignment in memset benchtest Apr 1, 2016
bench-rawmemchr.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-skeleton.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-stpcpy.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-stpcpy_chk.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-stpncpy.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strcasecmp.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strcasestr.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strcat.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strchr.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strchrnul.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strcmp.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strcoll.c localedata: iw_IL: delete old/deprecated locale [BZ #16137] Apr 8, 2016
bench-strcpy.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strcpy_chk.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strcspn.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-string.h Add memcpy/memmove/memset benchmarks with large data Apr 6, 2016
bench-strlen.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strncasecmp.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strncat.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strncmp.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strncpy.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strnlen.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strpbrk.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strrchr.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strsep.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strspn.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strstr.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strtod.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-strtok.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-timing-type.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-timing.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-util.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-util.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcpcpy.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcpncpy.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcscat.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcschr.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcschrnul.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcscmp.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcscpy.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcscspn.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcslen.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcsncat.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcsncmp.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcsncpy.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcsnlen.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcspbrk.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcsrchr.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wcsspn.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wmemchr.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wmemcmp.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
bench-wmemset.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
cos-inputs Benchmark inputs for cos and sin Dec 31, 2013
cosh-inputs benchmark inputs for sinh and cosh Dec 31, 2013
exp-inputs New inputs for exp Oct 28, 2013
exp2-inputs benchmark inputs for exp2, log2, log and tan Dec 12, 2013
ffs-inputs benchtests: Add benchtests for ffs and ffsll Mar 31, 2014
ffsll-inputs benchtests: Add benchtests for ffs and ffsll Mar 31, 2014
json-lib.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
json-lib.h Update copyright dates with scripts/update-copyrights. Jan 4, 2016
log-inputs benchmark inputs for exp2, log2, log and tan Dec 12, 2013
log2-inputs benchmark inputs for exp2, log2, log and tan Dec 12, 2013
modf-inputs [benchtests] Use inputs file for modf Mar 29, 2014
pow-inputs Benchmark inputs for pow Oct 28, 2013
pthread_once-inputs benchtests: Add pthread_once common-case test. Apr 10, 2014
pthread_once-source.c Update copyright dates with scripts/update-copyrights. Jan 4, 2016
rint-inputs Add more directives to benchmark input files Oct 7, 2013
sin-inputs Benchmark inputs for cos and sin Dec 31, 2013
sincos-inputs benchtests: Add inputs from sin and cos to sincos Dec 8, 2015
sinh-inputs benchmark inputs for sinh and cosh Dec 31, 2013
sprintf-inputs Add sprintf benchmark. May 21, 2015
sprintf-source.c Add sprintf benchmark. May 21, 2015
sqrt-inputs Benchmark test for sqrt function. Dec 2, 2013
tan-inputs benchmark inputs for exp2, log2, log and tan Dec 12, 2013
tanh-inputs benchmark inputs for tanh and atanh Dec 31, 2013

README

Using the glibc microbenchmark suite
====================================

The glibc microbenchmark suite automatically generates code for specified
functions, builds and calls them repeatedly for given inputs to give some
basic performance properties of the function.

Running the benchmark:
=====================

The benchmark needs python 2.7 or later in addition to the
dependencies required to build the GNU C Library.  One may run the
benchmark by invoking make as follows:

  $ make bench

This runs each function for 10 seconds and appends its output to
benchtests/bench.out.  To ensure that the tests are rebuilt, one could run:

  $ make bench-clean

The duration of each test can be configured setting the BENCH_DURATION variable
in the call to make.  One should run `make bench-clean' before changing
BENCH_DURATION.

  $ make BENCH_DURATION=1 bench

The benchmark suite does function call measurements using architecture-specific
high precision timing instructions whenever available.  When such support is
not available, it uses clock_gettime (CLOCK_PROCESS_CPUTIME_ID).  One can force
the benchmark to use clock_gettime by invoking make as follows:

  $ make USE_CLOCK_GETTIME=1 bench

Again, one must run `make bench-clean' before changing the measurement method.

Adding a function to benchtests:
===============================

If the name of the function is `foo', then the following procedure should allow
one to add `foo' to the bench tests:

- Append the function name to the bench variable in the Makefile.

- Make a file called `foo-inputs` to provide the definition and input for the
  function.  The file should have some directives telling the parser script
  about the function and then one input per line.  Directives are lines that
  have a special meaning for the parser and they begin with two hashes '##'.
  The following directives are recognized:

  - args: This should be assigned a colon separated list of types of the input
    arguments.  This directive may be skipped if the function does not take any
    inputs.  One may identify output arguments by nesting them in <>.  The
    generator will create variables to get outputs from the calling function.
  - ret: This should be assigned the type that the function returns.  This
    directive may be skipped if the function does not return a value.
  - includes: This should be assigned a comma-separated list of headers that
    need to be included to provide declarations for the function and types it
    may need (specifically, this includes using "#include <header>").
  - include-sources: This should be assigned a comma-separated list of source
    files that need to be included to provide definitions of global variables
    and functions (specifically, this includes using "#include "source").
    See pthread_once-inputs and pthreads_once-source.c for an example of how
    to use this to benchmark a function that needs state across several calls.
  - init: Name of an initializer function to call to initialize the benchtest.
  - name: See following section for instructions on how to use this directive.

  Lines beginning with a single hash '#' are treated as comments.  See
  pow-inputs for an example of an input file.

Multiple execution units per function:
=====================================

Some functions have distinct performance characteristics for different input
domains and it may be necessary to measure those separately.  For example, some
math functions perform computations at different levels of precision (64-bit vs
240-bit vs 768-bit) and mixing them does not give a very useful picture of the
performance of these functions.  One could separate inputs for these domains in
the same file by using the `name' directive that looks something like this:

  ##name: 240bit

See the pow-inputs file for an example of what such a partitioned input file
would look like.

Benchmark Sets:
==============

In addition to standard benchmarking of functions, one may also generate
custom outputs for a set of functions.  This is currently used by string
function benchmarks where the aim is to compare performance between
implementations at various alignments and for various sizes.

To add a benchset for `foo':

- Add `foo' to the benchset variable.
- Write your bench-foo.c that prints out the measurements to stdout.
- On execution, a bench-foo.out is created in $(objpfx) with the contents of
  stdout.