https://github.com/anticensority/benched-pac-scripts
Code for comparing performance of different PAC-scripts
https://github.com/anticensority/benched-pac-scripts
Last synced: 6 months ago
JSON representation
Code for comparing performance of different PAC-scripts
- Host: GitHub
- URL: https://github.com/anticensority/benched-pac-scripts
- Owner: anticensority
- License: gpl-3.0
- Created: 2017-06-02T18:08:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-07T09:04:40.000Z (over 8 years ago)
- Last Synced: 2024-05-27T12:06:58.583Z (over 1 year ago)
- Language: JavaScript
- Size: 6.29 MB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Generate PAC Script
`node pac-generator cut|nocut ./new-gen/global-in.js > ./new-pac/global-in.pac`
`node pac-generator.js nocut ./new-gen/bloom.js > bloom.pac`
# Test PAC Script
`node test.js ./new-pac/global-in.pac`
# Bench PAC Script
I think it's better to launch tests one by one (not in butch).
`./node bench.js ./new-pac/global-in.pac`
If you think it runs too many cycles -- edit bench.js.
# Statistics
See stats.txt and stats2.txt.
## Number of Hosts Per First Letter
m 3390
s 3008
k 2892
p 2751
a 2084
r 2076
b 2028
v 2002
c 1946
l 1684
g 1647
d 1463
1 1235
t 1147
f 1061
n 981
w 953
i 908
o 783
e 656
h 515
x 502
j 468
z 402
u 377
2 364
7 264
y 190
3 123
0 107
8 91
4 91
5 89
6 88
9 49
q 45