1
0
Fork 0
forked from fedi/mastodon
mastodon/spec
Eugen Rochko cb5b5cb5f7
Slightly reduce RAM usage (#7301)
* No need to re-require sidekiq plugins, they are required via Gemfile

* Add derailed_benchmarks tool, no need to require TTY gems in Gemfile

* Replace ruby-oembed with FetchOEmbedService

Reduce startup by 45382 allocated objects

* Remove preloaded JSON-LD in favour of caching HTTP responses

Reduce boot RAM by about 6 MiB

* Fix tests

* Fix test suite by stubbing out JSON-LD contexts
2018-05-02 18:58:48 +02:00
..
controllers Paginate descendant statuses in public page (#7148) 2018-04-23 19:27:35 +02:00
fabricators Speed up test suite by not generating RSA keys in test environment (#7296) 2018-05-02 15:45:24 +02:00
features Add scenarios for log in (#3497) 2017-06-01 17:25:59 +02:00
fixtures Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
helpers Append '.test' to hostname in stub data (#7260) 2018-04-25 14:12:28 +02:00
lib Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
mailers Account archive download (#6460) 2018-02-21 23:21:32 +01:00
models Keep notification when muting_notifications is true (#7311) 2018-05-02 16:14:51 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Isolate each specs for cache store (#6450) 2018-02-17 22:35:05 +01:00
requests Use raw status code on have_http_status (#7214) 2018-04-21 21:35:07 +02:00
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 2017-06-10 09:39:26 +02:00
services Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
support Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
validators Add a spec for UniqueUsernameValidator (#6927) 2018-03-27 05:22:58 +02:00
views Paginate descendant statuses in public page (#7148) 2018-04-23 19:27:35 +02:00
workers Lists (#5703) 2017-11-18 00:16:48 +01:00
rails_helper.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
spec_helper.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00