Skip to content

Commit

Permalink
eyeglass@2.3.0, broccoli-eyeglass@5.1.0, ember-cli-eyeglass@6.1.0
Browse files Browse the repository at this point in the history
Performance enhancement release.
  • Loading branch information
chriseppstein committed Mar 24, 2019
1 parent 6a12b17 commit b130d92
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 3 deletions.
22 changes: 22 additions & 0 deletions packages/broccoli-eyeglass/CHANGELOG.md
@@ -1,3 +1,25 @@
# 5.1.0

**Performance Enhancements**: this release has a number of performance
enhancements in it. Some you get for free, others require you to

* `sessionCache` option - This option allows broccoli to use an external
cache for compiling several broccoli trees. File information is stored
in these caches, so it should be cleared between builds.
* `additional-output` event - This event now accepts additional arguments
that allow additional output that is outside of the broccoli tree to
participate in the persistent cache restoration process.
`ember-cli-eyeglass` uses this to avoid repeatedly writing the same
files during `asset-uri()` calls which results in considerable savings for
files that are referenced frequently.
* `stale-external-output` event - This new event is fired when a file
that was output external to the broccoli tree is possibly stale and
in need of deletion.
* `cached-asset` event - This new event is fired when a file that was output
external to the broccoli tree needs to be restored from cache. The new
arguments received from `additional-output` are returned to it so the file
can be recreated.

# 5.0.2

* This release adds heimdall metrics collection for performance analysis.
Expand Down
2 changes: 1 addition & 1 deletion packages/broccoli-eyeglass/package.json
@@ -1,7 +1,7 @@
{
"name": "broccoli-eyeglass",
"description": "Sass compiler for Broccoli with Eyeglass Integration",
"version": "5.0.2",
"version": "5.1.0",
"author": "Chris Eppstein <chris@eppsteins.net>",
"main": "lib/index.js",
"license": "Apache-2.0",
Expand Down
11 changes: 11 additions & 0 deletions packages/ember-cli-eyeglass/CHANGELOG.md
@@ -1,3 +1,14 @@
# 6.1.0

**Performance Enhancements**: this release has a number of performance
enhancements in it for builds at scale.

* The persistent cache will now properly avoid cache collisions in engines and
addons that have files of the same name when those adddons don't set their
own value for persistentCache.
* asset installation to urls that are outside of a lazy engine's path will
now work as intended.

# 6.0.2

* This release adds heimdall metrics collection for performance analysis.
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-cli-eyeglass/package.json
@@ -1,6 +1,6 @@
{
"name": "ember-cli-eyeglass",
"version": "6.0.2",
"version": "6.1.0",
"description": "Use eyeglass and node-sass to compile Sass files.",
"directories": {
"doc": "doc",
Expand Down
21 changes: 21 additions & 0 deletions packages/eyeglass/CHANGELOG.md
@@ -1,3 +1,24 @@
# 2.3.0

**Performance Enhancements:** This release addresses a number of performance
bottlenecks in eyeglass that are especially noticeable when using eyeglass at
scale. Please note that many of these fixes require you to pass new options
to eyeglass in order to access them.

* Some functions are optimized globally now by using a process-level cache.
If your builds are very frequent with a long-running eyeglass process, you
will want to call `Eyeglass.resetGlobalCaches()` between builds to ensure
the build is consistent. If you are using eyeglass with ember-cli-eyeglass
this is done automatically for you.
* `buildCache` option - A new option to eyeglass allows you to pass a cache
to eyeglass where it will store information about and contents of files to
avoid hitting the disk too often for frequently accessed files. The simplest
cache is an ES2015 `Map` object. For large builds, something like
[lru-cache](https://github.com/isaacs/node-lru-cache) may be a better choice.
The buildCache store should be cleared between builds runs. If you are
using eyeglass with ember-cli-eyeglass this option is passed automatically
for you.

# 2.2.2

* This release adds heimdall metrics collection for performance analysis.
Expand Down
2 changes: 1 addition & 1 deletion packages/eyeglass/package.json
@@ -1,7 +1,7 @@
{
"name": "eyeglass",
"description": "Sass modules for npm.",
"version": "2.2.2",
"version": "2.3.0",
"author": {
"name": "The eyeglass team and contributors",
"url": "https://github.com/linkedin/eyeglass/graphs/contributors"
Expand Down

0 comments on commit b130d92

Please sign in to comment.