From c20c25fc040613b7ec956a972f99c6b1d0b845fb Mon Sep 17 00:00:00 2001 From: Tobe O Date: Thu, 15 Nov 2018 16:22:45 -0500 Subject: [PATCH] opt4p --- performance/hello/main.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/performance/hello/main.dart b/performance/hello/main.dart index f05aa073..bd7d96db 100644 --- a/performance/hello/main.dart +++ b/performance/hello/main.dart @@ -28,6 +28,7 @@ void start(int id) { var http = new AngelHttp.custom(app, startShared, useZone: false); app.get('/', (req, res) => res.write('Hello, world!')); + app.optimizeForProduction(force: true); var oldHandler = app.errorHandler; app.errorHandler = (e, req, res) {