Simply record the time from entering `main` to start listening sockets.
access_control.reload(AccessControl::ReloadMode::USERS_CONFIG_ONLY);
    });
    
    global_context->getProcessList().setMaxSize(config().getInt("max_concurrent_queries", 0));
    
    
    double cache_size_to_ram_max_ratio = config().getDouble("cache_size_to_ram_max_ratio", 0.5);
    size_t max_cache_size = static_cast<size_t>(memory_amount * cache_size_to_ram_max_ratio);
    
    String uncompressed_cache_policy = config().getString("uncompressed_cache_policy", "");
    LOG_INFO(log, "Uncompressed cache policy name {}", uncompressed_cache_policy);
    size_t uncompressed_cache_size = config().getUInt64("uncompressed_cache_size", 0);
    if (uncompressed_cache_size > max_cache_size)
    {
        uncompressed_cache_size = max_cache_size;
        LOG_INFO(log, "Uncompressed cache size was lowered to {} because the system has low amount of memory",
            formatReadableSizeWithBinarySuffix(uncompressed_cache_size));
    }
    global_context->setUncompressedCache(uncompressed_cache_size, uncompressed_cache_policy);
    
    global_context->setDefaultProfiles(config());
    const Settings & settings = global_context->getSettingsRef();
    
    
    global_context->initializeBackgroundExecutorsIfNeeded();
    if (settings.async_insert_threads)
        global_context->setAsynchronousInsertQueue(std::make_shared<AsynchronousInsertQueue>(
            global_context,
            settings.async_insert_threads));