Repository navigation
Benchmark ports - #352
Draft
anveba wants to merge 10 commits into
Draft
Benchmark ports#352anveba wants to merge 10 commits into
anveba wants to merge 10 commits into
Conversation
Added a simple sleep function as a POC. Tested om Lambda.
Without the PLATFORM_DEPENDENCIES block, add_deployment_package_java raised a ValueError before the build started, so the Java port could not be packaged and the storage SDK was never added. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mirrors the Java port: downloads the input with Storage.cs, zips it with System.IO.Compression, uploads the archive, and reports the same measurement keys in microseconds. The archive is written next to the download directory so that it does not include itself. Validated on AWS Lambda (eu-north-1, x64 code package) for Java and .NET. Both compress at deflate level 6; Java uses the system zlib, .NET bundles zlib-ng. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Renders the same Mustache template as the Java and Node.js versions with Stubble, loading and compiling it on every call like the Java version. SeBS copies only top-level .cs and .csproj files for .NET, so init.sh copies the templates next to function.csproj, which embeds them into the assembly, the counterpart of Java's classpath resource. Validated on AWS Lambda: x64 code package, x64 container, arm64 code package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both versions implement the same steps in the same order, without libraries: a SplitMix64 generator, the Barabasi-Albert generator of the Node.js version (m = 10), and PageRank by power iteration (damping 0.85, L1 tolerance 1e-10). They build the same graph and return bitwise identical results for every input size, so validate_output uses one set of expected values for both. On the 10,000-node graph, the PageRank of every node matches igraph's on the same graph to within 3.5e-14. Validated on AWS Lambda with the small input: x64 code package, x64 container, arm64 code package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The .NET suite gains 110.dynamic-html, 311.compression and 501.graph-pagerank. Java gains 311.compression and 501.graph-pagerank on AWS only, through a separate list: Java storage exists only on AWS, and the Azure, GCP and OpenWhisk suites keep testing what they tested before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This branch has not been deployed
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.