Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Simplify test dependencies for benchmarks #16378

Merged
merged 1 commit into from
Feb 26, 2018

Conversation

AndyAyersMS
Copy link
Member

Remove the special benchmark configs and update benchmark projects accordingly.
Also update other random projects that were referencing benchmark configs.

Benchmarks now build against netstandard 2.0.

Addresses #14124, #16126.

Remove the special benchmark configs and update benchmark projects accordingly.
Also update other random projects that were referencing benchmark configs.

Benchmarks now build against netstandard 2.0.

Addresses #14124, #16126.
@AndyAyersMS AndyAyersMS added the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Feb 14, 2018
@AndyAyersMS
Copy link
Member Author

@jorive please look this over -- preliminary. Want to get some wider testing as things build ok locally.
cc @dotnet/jit-contrib

Tried updating xunit to 2.2.0 without success; we can do that later I suppose.

@AndyAyersMS
Copy link
Member Author

Making sure something runs the pri-1s w/o too many exclusions...

@dotnet-bot test Windows_NT x64 Checked jitsse2only

@AndyAyersMS
Copy link
Member Author

Ok, maybe the noSSE wasn't the best way to run all the pri-1 tests. Looks like it has what are likely unrelated issues.

@BruceForstall @jashook I can't see any way to just run all the pri-1 tests that doesn't also run some kind of stress mode. Am I missing something?

In the meantime let's give zap disable a try...

@dotnet-bot test Windows_NT x64 Checked zapdisable

@BruceForstall
Copy link
Member

Maybe "Windows_NT x64 Build and Test" and "Windows_NT x86 Checked Build and Test"? I think for arm/arm64/armlb the pri-1 contain the work "normal" instead of "innerloop".

@AndyAyersMS
Copy link
Member Author

@fiigii @tannergooding these "sse2 only" failures might be worth a closer look.

@tannergooding
Copy link
Member

these "sse2 only" failures might be worth a closer look.

A quick grep looks to be code size estimation issues. Possibly related to the recent changes to support 4-byte SSE4 instructions.

@AndyAyersMS
Copy link
Member Author

Note there are ~2300 warnings for pri-1 tests, but for the most part these seem to match what was there before. Most of them are bogus or duplicate project includes.

Pri-0 test build generates 61 warnings in managed code (and some in native code too). These too look like they are pre-existing.

@tannergooding
Copy link
Member

@AndyAyersMS, I see the problem.

We have two ways of tracking SSE4 support (opts.compCanUseSSE4 and opts.compSupportsISA) and we only check one of them. Will update shortly.

@jashook
Copy link

jashook commented Feb 15, 2018

@AndyAyersMS, as Bruce mentioned

@dotnet-bot test Windows_NT x64 Build and Test
@dotnet-bot test Windows_NT x86 Checked Build and Test

@AndyAyersMS
Copy link
Member Author

The x64 full pri 1 run timed out after the windows test run, when building linux bits. So I don't see a need to rerun.

@jorive PTAL
cc @dotnet/jit-contrib feel free to chime in, if anyone's interested....

@jorive
Copy link
Member

jorive commented Feb 16, 2018

@AndyAyersMS LGTM if there is no need to run these benchmarks in netcoreapp1.1. To be more conservative, I think we should keep the benchmarks that do not need to move forward in their netstandard1.x

@AndyAyersMS
Copy link
Member Author

@jorive I don't see us back porting this to 1.1. We can run more or less the same benchmarks there in their current form.

@jorive
Copy link
Member

jorive commented Feb 16, 2018

@AndyAyersMS OK, sounds good.

@tannergooding
Copy link
Member

EnableSSE3_4 issue should be resolved now.

@AndyAyersMS AndyAyersMS removed the * NO MERGE * The PR is not ready for merge yet (see discussion for detailed reasons) label Feb 23, 2018
@AndyAyersMS
Copy link
Member Author

Double checking this hasn't gone stale:

@dotnet-bot test this please

@AndyAyersMS
Copy link
Member Author

@dotnet-bot test Windows_NT x64 Build and Test

@AndyAyersMS
Copy link
Member Author

@dotnet-bot test Windows_NT x64 Checked jitsse2only

@AndyAyersMS
Copy link
Member Author

@dotnet-bot test Windows_NT x86 Checked Build and Test
@dotnet-bot test Windows_NT x64 Checked zapdisable

@AndyAyersMS AndyAyersMS merged commit 96850fb into dotnet:master Feb 26, 2018
@AndyAyersMS AndyAyersMS deleted the UpdateBenchmarkDependencies branch February 26, 2018 20:41
AndyAyersMS added a commit to AndyAyersMS/coreclr that referenced this pull request Feb 27, 2018
A few parts of SpanBench were disabled in dotnet#16091 as we were compiling the
benchmarks with more restrictive netstandard versions and some APIs were
moved to be netcoreapp 2.1 only.

With the advent of dotnet#16378 we've removed those restrictions so the tests can
be re-enabled.
@AndyAyersMS
Copy link
Member Author

Reverted via #16647.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants