From d6957bad00fc2e7ea90b2b2d3477aa7a737cecd7 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Mon, 8 Sep 2014 18:45:30 -0700 Subject: [PATCH] All uniload.load for ddp should be the same Otherwise the uniload cache doesn't work. This shaves a 365 ms off of stats report for me (in a built release, which doesn't even use the compiler!) --- tools/stats.js | 2 +- tools/test-utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/stats.js b/tools/stats.js index 2f8ffd4341..5c63d687db 100644 --- a/tools/stats.js +++ b/tools/stats.js @@ -165,7 +165,7 @@ var getPackagesForAppIdInTest = function (currentProject) { var connectToPackagesStatsServer = function () { var Package = uniload.load({ - packages: ["ddp"] + packages: ["meteor", "ddp"] }); var conn = new ServiceConnection( Package, diff --git a/tools/test-utils.js b/tools/test-utils.js index 46c2ea8c8b..ca54046f30 100644 --- a/tools/test-utils.js +++ b/tools/test-utils.js @@ -190,7 +190,7 @@ exports.deployWithNewEmail = function (s, email, appName) { var getLoadedPackages = function () { return uniload.load({ - packages: ['ddp'] + packages: ['meteor', 'ddp'] }); };