File: README.md

package info (click to toggle)
js-of-ocaml 5.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 32,020 kB
  • sloc: ml: 91,250; javascript: 57,289; ansic: 315; makefile: 271; lisp: 23; sh: 6; perl: 4
file content (30 lines) | stat: -rw-r--r-- 1,087 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Benchmarks 

These benchmarks are used to generate charts such as the ones available at https://ocsigen.org/js_of_ocaml/dev/manual/performances.

## Quick start
```
# build/copy additionnal bytecode executable inside `./programs/`
# used when generating the size report.
make copy-extra-bc

# Tune run.config to fit your environment

# running `make` will
# build all benchmarks to bytecode, native and javascript
# compute sizes of artifacts
# run benchmarks and record timings
# generate a bunch pdf reports
make
```

## Contents

| Filename        | Description                                    |
| -----------     | --------------------------------------------   |
| sources/ml      | OCaml benchmarks                               |
| sources/js      | JavaScript benchmarks                          |
| run.exe         | Generate size and timing data                  |
| run.config      | Configure available js interpreter             |
| report.exe      | Generate reports using gnuplot                 |
| report-*.config | config read by report.exe to generate a report |