Skip to content

Commit

Permalink
Rename to Ghostery (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmod authored Oct 17, 2024
1 parent fef5eeb commit e048deb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2017-2019 Cliqz GmbH. All rights reserved.
Copyright (c) 2017-2024 Ghostery GmbH. All rights reserved.

Mozilla Public License Version 2.0
==================================
Expand Down Expand Up @@ -372,4 +372,4 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice
---------------------------------------------------------

This Source Code Form is "Incompatible With Secondary Licenses", as
defined by the Mozilla Public License, v. 2.0.
defined by the Mozilla Public License, v. 2.0.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@cliqz/url-parser",
"name": "@ghostery/url-parser",
"version": "1.1.5",
"description": "A Fast URL parser implementation",
"main": "build/cjs/url-parser.js",
Expand Down Expand Up @@ -48,8 +48,8 @@
"tldts-experimental": "^6.0.11"
},
"auto": {
"name": "Sam Macbeth",
"email": "sam@cliqz.com",
"name": "Ghostery Adblocker Bot",
"email": "ghostery-adblocker-bot@users.noreply.github.com",
"plugins": [
"npm"
],
Expand Down
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Cliqz Url Parser
# Ghostery Url Parser

A Fast implementation of url parsing, mostly API-compatible with the standard URL class while
being on average 2-3 times faster. Evaluation of URL components is lazy, so this implementation
Expand All @@ -19,7 +19,7 @@ Known differences to standard URL:
## Install

```bash
npm install @cliqz/url-parser
npm install @ghostery/url-parser
```

## Usage
Expand All @@ -31,7 +31,7 @@ parsed.hostname // == 'www.example.com'

## Performance

We benchmark against a list of 250,000 URLs collected from popular sites, as previously used in our
We benchmark against a list of 250,000 URLs collected from popular sites, as previously used in our
[adblocker benchmark](https://whotracks.me/blog/adblockers_performance_study.html). We compare
two use-cases:
1. `URL` object creation: `new URL(url)`
Expand All @@ -43,7 +43,7 @@ We compare to a reference implementation on each platform:
* Chrome: `window.URL`
* Safari: `window.URL`

| Environment | Use case | Reference: urls/s | Cliqz parser: urls/s | Speedup |
| Environment | Use case | Reference: urls/s | Ghostery parser: urls/s | Speedup |
| --- | --- | --: | --: | --- |
| Node 11 | `new URL()` | `149,514` | `1,577,711` | _10.5x faster_
| Node 11 | `searchParams` | `140,544` | `198,340` | _1.4x faster_
Expand Down

0 comments on commit e048deb

Please sign in to comment.