Guest User

Untitled

a guest
May 25th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. $ cat script/test.rb
  2. require File.expand_path('../../config/environment.rb', __FILE__)
  3. 5000.times{ print 'a' }
  4.  
  5. $ RAILS_ENV=production strace -e trace=write ruby script/test.rb > /dev/null
  6. write(1, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"..., 4096) = 4096
  7. write(1, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"..., 904) = 904
Add Comment
Please, Sign In to add comment