Comments (12)
I have updated BenchmarkDotNet in dotnetex to v0.7.4. Now it works fine on my computer. Please, check it.
from benchmarkdotnet.
Nope, continuing failing with same error. Tried as Admin, result the same.
from benchmarkdotnet.
Do you have MSBuild in the %PATH%
variable? If not, you should add it because BenchmarkDotNet use it for building each benchmark.
from benchmarkdotnet.
Is it works now?
from benchmarkdotnet.
Had the same issue, but when added MSBuild to %PATH% the problem with Win32Exception disapeared, but now a i have another problem: when i run benchmark i have next error:
Target competition: Crc16Bench
// ***** Competition: Start *****
// Found benchmarks:
// Crc16Bench_Data4_Throughput_X64_CurrentJit_NET-Current -w=5 -t=10
// Crc16Bench_Data4_Throughput_X86_CurrentJit_NET-Current -w=5 -t=10
// **************************
// Benchmark: Crc16Bench_Data4 (Throughput_X64_CurrentJit_NET-Current) [-w=5 -t=10]
// Generated project: c:\Users\danila\Documents\Visual Studio 2013\Projects\Crc16Benchmark\Crc16Bench\bin\Release\Crc16Bench_Data4_Throughput_X64_CurrentJit_NET-Current
// Build:
Build failed
Fail
// Run, Process: 1 / 3
// Platform=X64
// Run, Process: 2 / 3
// Platform=X64
// Run, Process: 3 / 3
// Platform=X64
AverageTime (ns/op): Median = 0; StdDev = Infinity; Min = 0; Max = 0;
OperationsPerSecond: Median = 0; StdDev = Infinity; Min = 0; Max = 0;
// **************************
// Benchmark: Crc16Bench_Data4 (Throughput_X86_CurrentJit_NET-Current) [-w=5 -t=10]
// Generated project: c:\Users\danila\Documents\Visual Studio 2013\Projects\Crc16Benchmark\Crc16Bench\bin\Release\Crc16Bench_Data4_Throughput_X86_CurrentJit_NET-Current
// Build:
Build failed
Fail
// Run, Process: 1 / 3
// Platform=X86
// Run, Process: 2 / 3
// Platform=X86
// Run, Process: 3 / 3
// Platform=X86
AverageTime (ns/op): Median = 0; StdDev = Infinity; Min = 0; Max = 0;
OperationsPerSecond: Median = 0; StdDev = Infinity; Min = 0; Max = 0;
// ***** Competition: Finish *****
// BenchmarkDotNet=v0.7.4.0
// OS=Microsoft Windows NT 6.1.7601 Service Pack 1
// Processor=Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz, ProcessorCount=4
// CLR=MS.NET 4.0.30319.18444, Arch=64-bit
Common: Type=Crc16Bench Method=Data4 Mode=Throughput Jit=CurrentJit .NET=Current
Platform | AvrTime | StdDev | op/s |
---|---|---|---|
X64 | 0.000000 ns | Infinity s | 0 |
X86 | 0.000000 ns | Infinity s | 0 |
// ***** Competition: End *****
from benchmarkdotnet.
Same here...
from benchmarkdotnet.
@danilanv
You have to remove white spaces, cyrillic symbols etc. in the solution path.
I suppose the second argument should be enclosed in quotes.
from benchmarkdotnet.
@olsh @danilanv I solve my issue as well, for me it was actually the fact the benchmark class was an inner class, which caused BenchMarkDotNet to generate wierd class names with +
in the class name...
from benchmarkdotnet.
@mumusan, @danilanv, @damageboy , @olsh
I have implemented new build system via API from the Microsoft.Build assembly. Please, check version 0.7.5.
from benchmarkdotnet.
version 0.7.5 - it works!
from benchmarkdotnet.
Same for me, nicer integration with Life(tm)
from benchmarkdotnet.
@danilanv, @damageboy, great!
from benchmarkdotnet.
Related Issues (20)
- Support for F# anonymous records HOT 3
- MonoAOTLLVM run failed to build properly but still ran HOT 2
- Add integration tests for `MonoAOTLLVMToolchain`
- Unable to get `-p ETW` working these days HOT 4
- Unable to use `wasm` or `monoaotllvm` as runtime HOT 2
- InvalidMeasurementUnitException when using `--statisticalTest` argument when comparing private builds HOT 2
- CS0119 thrown when benchmark named _.System()
- How to change the time display mode from microseconds to seconds or milliseconds? HOT 1
- HideColumns + custom corerun = incorrect table markdown HOT 2
- unity game engine support? HOT 1
- Cannot build NativeAOT 8.0 on Arch Linux HOT 6
- Add support for dotnet-script HOT 1
- What should I do if I need to see the output of each test item? HOT 2
- What should I do if I need to see the output of each test item? HOT 1
- Plots not generated for memory benchmarks (MemoryDiagnoser)
- Question about visibility of DotTraceDiagnoser's second constructor HOT 2
- BenchmarkDotNet does not copy needed assemblies to the run folder (again?) HOT 2
- Can't override `DefaultConfig.Instance` settings when using custom configs with `IConfigSource` attribute.
- Better support for asymmetric CPU cores HOT 3
- Total Number of Benchmarks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from benchmarkdotnet.