[yast-devel] Profiling rest-service
Hi, I profile also rest-service. Its result is quite good. I choose time plugin index action. It shows that it spend the most of time in building XML. DBus layer takes just few percents (around 3%). So bottleneck of rest-service (beside YaPI) is creating XML, but I don't know better alternative. Josef -- Josef Reidinger YaST team maintainer of perl-Bootloader, YaST2-Repair, webyast (language,time,basesystem,ntp) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
* Josef Reidinger
Hi, I profile also rest-service. Its result is quite good. I choose time plugin index action. It shows that it spend the most of time in building XML. DBus layer takes just few percents (around 3%). So bottleneck of rest-service (beside YaPI) is creating XML, but I don't know better alternative.
JSON ?! Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Klaus Kaempf write:
* Josef Reidinger
[Dec 07. 2009 16:38]: Hi, I profile also rest-service. Its result is quite good. I choose time plugin index action. It shows that it spend the most of time in building XML. DBus layer takes just few percents (around 3%). So bottleneck of rest-service (beside YaPI) is creating XML, but I don't know better alternative.
JSON ?!
Now we create json from xml, so I think it is not good way. But I found in ActiveModel, that escaping can be for some case skipped (like if I send some data, where I am sure that it doesn't contain problematic parts). This could help in some case (operator << on xml builder). Josef
Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
-- Josef Reidinger YaST team maintainer of perl-Bootloader, YaST2-Repair, webyast (language,time,basesystem,ntp) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (2)
-
Josef Reidinger
-
Klaus Kaempf