Skip to content

Improve performance of unwrapping .NET objects passed from Python #930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 16, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update performance goals according to test results
  • Loading branch information
lostmsu authored and filmor committed Mar 7, 2020
commit 0564832867c028694e65b4eee6aae5fac19a3cd6
4 changes: 2 additions & 2 deletions src/perf_tests/BenchmarkTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ public void SetUp()
public void ReadInt64Property()
{
double optimisticPerfRatio = GetOptimisticPerfRatio(this.summary.Reports);
AssertPerformanceIsBetterOrSame(optimisticPerfRatio, target: 0.66);
AssertPerformanceIsBetterOrSame(optimisticPerfRatio, target: 0.57);
}

[Test]
public void WriteInt64Property()
{
double optimisticPerfRatio = GetOptimisticPerfRatio(this.summary.Reports);
AssertPerformanceIsBetterOrSame(optimisticPerfRatio, target: 0.64);
AssertPerformanceIsBetterOrSame(optimisticPerfRatio, target: 0.57);
}

static double GetOptimisticPerfRatio(
Expand Down