You should be able to use CustomTimings
to profile these. These are included in the new v3 version that is now available on nuget.
You can see some example usages of CustomTiming
in the sample project where this is used to record http and redis events.
An example of how you could use it with SqlBulkCopy
:
string sql = GetBulkCopySql(); // what should show up for the SqlBulkCopy event?
using (MiniProfiler.Current.CustomTiming("SqlBulkCopy", sql))
{
RunSqlBulkCopy(); // run the actual SqlBulkCopy operation
}