mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
eb3d9eb0c9
Primary changes: * Add an improved cache system to speed up performance. * Fix NCZarr to properly handle scalar variables. Misc. Related Changes: * Added unit tests for extendible hash and for the generic cache. * Add config parameter to set size of the NCZarr cache. * Add initial performance tests but leave them unused. * Add CRC64 support. * Move location of ncdumpchunks utility from /ncgen to /ncdump. * Refactor auth support. Misc. Unrelated Changes: * More cleanup of the S3 support * Add support for S3 authentication in .rc files: HTTP.S3.ACCESSID and HTTP.S3.SECRETKEY. * Remove the hashkey from the struct OBJHDR since it is never used.
44 lines
700 B
Bash
Executable File
44 lines
700 B
Bash
Executable File
#!/bin/sh
|
|
# This is a metadata performance test for nczarr
|
|
# Dennis Heimbigner
|
|
|
|
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
|
|
. ../test_common.sh
|
|
|
|
. ./bm_common.sh
|
|
|
|
echo "Testing performance of nc_create and nc_open on file with large metadata"
|
|
|
|
MEDARGS="--treedepth=2 \
|
|
--ngroups=2 \
|
|
--ngroupattrs=100 \
|
|
--ndims=100 \
|
|
--ntypes=10 \
|
|
--nvars=100 \
|
|
--varrank=2 \
|
|
--nvarattrs=500"
|
|
|
|
BIGARGS="--treedepth=6 \
|
|
--ngroups=2 \
|
|
--ngroupattrs=100 \
|
|
--ndims=100 \
|
|
--ntypes=10 \
|
|
--nvars=100 \
|
|
--varrank=2 \
|
|
--nvarattrs=500"
|
|
|
|
SMALLARGS="--treedepth=2 \
|
|
--ngroups=2 \
|
|
--ngroupattrs=100 \
|
|
--ndims=100 \
|
|
--ntypes=10 \
|
|
--nvars=10 \
|
|
--varrank=2 \
|
|
--nvarattrs=100"
|
|
|
|
ARGS="$SMALLARGS"
|
|
|
|
bmtest bm_bigmeta $ARGS
|
|
|
|
#reclaim
|