Git Product home page Git Product logo

namebench's Introduction

namebench 2.0

namebench provides personalized DNS server recommendations based on your browsing history.

WARNING: This tool is in the midst of a major rewrite. The "master" branch is currently in experimental form and currently lacks a user interface, nor does it support any command-line options.

For stable binaries, please see https://code.google.com/p/namebench/

What can one expect in namebench 2.0?

  • Faster
  • Simpler interface
  • More comprehensive results
  • CDN benchmarking
  • DNSSEC support

BUILDING:

Building requires Go 1.2 to be installed: http://golang.org/

  • Create a workspace directory, and cd into it.
  • Prepare your workspace directory:
    export GOPATH=`pwd`
    git clone https://github.com/google/namebench.git src/github.com/google/namebench
    go get github.com/mattn/go-sqlite3
    go get golang.org/x/net/publicsuffix
    go get github.com/miekg/dns
  • Build it.
    cd src/github.com/google/namebench
    go build namebench.go

You should have an executable named 'namebench' in the current directory.

RUNNING:

  • End-user: run ./namebench, which should open up a UI window.
  • Developer, run ./namebench_dev_server.sh for an auto-reloading webserver at http://localhost:9080/

namebench's People

Contributors

jeffbyrnes avatar tstromberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

namebench's Issues

Can't install publicsuffic=x per instruction

When I get public suffix:

  % go get code.google.com/p/go.net/publicsuffix                                                                                                 warning: code.google.com is shutting down; import path code.google.com/p/go.net/publicsuffix will stop working

build seems to succeed, but then on run

ยฑ % ./namebench                                                                                                                                  2015/12/22 18:36:53 URL: http://127.0.0.1:65086/
2015/12/22 18:36:53 error running /Applications/node-webkit.app/Contents/MacOS/node-webkit ./ui/app.nw: fork/exec /Applications/node-webkit.app/Contents/MacOS/node-webkit: no such file or directory

Install error

$ go version
go version go1.10.2 darwin/amd64

$go get code.google.com/p/go.net/publicsuffix
package code.google.com/p/go.net/publicsuffix: unrecognized import path "code.google.com/p/go.net/publicsuffix" (parse https://code.google.com/p/go.net/publicsuffix?go-get=1: no go-import meta tags (meta tag github.com/golang/go did not match import path code.google.com/p/go.net/publicsuffix))

will not compile on ubuntu 23.03

$ export GOPATH=pwd
git clone https://github.com/google/namebench.git src/github.com/google/namebench
go get github.com/mattn/go-sqlite3
go get golang.org/x/net/publicsuffix
go get github.com/miekg/dns
Cloning into 'src/github.com/google/namebench'...
remote: Enumerating objects: 5594, done.
remote: Total 5594 (delta 0), reused 0 (delta 0), pack-reused 5594
Receiving objects: 100% (5594/5594), 26.22 MiB | 1.00 MiB/s, done.
Resolving deltas: 100% (3947/3947), done.
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.

$ go install github.com/mattn/go-sqlite3@latest; go install golang.org/x/net/publicsuffix@latest; go install github.com/miekg/dns@latest
go: downloading github.com/mattn/go-sqlite3 v1.14.17
package github.com/mattn/go-sqlite3 is not a main package
go: downloading golang.org/x/net v0.15.0
package golang.org/x/net/publicsuffix is not a main package
go: downloading github.com/miekg/dns v1.1.56
go: downloading golang.org/x/sys v0.12.0
package github.com/miekg/dns is not a main package

unable to get ./namebench binary on gnu-linux.

Dear tstromberg,
I tried with your notes and was unable to get a namebench binary in my directory :-

~/games/namebench$ export GOPATH=pwd
~/games/namebench$ git clone https://github.com/google/namebench.git src/github.com/google/namebench
Cloning into 'src/github.com/google/namebench'...
remote: Reusing existing pack: 5588, done.
remote: Total 5588 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (5588/5588), 25.80 MiB | 28.00 KiB/s, done.
Resolving deltas: 100% (3951/3951), done.
Checking connectivity... done.
~/games/namebench$ go get github.com/mattn/go-sqlite3
~/games/namebench$ go get code.google.com/p/go.net/publicsuffix
~/games/namebench$ go get github.com/miekg/dns
~/games/namebench$ ls
pkg src
$ cd src/github.com/google/namebench/
~/games/namebench/src/github.com/google/namebench$ go build namebench.go
~/games/namebench/src/github.com/google/namebench$ ./namebench
2014/06/19 02:51:05 URL: http://127.0.0.1:55168/
2014/06/19 02:51:05 error running /Applications/node-webkit.app/Contents/MacOS/node-webkit ./ui/app.nw: exec: "/Applications/node-webkit.app/Contents/MacOS/node-webkit": stat /Applications/node-webkit.app/Contents/MacOS/node-webkit: no such file or directory

As can be seen the webserver is up but no UI. I was able to browse via the browser. It just has the browser 'google chrome' and the states stuck as 'United States of America' there is no drop-down list or anything.

Cannot extract package

I'm getting this error message when I try to run ./namebench after following all of the instructions. I downloaded node-webkit from here.

It says that it failed to unzip the package file: /Users/Logan/go/src/github.com/google/namebench/./ui/app.nw

screenshot 2014-09-01 00 37 30

Renaming Windows exe results in an error.

When you rename the windows executable and attempt to run it, it doesn't work, and actually tries to rerun the executable.

This is on the stable 1.3 on Windows 8.

./namebench.py fails with ImportError

I attempted to run the latest namebench.py in trunk from a Mac running OS X 10.8.2, but I received the following error message:

Traceback (most recent call last):
  File "./namebench.py", line 33, in <module>
    from namebench.ui import cli
ImportError: No module named ui

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.