Guo Xiang Tan
4142bed1af
Fix incorrect topic id in profiiing script.
2017-09-07 06:01:35 +08:00
Guo Xiang Tan
5012d46cbd
Add rubocop to our build. ( #5004 )
2017-07-28 10:20:09 +09:00
Yousuf Jukaku
a940f727cb
fix bench script silent minor bugs
2017-04-14 12:58:35 -04:00
Robin Ward
14410b71fb
Convert server side paths to use /u/
2017-03-30 10:23:24 -04:00
Jared Reisinger
75e22086a9
Don't look for external facts when benchmarking
...
When running `scripts/bench.rb` via the discourse/discourse_bench docker
container, Facter throws an EACCES error attempting to load external
puppet facts. Since the benchmark script ends up ignoring everything
except for seven specific keys, we can just avoid loading any external
fact logic entirely. can just
2016-09-21 13:15:58 -07:00
Sam
a19e43fd3b
enough with the malloc limit, not needed
2016-05-25 21:09:07 +10:00
Sam
8252f4e110
FEATURE: allow use of redis sentinel via redis_sentinels
...
Use: DISCOURSE_REDIS_SENTINELS and DISCOURSE_REDIS_HOST to configure redis
sentinel
2015-06-25 16:51:48 +10:00
Guo Xiang Tan
ac72c23799
Exit if a non zero status code is returned.
2014-12-23 14:29:44 +08:00
Lourens Naudé
fb60daa867
Introduce support for dumping Rails process heap at the end of a benchmark run
2014-12-07 22:55:37 +00:00
Lourens Naudé
096138d0f7
Ensure tmp/pids exist when using unicorn
2014-12-04 01:30:00 +00:00
Lourens Naudé
5ddcd30e75
Introduce support for other tuneable GC vars
2014-12-03 15:11:03 +00:00
Bert Chang
eefc150c00
Use apt-get instead of tasksel to prevent unexpected bug.
2014-05-29 12:35:41 +08:00
Bert Chang
87c63f290e
Install tasksel before using it.
2014-05-29 12:10:34 +08:00
Bert Chang
7b402442f2
Add requirement for Ubuntu >= 12.10 in bench.rb
2014-05-29 12:05:58 +08:00
Sam
c0d947aa98
allow bench to run with unicorn optionally
...
memstats can output yaml now
2014-02-16 16:44:51 +11:00
Sam
f7d5a561ec
remove randomisation for now from bench
2014-02-16 15:11:25 +11:00
Sam
b75620973f
FEATURE: memory stats route for diagnostics in admin
2014-02-14 15:45:12 +11:00
Sam Saffron
1ed7c4b0c2
update bench
2014-01-10 17:43:43 +11:00
Sam Saffron
51ddd99449
update bench
2014-01-10 16:11:10 +11:00
Sam
1b8a32ba19
correct nginx rule forwarding header
2014-01-09 16:39:30 +11:00
Sam
d4cc367a6f
Disable cache for a bit to see if its killing the build
2014-01-09 16:08:59 +11:00
Sam
1c3fc39525
bench improvements
2014-01-09 15:56:03 +11:00
Sam
d635d888ba
fix typo
2014-01-03 13:03:58 +11:00
Sam
90a7cb9dc3
FEATURE: add rss to bench
...
BUGFIX: profile db generator require ordering
2014-01-03 11:51:42 +11:00
Sam
6a0072d36e
don't keep installing gabbler from bench
...
fix ab detection
2014-01-02 10:21:01 +11:00
Sam
b8184d8b92
speed up bench add param for iterations
2013-12-30 15:15:30 +11:00
Sam
31ea259624
extend bench somewhat
2013-12-27 10:20:50 +11:00
Sam
c53873110f
improve bench script
2013-12-11 10:32:40 +11:00
Sam
60284d8a9a
add custom clean env
2013-10-13 08:07:45 +11:00
Sam
9c6c0f2a3d
enable eager loading in profile mode
...
correct bench script
2013-09-10 16:22:58 +10:00
Sam
ad0bef5ef6
improve bench to measure admin as well
2013-09-10 16:03:11 +10:00
Sam
5dd199df26
bench fix and new arel patches for rails 4
2013-09-03 18:58:56 +10:00
Sam
cc5b958d9e
update with some facts
2013-08-29 21:34:32 +10:00
Sam
b41fa4988a
update rails 4
...
ensure you clear the tmp/cache folder on each bench (so results are correct, there is an incompat upgrade)
add facter gem which will be used to collect hardware data from the bencher
2013-08-29 21:23:00 +10:00
Régis Hanol
032bdceeef
FIX: bench script is not working on OS X
2013-08-17 11:36:41 +02:00
Sam
9e20a99afd
more info logged
2013-08-15 17:48:11 +10:00
Sam
5d4d72c19d
also bench a topic page
2013-08-15 17:13:05 +10:00
Sam
d753cdb2f7
add db population
2013-08-15 16:59:38 +10:00
Sam
40ef4b6907
add time it takes to load rails
2013-08-15 16:35:57 +10:00
Sam
8f5866d9e8
prereqs
2013-08-15 15:37:33 +10:00
Sam
1c4b1eba08
we need the output of bundle
2013-08-15 15:32:07 +10:00
Sam
5d05b96ca0
work in progress, benching script
2013-08-15 15:19:23 +10:00