portable

command
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: EPL-1.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Portable interpreter benchmarks

These workloads exercise ordinary Clojure programs that run unchanged in both Glojure and let-go. They complement microbenchmarks by covering lazy sequences, persistent maps and vectors, higher-order collection operations, nested function calls, and integer-heavy loops.

  • prime-workload.clj: lazy prime generation and repeated factorization
  • event-analytics.clj: aggregation of 75,000 event maps
  • game-of-life.clj: 75 generations on a 48×48 board
  • mandelbrot.clj: fixed-point Mandelbrot calculation on a 120×72 grid

Build Glojure, then compare it with a let-go executable:

go build -o /tmp/glj ./cmd/glj
go run ./benchmark/portable \
  -glojure /tmp/glj \
  -let-go /path/to/lg \
  -runs 11

The runner warms up both executables, checks that they produce identical output, alternates which executable runs first, and reports median wall-clock times. A Glojure/let-go ratio at or below 1.0 means Glojure is at least as fast for that workload.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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