benchmarks/nsieve 1.2b NetBSD
Sieve of Eratosthenes benchmark
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Categories
- benchmarks
- Package size
- 5.7 KiB, 10.8 KiB installed
Description
This Sieve of Eratosthenes program works with variable size arrays. It is a straight forward extension of the original Gilbreath version ( Gilbreath, Jim. "A High-Level Language Benchmark." BYTE, September 1981, p. 180, and also Gilbreath, Jim and Gary. "Eratosthenes Revisited: Once More Through the Sieve." BYTE January 1983, p. 283 ). Unlike the Sieve of Gilbreath, NSIEVE uses register long variables, pointers,and large byte arrays via 'malloc()'. Maximum array size is currently set at 2.56 MBytes but this can be increased or decreased by changing the program LIMIT constant.
Install
Binary package:
pkgin install nsieve
From pkgsrc:
cd /usr/pkgsrc/benchmarks/nsieve && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.2b |
| NetBSD 10.1 aarch64 | 1.2b |
| SmartOS / illumos x86_64 | 1.2b |
| macOS 15 arm64 | 1.2b |
Dependencies
No port depends on this one.