===== RATIO small .pyc files: py_path pyc_path py_bytes pyc_bytes ratio 1 /home/andy/git/oilshell/oil/asdl/const.py asdl/const.pyc 1282 254 0.1981279 2 /home/andy/git/oilshell/oil/Python-2.7.13/Lib/encodings/aliases.py encodings/aliases.pyc 14848 8805 0.5930092 3 /home/andy/git/oilshell/oil/tools/osh2oil.py tools/osh2oil.pyc 40880 25515 0.6241438 4 /home/andy/git/oilshell/oil/osh/lex.py osh/lex.pyc 17374 12164 0.7001266 5 /home/andy/git/oilshell/oil/core/id_kind.py core/id_kind.pyc 15406 11513 0.7473062 6 /home/andy/git/oilshell/oil/core/cmd_exec.py core/cmd_exec.pyc 49767 40254 0.8088492 7 /home/andy/git/oilshell/oil/core/word_eval.py core/word_eval.pyc 33692 28879 0.8571471 8 /home/andy/git/oilshell/oil/core/expr_eval.py core/expr_eval.pyc 21946 19265 0.8778365 9 /home/andy/git/oilshell/oil/core/legacy.py core/legacy.pyc 11517 10347 0.8984110 10 /home/andy/git/oilshell/oil/Python-2.7.13/Lib/copy_reg.py copy_reg.pyc 6800 6120 0.9000000 big .pyc files: py_path pyc_path py_bytes pyc_bytes ratio 63 /home/andy/git/oilshell/oil/Python-2.7.13/Lib/UserDict.py UserDict.pyc 7060 12287 1.740368 64 /home/andy/git/oilshell/oil/Python-2.7.13/Lib/_abcoll.py _abcoll.pyc 18619 32591 1.750416 65 /home/andy/git/oilshell/oil/asdl/asdl_.py asdl/asdl_.pyc 7021 12310 1.753311 66 /home/andy/git/oilshell/oil/asdl/cgi.py asdl/cgi.pyc 548 993 1.812044 67 /home/andy/git/oilshell/oil/_devbuild/gen/runtime_asdl.py _devbuild/gen/runtime_asdl.pyc 8685 16016 1.844099 68 /home/andy/git/oilshell/oil/Python-2.7.13/Lib/stat.py stat.pyc 1842 3504 1.902280 69 /home/andy/git/oilshell/oil/_devbuild/gen/osh_asdl.py _devbuild/gen/osh_asdl.pyc 22914 46805 2.042638 70 /home/andy/git/oilshell/oil/Python-2.7.13/Lib/_weakrefset.py _weakrefset.pyc 5911 12702 2.148875 71 /home/andy/git/oilshell/oil/tools/readlink.py tools/readlink.pyc 448 1011 2.256696 72 /home/andy/git/oilshell/oil/Python-2.7.13/Lib/encodings/utf_8.py encodings/utf_8.pyc 1005 2408 2.396020 -- Overall: 884446 bytes of .py -> 961283 bytes of .pyc -- Ratio: 1.086876 ===== FULL LISTING bytecode pyc_bytes pyc_path 1 47403 osh/cmd_parse.pyc 2 46805 _devbuild/gen/osh_asdl.pyc 3 43910 codecs.pyc 4 40254 core/cmd_exec.pyc 5 34664 core/builtin.pyc 6 33490 core/state.pyc 7 32918 osh/word_parse.pyc 8 32591 _abcoll.pyc 9 30157 os.pyc 10 28879 core/word_eval.pyc 11 27502 core/process.pyc 12 25515 tools/osh2oil.pyc 13 25143 core/completion.pyc 14 23986 core/args.pyc 15 22860 pkgutil.pyc 16 20866 asdl/unpickle.pyc 17 19265 core/expr_eval.pyc 18 18102 asdl/format.pyc 19 16016 _devbuild/gen/runtime_asdl.pyc 20 16001 warnings.pyc 21 14669 bin/oil.pyc 22 14259 core/word.pyc 23 13800 traceback.pyc 24 13548 Lib/posixpath.pyc 25 13548 posixpath.pyc 26 13305 core/tdop.pyc 27 12702 _weakrefset.pyc 28 12310 asdl/asdl_.pyc 29 12287 UserDict.pyc 30 12164 osh/lex.pyc 31 11513 core/id_kind.pyc 32 11173 runpy.pyc 33 10347 core/legacy.pyc 34 10291 core/util.pyc 35 9846 core/libstr.pyc 36 9435 core/glob_.pyc 37 9387 asdl/encode.pyc 38 9289 asdl/py_meta.pyc 39 8992 core/comp_builtins.pyc 40 8805 encodings/aliases.pyc 41 7909 osh/arith_parse.pyc 42 7831 core/lexer.pyc 43 7764 core/alloc.pyc 44 7705 abc.pyc 45 7544 core/braces.pyc 46 7452 osh/bool_parse.pyc 47 6652 core/test_builtin.pyc 48 6120 copy_reg.pyc 49 5675 core/ui.pyc 50 5665 osh/match.pyc 51 5430 core/dev.pyc 52 5268 encodings/__init__.pyc 53 4816 osh/parse_lib.pyc 54 4634 tools/deps.pyc 55 4569 __future__.pyc 56 4546 core/reader.pyc 57 4466 genericpath.pyc 58 4383 osh/meta.pyc 59 4100 linecache.pyc 60 3504 stat.pyc 61 3410 core/main_loop.pyc 62 3299 osh/ast_lib.pyc 63 3295 types.pyc 64 3134 _devbuild/gen/osh_help.pyc 65 2948 atexit.pyc 66 2926 core/word_compile.pyc 67 2408 encodings/utf_8.pyc 68 2345 _devbuild/gen/types_asdl.pyc 69 1230 asdl/pretty.pyc 70 1011 tools/readlink.pyc 71 993 asdl/cgi.pyc 72 254 asdl/const.pyc -- total (again): 961283