-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbenchmark.yml
More file actions
34 lines (27 loc) · 904 Bytes
/
Copy pathbenchmark.yml
File metadata and controls
34 lines (27 loc) · 904 Bytes
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
31
32
33
34
benchmark:
name: "toml"
description: "TOML parser - Go to Python translation using toml-test suite"
type: cli
source_language: go
target_language: python
source:
language: go
description: "BurntSushi/toml - Go TOML parser with toml-test decoder"
# Build phase
install_cmd: null # No deps to install (stdlib only)
build_cmd: "go build -o toml-test-decoder ./cmd/toml-test-decoder"
# CLI runtime - decoder reads TOML from stdin, outputs JSON to stdout
run_cmd: "./toml-test-decoder"
destination:
language: python
description: "TOML parser in Python with toml-test compatible decoder"
# Build phase
install_cmd: "pip install -e ."
build_cmd: null # Python doesn't need compilation
# CLI runtime - must match same stdin/stdout interface as source
run_cmd: "python3 toml_decoder.py"
testing:
tool: pytest
test_files:
- "test_toml.py"
test_dir: "tests"