GithubHelp home page GithubHelp logo

bblfsh / performance Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 98 KB

Babelfish performance testing

License: Apache License 2.0

Go 98.24% Dockerfile 0.62% Makefile 1.15%
babelfish performance-testing

performance's People

Contributors

creachadair avatar kuba-- avatar lwsanty avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

lwsanty dennwc

performance's Issues

Trim bench_ prefix from the names

Currently, all benchmark names contain the bench_ prefix. It's useful for filtering fixture files but is not informative for the dashboard. I propose to trim the prefix when adding the benchmark name as a label.

Support driver level

Currently only transformations and end-to-end level supported.
Performance benchmark has to support running benchmark over driver container without intermediate bblfsh level

End-to-end command -> docker-in-docker run leads to network issues

Environment
OSX host

FROM docker:latest

COPY ./bblfsh-performance /usr/bin/
WORKDIR /usr/bin

ENTRYPOINT ["./bblfsh-performance"]

Command

docker run --privileged \
--rm \
-e LOG_LEVEL=debug \
-e INFLUX_ADDRESS="http://localhost:8086" \
-e INFLUX_USERNAME="" \
-e INFLUX_PASSWORD="" \
-e INFLUX_DB=mydb \
-e INFLUX_MEASUREMENT=benchmark \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ./data/fixtures:/data \
--name bblfsh-performance \
bblfsh-performance end-to-end --language=go --commit=3d9682b --extension=".go" /data

Observed
docker client cannot dial address because of hostport localhost:9432

Possible solution
Use another docker client and bind to address in the docker network 172.17...

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.