文件名称:ams-jbuilder-pg:to_json vs ams vs ams-pg vs jbuilder
文件大小:36KB
文件格式:ZIP
更新时间:2024-08-09 10:00:11
Ruby
main 和 JSON 序列化器之间的速度比较: to_json IndexTest#test_posts_index (202 ms warmup) wall_time: 826 ms memory: 0 Bytes process_time: 1.47 sec Completed 200 OK in 725ms (Views: 0.5ms | ActiveRecord: 4.1ms) JBUILDER: IndexTest#test_posts_index (150 ms warmup) wall_time: 480 ms memory: 0 Bytes process_time: 900 ms Completed 200 OK in 454ms
【文件预览】:
ams-jbuilder-pg-master
----log()
--------.keep(0B)
----public()
--------500.html(1KB)
--------robots.txt(202B)
--------422.html(2KB)
--------favicon.ico(0B)
--------404.html(2KB)
----config.ru(154B)
----db()
--------seeds.rb(701B)
--------schema.rb(1KB)
--------migrate()
----lib()
--------tasks()
--------assets()
----Gemfile(1KB)
----Rakefile(249B)
----config()
--------initializers()
--------application.rb(1KB)
--------environments()
--------locales()
--------boot.rb(170B)
--------secrets.yml(964B)
--------routes.rb(2KB)
--------database.yml(3KB)
--------environment.rb(150B)
----test()
--------test_helper.rb(491B)
--------performance()
----README.md(1KB)
----Gemfile.lock(3KB)
----.gitignore(466B)
----app()
--------views()
--------models()
--------controllers()
--------helpers()
--------mailers()
--------assets()
----bin()
--------bundle(129B)
--------rake(164B)
--------rails(220B)
--------spring(517B)
----vendor()
--------assets()