Add Microbenchmarks for VIF/VC creations.

BenchmarkVIF_Dial:
Histogram (unit: us)
Count: 100000  Min: 4  Max: 7292  Avg: 14.39
------------------------------------------------------------
[    4,     5)       1    0.0%    0.0%
[    5,     6)   53395   53.4%   53.4%  #####
[    6,     9)   32558   32.6%   86.0%  ###
[    9,    14)    9596    9.6%   95.5%  #
[   14,    24)    2444    2.4%   98.0%
[   24,    43)    1182    1.2%   99.2%
[   43,    78)     400    0.4%   99.6%
[   78,   141)      88    0.1%   99.7%
[  141,   255)      52    0.1%   99.7%
[  255,   462)       1    0.0%   99.7%
[  462,   837)      17    0.0%   99.7%
[  837,  1517)      77    0.1%   99.8%
[ 1517,  2747)      19    0.0%   99.8%
[ 2747,  4973)     157    0.2%  100.0%
[ 4973,  9001)      13    0.0%  100.0%
[ 9001, 16288)       0    0.0%  100.0%
[16288,   inf)       0    0.0%  100.0%

  100000             17919 ns/op

BenchmarkVIF_DialTLS
Histogram (unit: ms)
Count: 100  Min: 13  Max: 26  Avg: 14.35
------------------------------------------------------------
[ 13,  14)   15   15.0%   15.0%  ##
[ 14,  15)   57   57.0%   72.0%  ######
[ 15,  16)   24   24.0%   96.0%  ##
[ 16,  17)    1    1.0%   97.0%
[ 17,  18)    1    1.0%   98.0%
[ 18,  20)    0    0.0%   98.0%
[ 20,  22)    0    0.0%   98.0%
[ 22,  25)    1    1.0%   99.0%
[ 25,  28)    1    1.0%  100.0%
[ 28,  32)    0    0.0%  100.0%
[ 32,  37)    0    0.0%  100.0%
[ 37,  43)    0    0.0%  100.0%
[ 43,  50)    0    0.0%  100.0%
[ 50,  59)    0    0.0%  100.0%
[ 59,  69)    0    0.0%  100.0%
[ 69,  81)    0    0.0%  100.0%
[ 81, inf)    0    0.0%  100.0%

     100          14755394 ns/op

BenchmarkVC_DialTLS
Histogram (unit: ms)
Count: 100  Min: 19  Max: 32  Avg: 19.96
------------------------------------------------------------
[ 19,  20)   53   53.0%   53.0%  #####
[ 20,  21)   23   23.0%   76.0%  ##
[ 21,  22)   15   15.0%   91.0%  ##
[ 22,  23)    6    6.0%   97.0%  #
[ 23,  24)    0    0.0%   97.0%
[ 24,  26)    1    1.0%   98.0%
[ 26,  28)    1    1.0%   99.0%
[ 28,  31)    0    0.0%   99.0%
[ 31,  34)    1    1.0%  100.0%
[ 34,  38)    0    0.0%  100.0%
[ 38,  43)    0    0.0%  100.0%
[ 43,  49)    0    0.0%  100.0%
[ 49,  56)    0    0.0%  100.0%
[ 56,  65)    0    0.0%  100.0%
[ 65,  75)    0    0.0%  100.0%
[ 75,  87)    0    0.0%  100.0%
[ 87, inf)    0    0.0%  100.0%

     100          20544962 ns/op
Change-Id: I5293af2dc52f1a04478d6ac8fcd8cfc79201abea
4 files changed
tree: ee538dde9e02ad0dcead0566dad27961e04a959f
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/