From owner-freebsd-bugs Mon Nov 18 13:50:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14395 for bugs-outgoing; Mon, 18 Nov 1996 13:50:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14389; Mon, 18 Nov 1996 13:50:05 -0800 (PST) Resent-Date: Mon, 18 Nov 1996 13:50:05 -0800 (PST) Resent-Message-Id: <199611182150.NAA14389@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, aantipa@certicom.ca Received: from janus.certicom.ca ([204.225.51.194]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA14165 for ; Mon, 18 Nov 1996 13:47:35 -0800 (PST) Received: from galois.certicom.ca (galois.certicom.ca [204.225.50.1]) by janus with ESMTP (DuhMail/2.0) id QAA07261; Mon, 18 Nov 1996 16:46:31 -0500 Received: (from aantipa@localhost) by galois.certicom.ca (8.6.12/8.6.9) id QAA09435; Mon, 18 Nov 1996 16:53:32 -0500 Message-Id: <199611182153.QAA09435@galois.certicom.ca> Date: Mon, 18 Nov 1996 16:53:32 -0500 From: Adrian Antipa Reply-To: aantipa@certicom.ca To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/2054: Timing benchmarks in Beta Toolkit. Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2054 >Category: misc >Synopsis: Inaccurate timing benchmarks for ECSVEP2 phase 2. >Confidential: yes >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: support >Submitter-Id: current-users >Arrival-Date: Mon Nov 18 13:50:03 PST 1996 >Last-Modified: >Originator: Adrian Antipa >Organization: Certicom Corp. >Release: ECTK-Beta >Environment: DOS 6.20, MSVC 1.5 >Description: eca_mult_affine_point() implements the windowing algorithm. A table is build for each input. It was declared static and a control was set to test the input point. If the input point is the same as in the previous call, then the same table is used, if not, a new table is built. Calling ecs_SharedValueProtocol2_P2() with the same parameters each time, caused a caching of the table construction. For the field size 155, the timing average of ECSVEP2 phase 2 was 1 ms, instead of 120 ms, the timing result for only one loop. The Toolkit binder registered 1 ms for ECSVEP2 for 155 and 239. >How-To-Repeat: Run bsb.exe, the source being /certicom/projects/toolkit/src/bench/bench.c. >Fix: Run only one loop when benchmarking the ECSVEP2. >Audit-Trail: >Unformatted: