We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
That one is just the core. It has the CodegenInfo object, and everything to get it.
CodegenInfo
var ci = CodegenInfoResolver.GetCodegen(() => Add(4, 5)); Console.WriteLine(ci);
That one is a test suite: it has multiple assertions to verify the behaviour of JIT.
AssertCodegen.BranchesLessThan(5, () => Add(3, 5));
This one will build a report based on a codegen.
CodegenBenchmarkRunner.Run<Bench>(); class Bench { [Benchmark] [Input(3, 5)] public void Add(int a, int b) => a + b; [Benchmark] [Input(3, 5, 6)] public void Add(int a, int b, int c) => a + b + c; }
Output:
(and prints the codegen)
The text was updated successfully, but these errors were encountered:
Done!
Sorry, something went wrong.
No branches or pull requests
Codegen
That one is just the core. It has the
CodegenInfo
object, and everything to get it.Codegen.Assertions
That one is a test suite: it has multiple assertions to verify the behaviour of JIT.
Codegen.Benchmarks
This one will build a report based on a codegen.
Output:
(and prints the codegen)
The text was updated successfully, but these errors were encountered: