-
Notifications
You must be signed in to change notification settings - Fork 54
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: postcss/postcss-selector-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.0.4
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: postcss/postcss-selector-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.0.6
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 5 commits
- 13 files changed
- 5 contributors
Commits on Oct 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 96a85e3 - Browse repository at this point
Copy the full SHA 96a85e3View commit details
Commits on Apr 19, 2021
-
pref: rework unesc for a 63+% performance boost (#239)
* In profiling postcss I found that a significant amount of time was being spent in [`unesc`](https://github.com/postcss/postcss-selector-parser/commits/master/src/util/unesc.js), this was due to the expensive regex checks that were being performed on the fly for every selector in the codebase which looked to be performing quite poorly inside of modern node and v8.  ---- As an experiment and based on some prior experience with this class of slowdown I migrated the implementation to one that performs a scan through the string instead of running a regex replace. By testing this on my local application I instantly saw the work from this function go from > 900 ms to ~100ms.  This implementation passes all of the existing test cases and aims to mirror the prior implementation's implementation details :) ----- Based on my application I am seeing the major wins come from purgecss dropping my total application build by multiple seconds! 🔥 * Expand unesc handling to correctly handle spec edgecase for lone surrogates and out of bound codepoint values.
Configuration menu - View commit details
-
Copy full SHA for 1012e3a - Browse repository at this point
Copy the full SHA 1012e3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54f71ef - Browse repository at this point
Copy the full SHA 54f71efView commit details
Commits on May 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c5035bc - Browse repository at this point
Copy the full SHA c5035bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e64151e - Browse repository at this point
Copy the full SHA e64151eView commit details
There are no files selected for viewing