Skip to content

Adds some basic performance tests and cleanup workflow#917

Merged
masesdevelopers merged 16 commits intomasterfrom
414-enhance-tests-and-their-coverage
Apr 6, 2026
Merged

Adds some basic performance tests and cleanup workflow#917
masesdevelopers merged 16 commits intomasterfrom
414-enhance-tests-and-their-coverage

Conversation

@masesdevelopers
Copy link
Copy Markdown
Contributor

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@masesdevelopers masesdevelopers self-assigned this Apr 3, 2026
@masesdevelopers masesdevelopers added the enhancement New feature or request label Apr 3, 2026
@masesdevelopers masesdevelopers linked an issue Apr 3, 2026 that may be closed by this pull request
@masesdevelopers masesdevelopers linked an issue Apr 3, 2026 that may be closed by this pull request
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
Comment thread tests/jvm/jnettest/src/main/java/org/mases/jnet/Predicate.java Fixed
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
{
if (feedback)
{
jClass.Invoke(methodName, feedback);
{
jClass.Invoke(methodName, feedback);
}
else jClass.Invoke(methodName);
{
if (feedback)
{
jClass.InvokeWithSignature(methodName, "(Z)Z", feedback);
{
jClass.InvokeWithSignature(methodName, "(Z)Z", feedback);
}
else jClass.InvokeWithSignature(methodName, "()V");
Stopwatch watcher1 = Stopwatch.StartNew();
for (i = 0; i < requestedIterations; i++)
{
jClass.InvokeWithSignature(method, "()Z");
Comment thread tests/net/JNetPerformanceTest/Program.cs Fixed
var jClass = JNetTestCore.GlobalInstance.JVM.New("org.mases.jnet.TestPerformance", predicate) as IJavaObject;

Stopwatch watcher1 = Stopwatch.StartNew();
jClass.InvokeWithSignature(method, "(I)Z", requestedIterations);
@masesdevelopers masesdevelopers merged commit a6cddea into master Apr 6, 2026
11 checks passed
@masesdevelopers masesdevelopers deleted the 414-enhance-tests-and-their-coverage branch April 6, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance tests and their coverage

1 participant