GithubHelp home page GithubHelp logo

mpickering / live-profile-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ncrashed/live-profile-server

0.0 3.0 0.0 1.4 MB

Haskell web application for online monitoring of program's metrics

Dockerfile 0.02% Haskell 10.54% C 0.51% HTML 0.25% CSS 3.45% JavaScript 85.16% Shell 0.02% Nix 0.06%

live-profile-server's Introduction

live-profile-server

This repo is part Haskell Summer of Code 2016 project called "Live profiling and performance monitoring server".

It is a web based application that provides management and analytic tools for event logs got by manual upload or by live-profile-monitor.

The following screen presents ghc-events-analyze like diagram for program of Fibonacci calculation (see the original blog post).

Fibonacci example

Building

At the moment, the prefered method of building the server is stack:

stack install
cd live-profile-frontend
./compile.sh

If you desire to build test application (if you want live profiling, you need patched ghc and live-profile-monitor):

cd live-profile-test-app
stack install --pedantic --compiler=ghc-8.1

Also you need a PostgreSQL instance, for connection options see configuration of the server backend:

# Values formatted like "_env:ENV_VAR_NAME:default_value" can be overridden by the specified environment variable.
database:
  database: "_env:POSTGRES_DB:postgres"
  host: "_env:POSTGRES_PORT_5432_TCP_ADDR:localhost"
  port: "_env:POSTGRES_PORT_5432_TCP_PORT:5432"
  user: "_env:POSTGRES_USER:postgres"
  password: "_env:POSTGRES_PASSWORD:'123456'"
  poolSize: "_env:POSTGRES_POOL_SIZE:8"

Design

The repo is splitted into 6 packages:

TODO

  • Add instruction for cabal-new-build method of building.

live-profile-server's People

Contributors

mpickering avatar

Watchers

James Cloos avatar  avatar  avatar

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.