src/vs/workbench/common/contributions.ts/WorkbenchContributionsRegistry/safeCreateInstance
class WorkbenchContributionsRegistry:	private safeCreateInstance(instantiationService: IInstantiationService, logService: ILogService, environmentService: IEnvironmentService, ctor: IConstructorSignature<IWorkbenchContribution>, phase: LifecyclePhase): void {
		const now: number | undefined = phase < LifecyclePhase.Restored ? Date.now() : undefined;

		try {
			instantiationService.createInstance(ctor);
		} catch (error) {
			logService.error(`Unable to instantiate workbench contribution ${ctor.name}.`, error);
		}

		if (typeof now === 'number' && !environmentService.isBuilt /* only log out of sources where we have good ctor names */) {
			const time = Date.now() - now;
			if (time > 20) {
				logService.warn(`Workbench contribution ${ctor.name} blocked restore phase by ${time}ms.`);
			}
		}
	}