.NET Core on Linux

$ dotnet --version
1.0.0-preview2-003121

Opt out of the telemetry feature

$ export DOTNET_CLI_TELEMETRY_OPTOUT=1

Avoid segmentation faults on kernel 4.6.x (see issue 6016)

$ export COMPlus_INTERNAL_ThreadSuspendInjection=0

Performance measurement

For quick performance measurements, use good old System.Diagnostics.Stopwatch. On Windows, a simple option for logging the sampling of elapsed time is to write to the Event Log via System.Diagnostics.EventLog class.

Compile in release mode, close applications and stop services that are not needed. Don’t attach debuggers to the processes that you are measuring.