Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename to Ghostery #673

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "[email protected].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
Loading