Import randread 0.2.
Submitted by Xavier Santolaria <xavier@santolaria.net>. Randread is a small, simple benchmark program that reads or writes randomly chosen blocks or lengths of blocks from a file or raw disk partition. This can be used to test both random and sequential read and write performance.
This commit is contained in:
parent
5cac4e38d5
commit
887be1494f
30
benchmarks/randread/Makefile
Normal file
30
benchmarks/randread/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/07/04 15:30:53 naddy Exp $
|
||||
|
||||
COMMENT= "help benchmark random read performance"
|
||||
|
||||
DISTNAME= randread-0.2
|
||||
CATEGORIES= benchmarks
|
||||
|
||||
HOMEPAGE= http://randread.sourceforge.net/
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=randread/}
|
||||
|
||||
MAINTAINER= Xavier Santolaria <xavier@santolaria.net>
|
||||
|
||||
# Public Domain
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && \
|
||||
${CC} ${CFLAGS} -o randread randread.c filelist.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/randread ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/randread
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/randread
|
||||
|
||||
.include <bsd.port.mk>
|
3
benchmarks/randread/distinfo
Normal file
3
benchmarks/randread/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (randread-0.2.tar.gz) = b8343cb416b52d2abad577b30fcae860
|
||||
RMD160 (randread-0.2.tar.gz) = e8806da27cc231748b9416b16949c4921abc1d91
|
||||
SHA1 (randread-0.2.tar.gz) = 5085d07cb6c4395d018addb4ab81f060473ea620
|
11
benchmarks/randread/patches/patch-filelist_c
Normal file
11
benchmarks/randread/patches/patch-filelist_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-filelist_c,v 1.1.1.1 2003/07/04 15:30:53 naddy Exp $
|
||||
--- filelist.c.orig Wed Sep 11 07:15:12 2002
|
||||
+++ filelist.c Tue Jul 1 16:37:22 2003
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
+#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <strings.h>
|
6
benchmarks/randread/pkg/DESCR
Normal file
6
benchmarks/randread/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
Randread is a small, simple benchmark program that reads or writes
|
||||
randomly chosen blocks or lengths of blocks from a file or raw disk
|
||||
partition. This can be used to test both random and sequential read and
|
||||
write performance.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
4
benchmarks/randread/pkg/PLIST
Normal file
4
benchmarks/randread/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/07/04 15:30:53 naddy Exp $
|
||||
bin/randread
|
||||
share/doc/randread/README
|
||||
@dirrm share/doc/randread
|
Loading…
Reference in New Issue
Block a user