MIPSTEST is available in three versions:

Source is available here.

Sample run on HP3000:

@(#) MIPSTEST 2002-08-23c
Copyright (c) 2002  Allegro Consultants, Inc.     www.allegro.com

We have tried to make this program accurately measure CPU
performance.  However, between us being merely human
(i.e., we can make mistakes), and the CPUs being PA-RISC
(which can be tricky to measure from model to model), we
have to state that we make no claims of accuracy for the
measurements shown.

The source code for this program is available, free,
upon request: info@allegro.com

System being used:
Rated CPU speed: 64 MHz

Measuring speed...
user MHz =   63; hardware MHz =  63.2