Skip to content

Restore Windows benchmark comparison tables with ASCII borders - #470

Open
KingReaper6940 wants to merge 1 commit into
amazon-ion:masterfrom
KingReaper6940:codex/windows-benchmark-comparison-table
Open

KingReaper6940 wants to merge 1 commit into
amazon-ion:masterfrom
KingReaper6940:codex/windows-benchmark-comparison-table

Conversation

@KingReaper6940

Copy link
Copy Markdown

Issue #, if available: #307

Description of changes:

Restore the benchmark comparison table on Windows using ASCII grid borders. The table was disabled after Unicode borders caused encoding errors on Windows runners. Other platforms keep the existing fancy grid, and quiet mode remains silent. This avoids adding unsupported border characters; benchmark names still need to be representable in the selected output encoding.

Validation on Windows / Python 3.12, using the pure-Python Ion implementation:

  • New regression cases before the fix: 2 failed, 6 passed. Windows output lacked the table.
  • After the fix: 8 passed, covering Windows/CP1252 and Linux/UTF-8 rendering, quiet mode and regression exits.
  • Five actual CLI subprocess checks under PYTHONIOENCODING=cp1252 passed: baseline, small regression, large regression and quiet-mode controls, including exit codes.
  • git diff --check passed.

The existing benchmark test helper invokes bare python and selected an interpreter without docopt on this host, so its existing subprocess tests could not all be validated through that helper. The checks above instead used the isolated interpreter explicitly. The full benchmark matrix and native C extension were not run locally.

AI assistance: OpenAI Codex (GPT-6) was used for implementation and verification.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant