slixmpp/examples
Vijay Pandurangan 6f3cc77bb5 This change stops sleekxmpp from spending huge amounts of time unnecessarily computing logging data that may never be used. This is a HUGE performance improvement; in some of my test runs, unnecessary string creation was accounting for > 60% of all CPU time.
Note that using % in a string will _always_ perform the sting substitutions, because the strings are constructed before the function is called. So log.debug('%s' % expensiveoperation()) will take about the same CPU time whether or not the logging level is DEBUG or INFO. if you use , no substitutions are performed unless the string is actually logged
2011-11-19 11:30:44 -08:00
..
adhoc_provider.py Remove extra debugging code that made it into a commit. 2011-08-23 14:14:21 -07:00
adhoc_user.py Update examples to work with Python3 (raw_input vs input) 2011-08-18 01:06:59 -07:00
disco_browser.py Update examples to work with Python3 (raw_input vs input) 2011-08-18 01:06:59 -07:00
echo_client.py Remove extra debugging code that made it into a commit. 2011-08-23 14:14:21 -07:00
echo_component.py Add echo component example. 2011-11-17 12:25:56 -08:00
muc.py Update examples to work with Python3 (raw_input vs input) 2011-08-18 01:06:59 -07:00
ping.py This change stops sleekxmpp from spending huge amounts of time unnecessarily computing logging data that may never be used. This is a HUGE performance improvement; in some of my test runs, unnecessary string creation was accounting for > 60% of all CPU time. 2011-11-19 11:30:44 -08:00
proxy_echo_client.py Update examples to work with Python3 (raw_input vs input) 2011-08-18 01:06:59 -07:00
roster_browser.py Update examples to work with Python3 (raw_input vs input) 2011-08-18 01:06:59 -07:00
rpc_async.py Added examples. 2011-01-13 11:58:20 +01:00
rpc_client_side.py Added examples. 2011-01-13 11:58:20 +01:00
rpc_server_side.py Added examples. 2011-01-13 11:58:20 +01:00
send_client.py Update examples to work with Python3 (raw_input vs input) 2011-08-18 01:06:59 -07:00