Dive Into Python-Chapter 18. Performance Tuning
... readability and maintainability. 18. 7. Summary This chapter has illustrated several important aspects of performance tuning in Python, and performance tuning in general. * If you need ... (not source) and (not source.isalpha()): return "0000" Chapter 18. Performance Tuning Performance tuning is a many-splendored thing. Just because Python is an int...
Ngày tải lên: 28/10/2013, 16:15
... function also got translated into XML. SOAPProxy introspects each argument to determine its datatype (in this case it's a string). The argument datatype goes into the xsi:type attribute, ... and route requests between several unrelated services. It's like dividing Python modules into packages. 3 You're creating the SOAPProxy with the service URL and the service names...
Ngày tải lên: 17/10/2013, 19:15
... CA www.sybex.com Graphical Performance Tuning Tools 47 Performance Manager, Top Sessions, and Trace Manager are particularly useful for performance tuning. Performance Manager Performance Manager is a GUI performance ... CA www.sybex.com 48 Chapter 2 Sources of Tuning Information FIGURE 2.4 Performance Manager output One unique feature of Performance Manager is that t...
Ngày tải lên: 18/10/2013, 18:15
OCP Performance Tuning P2
... Enterprise DBA Part 2: Performance Tuning Workshop Lesson 17: Workshop Pending Performance Tuning Issues Configurations Some of the available configurations can offer better performance results: • ... options for enhancing performance. 17-24 Enterprise DBA Part 2: Performance Tuning Workshop Lesson 17: Workshop A Practices A-2 Enterprise DBA Part 2: Performance Tu...
Ngày tải lên: 19/10/2013, 11:15
Dive Into Python-Chapter 13. Unit Testing
... Chapter 13. Unit Testing 13.1. Introduction to Roman numerals In previous chapters, you “dived in” by immediately looking at code and trying to understand it as quickly as possible. Now ... Study: Roman Numerals”, but now let's step back and consider what it would take to expand that into a two-way utility. The rules for Roman numerals lead to a number of interesting observat...
Ngày tải lên: 20/10/2013, 10:15
Dive Into Python-Chapter 14. Test-First Programming
... (4), or an optional V followed by 0 to 3 optional I characters. 2 Having encoded all that logic into a regular expression, the code to check for invalid Roman numerals becomes trivial. If re.search
Ngày tải lên: 20/10/2013, 10:15
Dive Into Python-Chapter 15. Refactoring
... improved the regular expression performance by over 60%, and improved the overall performance of the entire unit test by over 10%. 2 More important than any performance boost is the fact that ... fillLookupTables() So how fast is it? Example 15 .18. Output of romantest9.py against roman9.py Ran 13 tests in 0.791s OK Remember, the best performance you ever got in...
Ngày tải lên: 24/10/2013, 09:15
Dive Into Python-Chapter 16. Functional Programming
... /home/you/diveintopython/common/py/fullpath.py 1 sys.argv[0] = /home/you/diveintopython/common/py/fullpath.py path = /home/you/diveintopython/common/py full path = /home/you/diveintopython/common/py ... [you@localhost diveintopython]$ python common/py/fullpath.py 2 sys.argv[0] = common/py/fullpath.py path = common/py full path = /home/you/diveintopython/common/py [you@localhost divei...
Ngày tải lên: 24/10/2013, 09:15
Dive Into Python-Chapter 17. Dynamic functions
... 'vacancies' 1 This regular expression turns vacancy into vacancies and agency into agencies, which is what you wanted. Note that it would also turn boy into boies, but that will never happen in the ... and quickly descends into more advanced uses. English is a schizophrenic language that borrows from a lot of other languages, and the rules for making singular noun...
Ngày tải lên: 28/10/2013, 16:15
Dive Into Python-Chapter 1. Installing Python
... Chapter 1. Installing Python Welcome to Python. Let's dive in. In this chapter, you'll install the version of Python that's right for you. ... that scripts are running under the latest version of Python, and be sure to type python2.3 to get into the interactive shell. 1.6. Python on Debian GNU/Linux If you are lucky enough to be running ... calculator! Launch the Pyt...
Ngày tải lên: 07/11/2013, 10:15