perf test for loader.resolve()