Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

codemancers/rbkit-atom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rbkit-atom

This was intended to be a prototype to demostrate how the rbkit server's api can be used to write custom profiler front-ends. The atom-shell version used here is quite old and might use older packages and APIs. Ideally, if you want to use this, you might want to use the Electron app (which is a fancy new name for the atom-shell project) and then customize things to make this work.

A GUI client for rbkit built using atom-shell

Development

Setup

Run

  • cd into the rbkit-atom directory
  • Run apm install .
  • Run atom-shell .

Build

  • cd into the build directory
  • Run npm install
  • Run gulp to compile CoffeeScript files on the fly

Rbkit client command messaging

For now, the command messaging system is not yet available, so, use either Ruby (rbkit/experiments/rbkit_command_test.rb) or follow the following instructions:

  1. Install the zmq node library using npm install -g zmq
  2. open a node repl and type the following commands one by one:
var zmq = require('zmq');
var sock = zmq.socket('req');

sock.connect('tcp://127.0.0.1:5556');
sock.send('start_memory_profile');

console.log('sent message to start profiling'); /* optional */

/* That should start the profiling engine. The data would be available
   at 127.0.0.1:5555

   The following lines are optional
 */
sock.on('message', function(response) {
  console.log('got response');
});

About

Clone of rbkit-client that uses atom-shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published