Added performance tuning codes
Added performance tuning codes2