A lot :)
This commit is contained in:
parent
aad67af0d1
commit
63fc206c27
153 changed files with 2043 additions and 646 deletions
|
|
@ -18,6 +18,21 @@ Rails.application.routes.draw do
|
|||
# Can be used by load balancers and uptime monitors to verify that the app is live.
|
||||
get 'up' => 'rails/health#show', as: :rails_health_check
|
||||
|
||||
if Rails.env.development?
|
||||
namespace :benchmarking do
|
||||
post "read_heavy"
|
||||
post "write_heavy"
|
||||
post "balanced"
|
||||
post "link_create"
|
||||
post "comment_create"
|
||||
post "link_destroy"
|
||||
post "comment_destroy"
|
||||
post "link_show"
|
||||
post "links_index"
|
||||
post "user_show"
|
||||
end
|
||||
end
|
||||
|
||||
# Defines the root path route ("/")
|
||||
root 'home#show'
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue