-
Notifications
You must be signed in to change notification settings - Fork 286
Add NoWASM label #1451
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
Add NoWASM label #1451
Conversation
| } | ||
|
|
||
| [Benchmark] | ||
| [BenchmarkCategory(Categories.NoWASM)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are file operations not supported in general on WASM or just the async ones?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File operations do not seem to be allowed on WASM. From what I was able to glean from reading you need to hit a web endpoint if you want to access files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So maybe that would be something we could do long term, but for now we can just turn them off.
| public void RegisterAndUnregister_Serial() => _token.Register(() => { }).Dispose(); | ||
|
|
||
| [Benchmark(OperationsPerInvoke = 1_000_000)] | ||
| [BenchmarkCategory(Categories.NoWASM)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the multi-threaded tests, we could introduce a multithreaded category and use it to exclude the benchmarks when affinitizing to a single core. Sth like:
--filter * --category-exclusion-filter multithreaded --affinity XAnd the full WASM filter would be:
--filter * --category-exclusion-filter nowasm multithreaded
adamsitnik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
btw @buyaa-n is currently working on an analyzer that is going to print warnings for os|platform specific APIs. When it's ready we could use it here to verify if our "nowasm" category is complete |
No description provided.