Benchmarks done on a quad core of vendor_id : GenuineIntel cpu family : 6 model : 28 model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz stepping : 2 microcode : 0x219 cpu MHz : 1599.990 cache size : 512 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts nopl aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm bugs : bogomips : 3201.31 clflush size : 64 cache_alignment : 64 address sizes : 32 bits physical, 48 bits virtual power management: ==Wordcode (Lib/__pycache__ 3543040 bytes after compileall) ------------------------------------------------------------------------------- PYBENCH 2.1 ------------------------------------------------------------------------------- * using CPython 3.6.0a0 (default, Mar 29 2016, 21:27:33) [GCC 5.3.0] * disabled garbage collection * system check interval set to maximum: 2147483647 * using timer: time.perf_counter * timer: resolution=1e-09, implementation=clock_gettime(CLOCK_MONOTONIC) Calibrating tests. Please wait... done. Running 10 round(s) of the suite at warp factor 10: * Round 1 done in 16.525 seconds. * Round 2 done in 16.524 seconds. * Round 3 done in 16.518 seconds. * Round 4 done in 16.522 seconds. * Round 5 done in 16.552 seconds. * Round 6 done in 16.536 seconds. * Round 7 done in 16.546 seconds. * Round 8 done in 16.546 seconds. * Round 9 done in 16.530 seconds. * Round 10 done in 16.533 seconds. ------------------------------------------------------------------------------- Benchmark: 2016-03-29 23:07:24 ------------------------------------------------------------------------------- Rounds: 10 Warp: 10 Timer: time.perf_counter Machine Details: Platform ID: Linux-4.4.5-1-ARCH-x86_64-with-arch Processor: Python: Implementation: CPython Executable: /root/o/cpython/python Version: 3.6.0a0 Compiler: GCC 5.3.0 Bits: 64bit Build: Mar 29 2016 21:27:33 (#default) Unicode: UCS4 Test minimum average operation overhead ------------------------------------------------------------------------------- BuiltinFunctionCalls: 362ms 364ms 0.71us 0.750ms BuiltinMethodLookup: 183ms 184ms 0.18us 0.878ms CompareFloats: 176ms 176ms 0.15us 1.004ms CompareFloatsIntegers: 260ms 261ms 0.29us 0.748ms CompareIntegers: 254ms 254ms 0.14us 1.530ms CompareInternedStrings: 210ms 210ms 0.14us 3.907ms CompareLongs: 148ms 148ms 0.14us 0.878ms CompareStrings: 194ms 194ms 0.19us 2.608ms ComplexPythonFunctionCalls: 337ms 338ms 1.69us 1.273ms ConcatStrings: 270ms 271ms 0.54us 1.553ms CreateInstances: 649ms 653ms 5.83us 1.250ms CreateNewInstances: 487ms 493ms 5.87us 1.030ms CreateStringsWithConcat: 467ms 469ms 0.47us 2.553ms DictCreation: 206ms 209ms 0.52us 1.004ms DictWithFloatKeys: 321ms 322ms 0.36us 1.898ms DictWithIntegerKeys: 186ms 186ms 0.15us 2.539ms DictWithStringKeys: 173ms 174ms 0.14us 2.559ms ForLoops: 171ms 171ms 6.83us 0.140ms IfThenElse: 208ms 209ms 0.15us 1.902ms ListSlicing: 261ms 262ms 18.74us 0.162ms NestedForLoops: 249ms 250ms 0.17us 0.014ms NestedListComprehensions: 296ms 298ms 24.87us 0.304ms NormalClassAttribute: 515ms 517ms 0.43us 1.407ms NormalInstanceAttribute: 278ms 283ms 0.24us 1.529ms PythonFunctionCalls: 286ms 287ms 0.87us 0.799ms PythonMethodCalls: 381ms 385ms 1.71us 0.537ms Recursion: 446ms 446ms 8.93us 1.324ms SecondImport: 398ms 399ms 3.99us 0.495ms SecondPackageImport: 445ms 447ms 4.47us 0.495ms SecondSubmoduleImport: 1180ms 1189ms 11.89us 0.495ms SimpleComplexArithmetic: 214ms 214ms 0.24us 1.004ms SimpleDictManipulation: 386ms 393ms 0.33us 1.329ms SimpleFloatArithmetic: 165ms 166ms 0.13us 1.516ms SimpleIntFloatArithmetic: 188ms 188ms 0.14us 1.521ms SimpleIntegerArithmetic: 188ms 188ms 0.14us 1.511ms SimpleListComprehensions: 232ms 237ms 19.71us 0.270ms SimpleListManipulation: 183ms 183ms 0.16us 1.716ms SimpleLongArithmetic: 132ms 132ms 0.20us 0.747ms SmallLists: 379ms 381ms 0.56us 1.004ms SmallTuples: 433ms 436ms 0.81us 1.128ms SpecialClassAttribute: 508ms 509ms 0.42us 1.414ms SpecialInstanceAttribute: 278ms 287ms 0.24us 1.415ms StringMappings: 549ms 550ms 2.18us 1.293ms StringPredicates: 351ms 352ms 0.50us 4.677ms StringSlicing: 381ms 387ms 0.69us 2.180ms TryExcept: 136ms 137ms 0.06us 1.903ms TryFinally: 231ms 232ms 1.45us 1.060ms TryRaiseExcept: 152ms 154ms 2.40us 1.003ms TupleSlicing: 331ms 333ms 1.27us 0.119ms WithFinally: 432ms 435ms 2.72us 1.059ms WithRaiseExcept: 584ms 588ms 7.35us 1.329ms ------------------------------------------------------------------------------- Totals: 16434ms 16533ms == CPython 3.6.0a0 (default) == == x86_64 Linux on '' == --- Throughput --- Pi calculation (Python) threads=1: 260 iterations/s. threads=2: 246 ( 94 %) threads=3: 243 ( 93 %) threads=4: 236 ( 90 %) regular expression (C) threads=1: 121 iterations/s. threads=2: 109 ( 90 %) threads=3: 106 ( 88 %) threads=4: 99 ( 82 %) bz2 compression (C) threads=1: 125 iterations/s. threads=2: 239 ( 190 %) threads=3: 384 ( 305 %) threads=4: 462 ( 367 %) --- Latency --- Background CPU task: Pi calculation (Python) CPU threads=0: 0 ms. (std dev: 0 ms.) CPU threads=1: 5 ms. (std dev: 1 ms.) CPU threads=2: 93 ms. (std dev: 70 ms.) CPU threads=3: 87 ms. (std dev: 74 ms.) CPU threads=4: 132 ms. (std dev: 115 ms.) Background CPU task: regular expression (C) CPU threads=0: 0 ms. (std dev: 0 ms.) CPU threads=1: 9 ms. (std dev: 2 ms.) CPU threads=2: 16 ms. (std dev: 3 ms.) CPU threads=3: 23 ms. (std dev: 16 ms.) CPU threads=4: 383 ms. (std dev: 296 ms.) Background CPU task: bz2 compression (C) CPU threads=0: 0 ms. (std dev: 0 ms.) CPU threads=1: 0 ms. (std dev: 0 ms.) CPU threads=2: 0 ms. (std dev: 0 ms.) CPU threads=3: 0 ms. (std dev: 0 ms.) CPU threads=4: 0 ms. (std dev: 1 ms.) --- I/O bandwidth --- Background CPU task: Pi calculation (Python) CPU threads=0: 4547.1 packets/s. CPU threads=1: 117.2 ( 2 %) CPU threads=2: 56.0 ( 1 %) CPU threads=3: 35.3 ( 0 %) CPU threads=4: 12.2 ( 0 %) ==Trunk (Lib/__pycache__ 3817472 bytes after compileall) ------------------------------------------------------------------------------- PYBENCH 2.1 ------------------------------------------------------------------------------- * using CPython 3.6.0a0 (default, Mar 29 2016, 22:57:42) [GCC 5.3.0] * disabled garbage collection * system check interval set to maximum: 2147483647 * using timer: time.perf_counter * timer: resolution=1e-09, implementation=clock_gettime(CLOCK_MONOTONIC) Calibrating tests. Please wait... done. Running 10 round(s) of the suite at warp factor 10: * Round 1 done in 16.785 seconds. * Round 2 done in 16.784 seconds. * Round 3 done in 16.765 seconds. * Round 4 done in 16.786 seconds. * Round 5 done in 16.756 seconds. * Round 6 done in 16.908 seconds. * Round 7 done in 16.773 seconds. * Round 8 done in 16.730 seconds. * Round 9 done in 16.796 seconds. * Round 10 done in 16.754 seconds. ------------------------------------------------------------------------------- Benchmark: 2016-03-29 23:16:43 ------------------------------------------------------------------------------- Rounds: 10 Warp: 10 Timer: time.perf_counter Machine Details: Platform ID: Linux-4.4.5-1-ARCH-x86_64-with-arch Processor: Python: Implementation: CPython Executable: /root/o/pymaster/python Version: 3.6.0a0 Compiler: GCC 5.3.0 Bits: 64bit Build: Mar 29 2016 22:57:42 (#default) Unicode: UCS4 Test minimum average operation overhead ------------------------------------------------------------------------------- BuiltinFunctionCalls: 370ms 372ms 0.73us 0.701ms BuiltinMethodLookup: 187ms 195ms 0.19us 0.819ms CompareFloats: 177ms 177ms 0.15us 0.938ms CompareFloatsIntegers: 272ms 273ms 0.30us 0.701ms CompareIntegers: 254ms 254ms 0.14us 1.414ms CompareInternedStrings: 205ms 205ms 0.14us 3.638ms CompareLongs: 148ms 148ms 0.14us 0.818ms CompareStrings: 192ms 192ms 0.19us 2.442ms ComplexPythonFunctionCalls: 354ms 357ms 1.78us 1.253ms ConcatStrings: 274ms 275ms 0.55us 1.466ms CreateInstances: 642ms 666ms 5.94us 1.190ms CreateNewInstances: 483ms 489ms 5.82us 0.963ms CreateStringsWithConcat: 476ms 478ms 0.48us 2.411ms DictCreation: 205ms 207ms 0.52us 0.996ms DictWithFloatKeys: 326ms 326ms 0.36us 1.843ms DictWithIntegerKeys: 193ms 193ms 0.16us 2.428ms DictWithStringKeys: 183ms 184ms 0.15us 2.451ms ForLoops: 165ms 165ms 6.60us 0.119ms IfThenElse: 198ms 198ms 0.15us 1.818ms ListSlicing: 261ms 262ms 18.70us 0.161ms NestedForLoops: 256ms 257ms 0.17us 0.016ms NestedListComprehensions: 280ms 285ms 23.77us 0.246ms NormalClassAttribute: 513ms 515ms 0.43us 1.266ms NormalInstanceAttribute: 298ms 303ms 0.25us 1.275ms PythonFunctionCalls: 285ms 285ms 0.86us 0.721ms PythonMethodCalls: 384ms 389ms 1.73us 0.442ms Recursion: 444ms 445ms 8.90us 1.206ms SecondImport: 438ms 441ms 4.41us 0.487ms SecondPackageImport: 507ms 509ms 5.09us 0.479ms SecondSubmoduleImport: 1231ms 1242ms 12.42us 0.487ms SimpleComplexArithmetic: 181ms 182ms 0.21us 0.972ms SimpleDictManipulation: 378ms 379ms 0.32us 1.198ms SimpleFloatArithmetic: 167ms 167ms 0.13us 1.456ms SimpleIntFloatArithmetic: 192ms 192ms 0.15us 1.462ms SimpleIntegerArithmetic: 191ms 191ms 0.14us 1.471ms SimpleListComprehensions: 227ms 232ms 19.30us 0.257ms SimpleListManipulation: 182ms 183ms 0.16us 1.546ms SimpleLongArithmetic: 129ms 129ms 0.20us 0.749ms SmallLists: 376ms 380ms 0.56us 0.970ms SmallTuples: 481ms 483ms 0.89us 1.058ms SpecialClassAttribute: 506ms 507ms 0.42us 1.264ms SpecialInstanceAttribute: 304ms 312ms 0.26us 1.268ms StringMappings: 550ms 551ms 2.19us 1.175ms StringPredicates: 337ms 338ms 0.48us 4.387ms StringSlicing: 372ms 375ms 0.67us 2.053ms TryExcept: 142ms 142ms 0.06us 1.776ms TryFinally: 237ms 237ms 1.48us 0.941ms TryRaiseExcept: 173ms 173ms 2.70us 0.938ms TupleSlicing: 327ms 329ms 1.25us 0.122ms WithFinally: 415ms 417ms 2.60us 0.940ms WithRaiseExcept: 595ms 598ms 7.48us 1.194ms ------------------------------------------------------------------------------- Totals: 16662ms 16784ms == CPython 3.6.0a0 (default) == == x86_64 Linux on '' == --- Throughput --- Pi calculation (Python) threads=1: 249 iterations/s. threads=2: 236 ( 94 %) threads=3: 232 ( 93 %) threads=4: 223 ( 89 %) regular expression (C) threads=1: 121 iterations/s. threads=2: 112 ( 91 %) threads=3: 108 ( 88 %) threads=4: 107 ( 88 %) bz2 compression (C) threads=1: 126 iterations/s. threads=2: 240 ( 189 %) threads=3: 379 ( 299 %) threads=4: 468 ( 368 %) --- Latency --- Background CPU task: Pi calculation (Python) CPU threads=0: 0 ms. (std dev: 0 ms.) CPU threads=1: 5 ms. (std dev: 0 ms.) CPU threads=2: 102 ms. (std dev: 107 ms.) CPU threads=3: 51 ms. (std dev: 58 ms.) CPU threads=4: 87 ms. (std dev: 111 ms.) Background CPU task: regular expression (C) CPU threads=0: 0 ms. (std dev: 0 ms.) CPU threads=1: 9 ms. (std dev: 2 ms.) CPU threads=2: 12 ms. (std dev: 6 ms.) CPU threads=3: 21 ms. (std dev: 11 ms.) CPU threads=4: 68 ms. (std dev: 23 ms.) Background CPU task: bz2 compression (C) CPU threads=0: 0 ms. (std dev: 0 ms.) CPU threads=1: 0 ms. (std dev: 0 ms.) CPU threads=2: 0 ms. (std dev: 0 ms.) CPU threads=3: 0 ms. (std dev: 0 ms.) CPU threads=4: 0 ms. (std dev: 0 ms.) --- I/O bandwidth --- Background CPU task: Pi calculation (Python) CPU threads=0: 4699.8 packets/s. CPU threads=1: 107.8 ( 2 %) CPU threads=2: 30.8 ( 0 %) CPU threads=3: 24.1 ( 0 %) CPU threads=4: 18.1 ( 0 %) == Wordcode EXTENDED_ARGs 3 682 Lib/ codecs.py 1 808 Lib/ operator.py 2 330 Lib/ symtable.py 1 546 Lib/ stat.py 1 598 Lib/ pathlib.py 874 4758 Lib/ stringprep.py 3 432 Lib/ base64.py 1 232 Lib/ lzma.py 1 458 Lib/ socketserver.py 1 156 Lib/ string.py 3 708 Lib/ functools.py 5 1108 Lib/ tokenize.py 1 266 Lib/ signal.py 2 276 Lib/ runpy.py 1 144 Lib/ formatter.py 16 886 Lib/ webbrowser.py 3 608 Lib/ copy.py 14 1078 Lib/ pickle.py 1 352 Lib/ pkgutil.py 5 574 Lib/ aifc.py 2 246 Lib/ pprint.py 1 338 Lib/ difflib.py 1 360 Lib/ ftplib.py 2 842 Lib/ telnetlib.py 1 372 Lib/ asyncore.py 1 280 Lib/ site.py 1 306 Lib/ sndhdr.py 2 304 Lib/ modulefinder.py 1400 6736 Lib/ locale.py 3 574 Lib/ socket.py 2 752 Lib/ pydoc.py 14 1504 Lib/ opcode.py 1 524 Lib/ calendar.py 3 364 Lib/ poplib.py 1 294 Lib/ imghdr.py 1 174 Lib/ timeit.py 8 496 Lib/ dis.py 25 1910 Lib/ os.py 2 162 Lib/ glob.py 1 338 Lib/ token.py 1 320 Lib/ csv.py 10 514 Lib/ mimetypes.py 21 1306 Lib/ imaplib.py 1 212 Lib/ enum.py 9 528 Lib/ warnings.py 4 596 Lib/ tempfile.py 1 568 Lib/ sre_constants.py 16 938 Lib/ nntplib.py 5 622 Lib/ smtplib.py 1 110 Lib/ fnmatch.py 2 460 Lib/ imp.py 15 1170 Lib/ shutil.py 4 348 Lib/ heapq.py 3 482 Lib/ pdb.py 2 868 Lib/ tarfile.py 1 318 Lib/ hashlib.py 301 4746 Lib/ pickletools.py 1 120 Lib/ abc.py 3 316 Lib/ io.py 32 1830 Lib/ typing.py 5 362 Lib/ pstats.py 3 1100 Lib/ turtle.py 6 826 Lib/ ssl.py 8 400 Lib/ selectors.py 7 866 Lib/ datetime.py 1 448 Lib/ random.py 10 864 Lib/ sysconfig.py 3 820 Lib/ platform.py 2 506 Lib/ uuid.py 1 408 Lib/ cgi.py 9 610 Lib/ smtpd.py 5 570 Lib/ subprocess.py 1 180 Lib/ code.py 3 432 Lib/ symbol.py 7 622 Lib/ plistlib.py 1 636 Lib/ threading.py 6 584 Lib/ ntpath.py 6 1376 Lib/ inspect.py 1 152 Lib/ numbers.py 1 954 Lib/ zipfile.py 1 310 Lib/ trace.py 233 2722 Lib/plat-freebsd8 IN.py 1 282 Lib/wsgiref simple_server.py 14 794 Lib/xml/dom minidom.py 2 422 Lib/xml/sax expatreader.py 4 602 Lib/xml/etree ElementTree.py 6 1228 Lib/urllib request.py 2 622 Lib/idlelib PyShell.py 1 120 Lib/idlelib textView.py 4 524 Lib/idlelib MultiCall.py 1 58 Lib/idlelib RstripExtension.py 1 72 Lib/idlelib IdleHistory.py 7 492 Lib/idlelib IOBinding.py 1 156 Lib/idlelib HyperParser.py 1 98 Lib/idlelib configSectionNameDialog.py 1 182 Lib/idlelib PathBrowser.py 1 128 Lib/idlelib SearchEngine.py 1 126 Lib/idlelib FormatParagraph.py 1 64 Lib/idlelib idlever.py 1 70 Lib/idlelib AutoExpand.py 1 200 Lib/idlelib GrepDialog.py 1 176 Lib/idlelib AutoComplete.py 1 170 Lib/idlelib CallTips.py 1 218 Lib/idlelib Bindings.py 1 250 Lib/idlelib configDialog.py 1 108 Lib/idlelib WidgetRedirector.py 1 98 Lib/idlelib ParenMatch.py 1 90 Lib/idlelib SearchDialogBase.py 1 426 Lib/idlelib EditorWindow.py 210 2596 Lib/plat-freebsd6 IN.py 1 342 Lib/lib2to3 refactor.py 4 918 Lib/lib2to3/pgen2 tokenize.py 2 336 Lib/lib2to3/pgen2 token.py 1 112 Lib/lib2to3/fixes fix_asserts.py 2 502 Lib/asyncio unix_events.py 2 382 Lib/asyncio coroutines.py 3 376 Lib/asyncio base_events.py 9 426 Lib/asyncio tasks.py 5 356 Lib/asyncio streams.py 1 224 Lib/asyncio futures.py 1 226 Lib/asyncio windows_utils.py 1 206 Lib/asyncio subprocess.py 240 2860 Lib/plat-linux IN.py 1622 10308 Lib/plat-sunos5 STROPTS.py 1235 8054 Lib/plat-sunos5 IN.py 2 392 Lib/distutils msvccompiler.py 1 344 Lib/distutils msvc9compiler.py 3 484 Lib/distutils sysconfig.py 1 330 Lib/distutils/command install.py 233 2722 Lib/plat-freebsd7 IN.py 3 504 Lib/xmlrpc server.py 7 872 Lib/xmlrpc client.py 4658 19330 Lib/html entities.py 1 406 Lib/logging handlers.py 308 3192 Lib/plat-darwin IN.py 3 296 Lib/ctypes util.py 9 276 Lib/msilib sequence.py 122 532 Lib/msilib text.py 504 8428 Lib/msilib schema.py 2 334 Lib/json encoder.py 48 1512 Lib/plat-freebsd4 IN.py 1 352 Lib/email quoprimime.py 4 178 Lib/email policy.py 1 350 Lib/email contentmanager.py 8 782 Lib/multiprocessing connection.py 1 498 Lib/multiprocessing reduction.py 2 344 Lib/multiprocessing sharedctypes.py 2 978 Lib/multiprocessing managers.py 1 428 Lib/multiprocessing context.py 1 418 Lib/multiprocessing util.py 2 436 Lib/importlib abc.py 91 1678 Lib/plat-unixware7 STROPTS.py 539 4204 Lib/plat-unixware7 IN.py 10 406 Lib/tkinter font.py 1 350 Lib/tkinter messagebox.py 4 1054 Lib/curses has_key.py 6 440 Lib/http server.py 1 596 Lib/http client.py 48 1512 Lib/plat-freebsd5 IN.py 179 2044 Lib/encodings cp860.py 183 2052 Lib/encodings cp865.py 238 2126 Lib/encodings cp869.py 199 2084 Lib/encodings cp775.py 280 2246 Lib/encodings cp866.py 97 1880 Lib/encodings cp858.py 282 2250 Lib/encodings cp1125.py 97 1880 Lib/encodings cp850.py 276 2238 Lib/encodings cp855.py 177 2040 Lib/encodings mac_arabic.py 102 1874 Lib/encodings cp857.py 205 2096 Lib/encodings cp852.py 253 1806 Lib/encodings aliases.py 246 2146 Lib/encodings cp864.py 1 390 Lib/encodings rot_13.py 183 2052 Lib/encodings cp437.py 183 2052 Lib/encodings cp863.py 276 2238 Lib/encodings cp737.py 237 2160 Lib/encodings cp862.py 183 2052 Lib/encodings cp861.py == Trunk EXTENDED_ARGs 2 2010 Lib/ inspect.py 4 3376 Lib/plat-freebsd8 IN.py 4 3256 Lib/plat-freebsd6 IN.py 1 1256 Lib/plat-linux CDROM.py 3 3532 Lib/plat-linux IN.py 8 10360 Lib/plat-sunos5 STROPTS.py 5 8226 Lib/plat-sunos5 IN.py 1 1714 Lib/plat-sunos5 TYPES.py 4 3376 Lib/plat-freebsd7 IN.py 3 3848 Lib/plat-darwin IN.py 1 1459 Lib/ctypes wintypes.py 2 2116 Lib/plat-freebsd4 IN.py 1 2126 Lib/plat-unixware7 STROPTS.py 7 4667 Lib/plat-unixware7 IN.py 2 2116 Lib/plat-freebsd5 IN.py 1 984 Lib/plat-aix4 IN.py