Skip to content

Benchmark ports - #352

Draft
anveba wants to merge 10 commits into
spcl:masterfrom
anveba:benchmark-ports
Draft

anveba wants to merge 10 commits into
spcl:masterfrom
anveba:benchmark-ports

Conversation

@anveba

@anveba anveba commented Nov 22, 2026

Copy link
Copy Markdown

No description provided.

anveba and others added 10 commits November 12, 2026 17:39
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>
@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

This branch has not been deployed

No deployments
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