From 42fd60249231c87fb9283464efbdc5d07d1cb06d Mon Sep 17 00:00:00 2001 From: Tobe O Date: Thu, 15 Nov 2018 16:21:46 -0500 Subject: [PATCH] Remove mirrors reflector in perf --- example/json.dart | 2 +- performance/hello/main.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/json.dart b/example/json.dart index b273b803..e5e6dcbe 100644 --- a/example/json.dart +++ b/example/json.dart @@ -32,7 +32,7 @@ main() async { serverMain(_) async { var app = new Angel(); - var http = new AngelHttp.custom(app, startShared); // Run a cluster + var http = new AngelHttp.custom(app, startShared, useZone: false); // Run a cluster app.get('/', (req, res) { return res.serialize({ diff --git a/performance/hello/main.dart b/performance/hello/main.dart index cb6a054f..f05aa073 100644 --- a/performance/hello/main.dart +++ b/performance/hello/main.dart @@ -24,7 +24,7 @@ main() async { } void start(int id) { - var app = new Angel(reflector: MirrorsReflector()); + var app = new Angel(); var http = new AngelHttp.custom(app, startShared, useZone: false); app.get('/', (req, res) => res.write('Hello, world!'));