Codex/webp wasm accelerator - #30
Merged
Merged
Conversation
Optimize optional JPEG decode and encode paths with DC-only IDCT, separable AAN transforms, reciprocal quantization, and retained SIMD color conversion. Harden WASM stack, panic, and buffer boundaries. Add pinned PR-only Imazen corpus validation with per-file baseline comparison and retained benchmark evidence.
Add explicit Node and browser loaders, bounded VP8 and VP8L kernels, SIMD VP8L transforms, corpus validation, browser coverage, benchmarks, generated package metrics, and documentation.
Use lazy in-memory transform storage by default and make temporary files an explicit, probed opt-in with graceful fallback and cleanup retry. Harden JPEG WASM exactness, add forced JPEG and PNG scalar/SIMD Imazen lanes alongside WebP, and refresh canonical benchmark reports, charts, metrics, and documentation.
Remove dependencies on ignored benchmark corpus files from the WebP WASM suite. Generate the odd RGBA and lossy VP8 inputs in memory and use the checked-in lossless fixture so clean CI checkouts exercise scalar, SIMD, and fallback paths.
Decode XML entities without double unescaping, read conformance files through a stable file handle, and bound benchmark and browser-test delays. Remove two no-op timestamp replacements and add regression coverage for nested XML entities.
Reject viewer benchmark delays above the bounded one-minute ceiling before creating a timer so the resource-exhaustion guard is explicit to both runtime callers and CodeQL.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.