Ticket #803 (closed 改善提案: 修正済)

Opened 13 years ago

Last modified 12 years ago

JSON モジュールの統一及び高速化

Reported by: nanasess Owned by: nanasess
Priority: Milestone: EC-CUBE2.11.0
Component: その他 Version: 2.4.4
Keywords: Cc:

Description (last modified by nanasess) (diff)

機能によって, PEAR::Service_JSON と, PHP5 の JSON extension が使われているので, ラッパー関数を作成する.

JSON extension が使用可能な場合は, そちらを使用する.

Change History

comment:1 Changed 12 years ago by nanasess

  • Milestone changed from EC-CUBE2.5.0beta to EC-CUBE2.5.1(仮)

comment:2 Changed 12 years ago by nanasess

  • Owner changed from somebody to nanasess
  • Status changed from new to assigned
  • Milestone changed from EC-CUBE2.11.1(仮) to EC-CUBE2.11.0

PEAR::Service_JSON が悲惨なほど遅いので, json_encode, json_decode 関数が存在する場合は, そちらを使うよう修正します

comment:3 Changed 12 years ago by nanasess


  • 表示点数 - 50点
  • 規格1 - 10件
  • 規格2 - 10件
  • OS - Mac OS X 10.6.6
  • CPU - Core 2 Duo 2.66GHz
  • メモリ - 4G
  • PHP5.3.5
  • json_encode 使用時 - 0.032705秒
  • Services_JSON::encode 使用時 - 1.898528秒

comment:4 Changed 12 years ago by nanasess

  • Description modified (diff)
  • Summary changed from JSON モジュールを統一する to JSON モジュールの統一及び高速化

comment:5 Changed 12 years ago by nanasess

  • Status changed from assigned to closed
  • Resolution set to 修正済

r20434 で対応しました

Note: See TracTickets for help on using tickets.