As you can see in the results above, PDO was about 4.5% faster than mysqli and 6.8% faster than the old mysql API.16 мая 2017 г.
async static Task Main(string[] args)
{
if (args.Length == 1 && args[0].ToLower() == "-c")
{
await PrintCountry();
}
}
public class DocumentLoader
{
/// <summary>
/// Получаем документ асинхронно.
/// </summary>
/// <param name="url"></param>
/// <returns></returns>
public static async Task<HtmlDocument> GetDocumentAsync(string url)
{
var web = new HtmlWeb();
var doc = await web.LoadFromWebAsync(url);
return doc;
}
}
Либо переходите на систему SELINUX там есть подобный изврат