Skip to content

Commit 3e07395

Browse files
committed
20230828_BranchChangeNo64
Change #64 cw.
1 parent 442005d commit 3e07395

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

SQLBench/DBTests.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,11 @@ public void ReadBlobTest(out double TotalReadBlob)
157157
}
158158
public void WriteBlobTest(out double myBlobWrite)
159159
{
160-
byte[] numArray1 = new byte[16384]; //crate byte array
160+
const int size = 100 * 1024; // 100k was 16k
161+
byte[] numArray1 = new byte[size]; //create byte array
162+
var random = new Random();
163+
random.NextBytes(numArray1); // randomize the array so compression doesn't come into play.
164+
161165
Stopwatch BlobWrite = new Stopwatch(); //Create Timer
162166
//open connection
163167
SqlConnection connection = new SqlConnection(connstr); //create SQL Connection

SQLBench/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("Microsoft: CSS SQL Networking Team")]
1212
[assembly: AssemblyProduct("SQLBench.exe")]
13-
[assembly: AssemblyCopyright("Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021")]
13+
[assembly: AssemblyCopyright("Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.239.0")]
36-
[assembly: AssemblyFileVersion("1.0.239.0")]
35+
[assembly: AssemblyVersion("1.0.240.0")]
36+
[assembly: AssemblyFileVersion("1.0.240.0")]

0 commit comments

Comments
 (0)