Skip to content
Browse files

Pulling memprof out of project

  • Loading branch information...
1 parent f48850a commit 3bca8e32b948f674a02c18928a7c995a08e76895 @winton committed Oct 12, 2011
Showing with 1 addition and 7 deletions.
  1. +0 −1 config/gemsets.yml
  2. +1 −2 config/gemspec.yml
  3. +0 −1 lib/puggernaut.rb
  4. +0 −3 lib/puggernaut/server.rb
View
1 config/gemsets.yml
@@ -1,7 +1,6 @@
puggernaut:
em-websocket: ~>0.3.1
eventmachine: ~>0.12.10
- memprof: ~>0.3.10
rake: >=0.8.7
rspec: ~>1.0
sinatra: ~>1.1.0
View
3 config/gemspec.yml
@@ -1,5 +1,5 @@
name: puggernaut
-version: 0.2.2
+version: 0.2.3
authors:
- Winton Welsh
email: mail@wintoni.us
@@ -9,5 +9,4 @@ description: Simple server push implementation using eventmachine and long polli
dependencies:
- em-websocket
- eventmachine
- - memprof
development_dependencies: null
View
1 lib/puggernaut.rb
@@ -4,7 +4,6 @@
require 'eventmachine'
require 'em-websocket'
-require 'memprof'
$:.unshift File.dirname(__FILE__)
View
3 lib/puggernaut/server.rb
@@ -14,7 +14,6 @@ def initialize(http_port=8100, tcp_port=http_port.to_i+1, ws_port=tcp_port.to_i+
puts "*snort*\n\n"
begin
- Memprof.start
Channel.channels = []
EM.epoll if EM.epoll?
EM.run do
@@ -29,8 +28,6 @@ def initialize(http_port=8100, tcp_port=http_port.to_i+1, ws_port=tcp_port.to_i+
errors = 0
end
- Memprof.stats(Dir.pwd + '/log/puggernaut.mem.log')
- Memprof.stop
rescue Interrupt
logger.info "Server#initialize - Shutting down"
exit

0 comments on commit 3bca8e3

Please sign in to comment.
Something went wrong with that request. Please try again.