Code Monkey home page Code Monkey logo

Comments (12)

AndreyAkinshin avatar AndreyAkinshin commented on May 18, 2024

I have updated BenchmarkDotNet in dotnetex to v0.7.4. Now it works fine on my computer. Please, check it.

from benchmarkdotnet.

sidristij avatar sidristij commented on May 18, 2024

Nope, continuing failing with same error. Tried as Admin, result the same.

from benchmarkdotnet.

AndreyAkinshin avatar AndreyAkinshin commented on May 18, 2024

Do you have MSBuild in the %PATH% variable? If not, you should add it because BenchmarkDotNet use it for building each benchmark.

from benchmarkdotnet.

AndreyAkinshin avatar AndreyAkinshin commented on May 18, 2024

Is it works now?

from benchmarkdotnet.

danilanv avatar danilanv commented on May 18, 2024

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.

damageboy avatar damageboy commented on May 18, 2024

Same here...

from benchmarkdotnet.

olsh avatar olsh commented on May 18, 2024

@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.

damageboy avatar damageboy commented on May 18, 2024

@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.

AndreyAkinshin avatar AndreyAkinshin commented on May 18, 2024

@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.

danilanv avatar danilanv commented on May 18, 2024

version 0.7.5 - it works!

from benchmarkdotnet.

damageboy avatar damageboy commented on May 18, 2024

Same for me, nicer integration with Life(tm)

from benchmarkdotnet.

AndreyAkinshin avatar AndreyAkinshin commented on May 18, 2024

@danilanv, @damageboy, great!

from benchmarkdotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.