timeit

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2023 License: EUPL-1.2 Imports: 4 Imported by: 0

Documentation

Overview

Package timeit provides functions to measure evaluation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TimeitS

func TimeitS(eng *eval.Engine, env sxpf.Environment, args *sxpf.List) (eval.Expr, error)

TimeitS is a syntax to measure code execution time.

Types

type TimeitExpr

type TimeitExpr struct {
	// contains filtered or unexported fields
}

TimeitExpr stores information to measure execution time.

func (*TimeitExpr) Compute

func (te *TimeitExpr) Compute(eng *eval.Engine, env sxpf.Environment) (sxpf.Object, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL