loopback/lib
Miroslav Bajtoš 3b88753c8e Cache remoting descriptions to speed up tests
Calling strong-globalize is relatively expensive (about 300
microseconds for each call). When using per-app local registry in
unit-tests, each app creation requires about 500 calls of `g.t` just
for remoting metadata, i.e. about 150ms.

In this commit, we introduce `g.s` that caches the results from
strong-globalize to speed up creation of remoting metadata.
2016-08-12 13:51:12 +02:00
..
connectors Backport of #2407 2016-08-05 11:55:32 -04:00
access-context.js update/insert copyright notices 2016-05-03 17:10:46 -07:00
application.js Backport of #2407 2016-08-05 11:55:32 -04:00
browser-express.js update/insert copyright notices 2016-05-03 17:10:46 -07:00
builtin-models.js common: add KeyValueModel 2016-08-10 15:30:15 +02:00
current-context.js Globalize current-context deprecation messages 2016-08-10 12:40:38 +02:00
express-middleware.js Deprecate getters for express 3.x middleware 2016-05-31 18:58:10 +02:00
loopback.js Deprecate current-context API 2016-08-10 10:58:33 +02:00
model.js Backport of #2407 2016-08-05 11:55:32 -04:00
persisted-model.js Cache remoting descriptions to speed up tests 2016-08-12 13:51:12 +02:00
registry.js Revert globalization of assert() messages 2016-08-12 13:51:12 +02:00
runtime.js update/insert copyright notices 2016-05-03 17:10:46 -07:00
server-app.js Backport of #2407 2016-08-05 11:55:32 -04:00
utils.js update/insert copyright notices 2016-05-03 17:10:46 -07:00