🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #3797

Re: BENCHMARKS AND LIPS, KIPS

#3797
From: Richard A. O'Keefe
Date: Wed, 23 Nov 1988 01:54
20 lines
1126 bytes
In article <1732LIALG@CUNYVM> LIALG@CUNYVM.CUNY.EDU writes:
> i WOULD LIKE INFORMATION ON THE DEFINITION OF LIPS (I.E., LOGICAL
> INFERENCES PER SECOND) AND ANY BENCHMARKS THAT ARE 'STANDARD' IN
> MEASURING IT.

The only official definition of LI/s is
    let T be the time in seconds to run naive reverse of a 30-element
    list N times, for N large enough that timing fluctuations are small.
    The LI/s figure is then T/(496*N).
*NO* other benchmark measures LI/s; anything else is "procedure calls
per second for benchmark X".  Naive reverse is of course

	nrev([], []).
	nrev([X|Xs], R) :-
		nrev(Xs, R1),
		append(R1, [X], R).

	append([], L, L).
	append([H|T], L, [H|R]) :-
		append(T, L, R).
Technical Details
Message-ID: <721@quintus.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!seismo!sundc!pitstop!sun!quintus!ok
References: <1732LIALG@CUNYVM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!seismo!sundc!pitstop!sun!quintus!ok
From: ok@quintus.uucp (Richard A. O'Keefe)
Newsgroups: comp.lang.prolog
Subject: Re: BENCHMARKS AND LIPS, KIPS
Message-ID: <721@quintus.UUCP>
Date: 23 Nov 88 01:54:16 GMT
References: <1732LIALG@CUNYVM>
Sender: news@quintus.UUCP
Reply-To: ok@quintus.UUCP (Richard A. O'Keefe)
Organization: Quintus Computer Systems, Inc.
Lines: 20