RailsのXMLのレンダリングが遅い。
これは、String#to_xsが遅いのが原因らしい。

そこで、これを高速化するためのライブラリfast_xsを使うと、
XMLのレンダリングが速くなります
(手元の環境で試したところでは、若干速くなったような気がしました。)

Rails-2.0以降では、fast_xsがインストールされている場合に、
自動的にそれを利用するようになっています。

[Changeset 7774] Reference current fast_xs URL

インストールは、いつものようにsudo gem install fast_xsでOK。

See Also

 

posted by genki genki on Mon 21 Jul 2008 at 08:37 with 0 comments
Contents rssrss
光ファイバーを二次元振動させて走査するAR用ディスプレイ
因果の取り違え
Swift2's defer for CoffeeScript
mongodb-3.0からcreateIndexのdropDupsが無くなったらしい
mongodb-3.0以降のWiredTigerの設定を動的に変更する方法
一般楕円の高速生成アルゴリズムへの道標
farro mantecatoのレシピ
Droonga関連の記事のまとめ
RuntimeErrorの特定のメッセージに限定してrescueする方法
jQueryでscriptタグを実行せずにappendする
Tags
coffeescriptdefergroongajsmemonodenodejs
Comments rssrss
https://xn--mgmrket6-px0d.com https://xn--mgmrket6-px0d.com: Регулярная проверка настроек MEGA: как обезопаси... 04/24 09:44
https://fromkorea.peoplead.kr/bbs/board.php?bo_table=free&wr_id=72875 https://fromkorea.peoplead.kr/bbs/board.php?bo_table=free&wr_id=72875: Nice blog. I liked reading. Many thanks for the in... 04/24 06:13
https://Xn--Mgmarkt8-9DB.Com/ https://Xn--Mgmarkt8-9DB.Com/: Что выбрать: Tor или VPN для безопасного MEGA? ... 04/24 01:57
https://buy-property-uae.com/ https://buy-property-uae.com/: Real estate experts are convinced, that buying pro... 04/24 00:16
https://buy-property-uae.com/ https://buy-property-uae.com/: Real estate experts are convinced, that acquiring ... 04/24 00:16
https://xn--mgmarkt9-9db.com https://xn--mgmarkt9-9db.com: Как проверить целостность ссылок MEGA: защита от ... 04/23 22:08
https://xn--mgmarkt6-9db.com https://xn--mgmarkt6-9db.com: Как обезопасить хранилище криптовалюты: сравнение... 04/23 20:02
https://www.lifnest.com/author/bradwhiddon136/ https://www.lifnest.com/author/bradwhiddon136/: Лучший bulk index checker из тех, что я пробовал... 04/23 10:21