Sunday, April 21, 2013

ankhsvn: Subversion Support for Visual Studio

ankhsvn: Subversion Support for Visual Studio:

'via Blog this'

VSCommands for Visual Studio 2012 extension

VSCommands for Visual Studio 2012 extension:

'via Blog this'

My review: a very nice, very handy extension for VS2012.

Wednesday, April 10, 2013

AnandTech | Inside AnandTech 2013: All-SSD Architecture

AnandTech | Inside AnandTech 2013: All-SSD Architecture:

'via Blog this'
AnandTech Forums DB IO Performance Comparison - 2013 vs 2007
 MS SQL - Update Daily StatsMS SQL - Weekly Stats MaintenanceOracle Swingbench
Old Forums DB Array (4 x 10K RPM  RAID-0)146.1 MB/s162.9 MB/s2.8 MB/s
New Forums DB Array (6 x X25-E RAID-10)394.4 MB/s450.5 MB/s55.8 MB/s
Performance Increase2.7x2.77x19.9x

Wednesday, April 3, 2013

Some basic ESENT performance measurements - ESE/ESENT Database Stuff - Site Home - MSDN Blogs

Some basic ESENT performance measurements - ESE/ESENT Database Stuff - Site Home - MSDN Blogs:

'via Blog this'
The Results 
I used 16MB logfiles with 8MB of log buffer and circular logging turned on. All the other system parameters were left at their defaults and the test program had a single thread. Each record had an 8 byte key and 32 bytes of data. My machine has 2 x 2.5 Ghz processors and a 7200RPM 320Gb SATA drive.
First the test inserted 1,000,000 records, one per transaction using JET_bitCommitLazyFlush so that committing a transaction didn't force the log records to disk (they are written when the log buffer fills up):        elapsed time: 14.243 seconds : 70,210 insertions per sec
Then one record was retrieved 1,000,00 times:
         elapsed time: 1.217 seconds : 821,693 retrieves per sec
All the records in the table were scanned by moving through the table with JetMove and retrieving each record:
        elapsed time: 3.151 seconds : 317,360 moves per sec
Finally the records were retrieved in random order using JetMakeKey and JetSeek:
        elapsed time: 19.984 seconds : 50,040 seeks per sec

C#/.NET Little Wonders: Extension Methods Demystified

C#/.NET Little Wonders: Extension Methods Demystified:

'via Blog this'

I love extensions. Handy candy, though! Check their page out:
1: public static class IntExtensions
   2: {
   3:     public static int Half(this int source)
   4:     {
   5:         return source / 2;
   6:     }
   7:  
   8:     public static int Cube(this int source)
   9:     {
  10:         return (int)Math.Pow(source, 3);
  11:     }
  12:  
  13:     public static int Square(this int source)
  14:     {
  15:         return (int)Math.Pow(source, 2);
  16:     }
  17: }
And can be easily used like this:
2: var ans = 13.Cube().Half().Square();