This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using BenchmarkDotNet.Running; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Engines; | |
namespace UnrollBenchmark | |
{ | |
public class Bench |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Available Benchmarks: | |
#0 Algo_BitCount | |
#1 Algo_Md5VsSha256 | |
#2 Algo_MostSignificantBit | |
#3 Cpu_Atomics | |
#4 Cpu_BranchPerdictor | |
#5 Cpu_Ilp_Inc | |
#6 Cpu_Ilp_Max | |
#7 Cpu_Ilp_VsBce | |
#8 Cpu_MatrixMultiplication |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft (R) COFF/PE Dumper Version 14.00.23918.0 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Dump of file cryptest.exe | |
File Type: EXECUTABLE IMAGE | |
Section contains the following imports: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static DbTransaction CreateWriteTransaction(this System.Data.Entity.Database self) | |
{ | |
DbTransaction ret; | |
self.Connection.Open(); | |
if (self.Connection is FbConnection) | |
{ | |
FbTransactionOptions options = new FbTransactionOptions() { TransactionBehavior = FbTransactionBehavior.Write | FbTransactionBehavior.ReadCommitted | FbTransactionBehavior.NoRecVersion | FbTransactionBehavior.Wait }; | |
ret = ((FbConnection)self.Connection).BeginTransaction(options); | |
} | |
else |