├── .gitignore ├── 00-docker ├── base │ └── Dockerfile ├── dask │ └── Dockerfile ├── gpu │ └── Dockerfile └── numba │ └── Dockerfile ├── 02-python ├── 005-lists.py ├── 006-memoization.py ├── sec1-io-cpu │ ├── load.py │ └── load_cache.py ├── sec2-cpu │ ├── _prepare_distances.py │ ├── distance_cache.py │ ├── locations.csv │ └── lprofile_distance_cache.py ├── sec3-basic-ds │ ├── compute_maf.py │ ├── exists_temperature.py │ ├── id.py │ ├── marray.py │ ├── shift.py │ └── simple.py ├── sec4-memory │ ├── alloc.py │ ├── compute_allocation.py │ └── multi.py └── sec5-lazy │ ├── generator.py │ ├── load_cache.py │ └── plot_generator.py ├── 03-concurrency ├── sec1-async │ ├── client.py │ ├── server.py │ └── sleep.py ├── sec2-naive │ └── naive_server.py ├── sec3-thread │ ├── threaded_mapreduce.py │ └── threaded_mapreduce_sync.py ├── sec4-multiprocess │ ├── chunk_mp_mapreduce.py │ ├── futures_mapreduce.py │ ├── futures_mapreduce_0.py │ ├── mp_mapreduce.py │ └── mp_mapreduce_0.py └── sec5-all │ ├── chunk_mp_mapreduce.py │ ├── server.py │ └── server_robust.py ├── 04-numpy ├── aurora.jpg ├── manning-logo.png ├── sec1-basics │ ├── generate_figure.sh │ ├── image_processing.py │ └── performance.py ├── sec2-views │ ├── generate_figure.sh │ ├── image_views.py │ └── views.py └── sec3-vectorize │ ├── array_and_broadcasting.py │ ├── average_color.py │ ├── double_wo_overflow.py │ ├── image_ops.py │ └── make_grayscale.py ├── 05-cython ├── filter.png ├── sec2-intro │ ├── add4.pyx │ ├── apply_filter.py │ ├── cyfilter.pyx │ └── test_add4.py ├── sec3-profiling │ ├── apply_filter_lprof.py │ ├── apply_filter_prof.py │ ├── cyfilter_lprof.pyx │ └── cyfilter_prof.pyx ├── sec4-memoryview │ ├── apply_filter_mv.py │ ├── cyfilter_mv.pyx │ └── cyfilter_mv_clean.pyx ├── sec5-ufunc │ ├── apply_filter_uf.py │ └── cyfilter_uf.pyx ├── sec6-quadlife │ ├── cquadlife.pyx │ ├── generate_video.py │ ├── generate_video.sh │ ├── gui.py │ ├── patterns.py │ ├── quad_main.py │ └── suppl │ │ ├── 01-border.png │ │ ├── 01-border.txt │ │ ├── 01-hardware.png │ │ ├── 01-hardware.svg │ │ ├── 01-life.png │ │ ├── 01-life.txt │ │ ├── 01-network.svg │ │ ├── do_image.py │ │ ├── hardware_fig.py │ │ └── network_fig.py ├── sec7-parallel │ ├── cquadlife.pyx │ └── quad_main.py └── support │ └── do_montage.sh ├── 06-hardware ├── sec1-arch │ └── motivation.py ├── sec2-blosc │ └── all_blosc.py └── sec3-numexpr │ └── expressions.py ├── 07-pandas ├── sec1-intro │ └── read_csv.py ├── sec2-speed │ ├── index.py │ └── traversing.py ├── sec3-numpy-numexpr-cython │ ├── traversing.py │ ├── traversing_cython_impl.pyx │ └── traversing_cython_top.py ├── sec4-arrow-intro │ └── read_csv.py └── sec5-arrow-plasma │ ├── compute_stats.py │ ├── list_csvs.py │ ├── load_csv.py │ └── show_results.py ├── 08-persistence ├── sec1-fsspec │ ├── dummy.zip │ └── git_https.py ├── sec2-parquet │ ├── dataset.py │ └── start.py ├── sec3-chunk │ ├── chunking.py │ └── convert.py └── sec4-zarr │ ├── creation.py │ └── load.py ├── 09-gpu ├── sec2-numba │ ├── mandelbrot.py │ └── mandelbrot_numpy.py ├── sec3-real │ ├── mandelbrot.py │ ├── mandelbrot_numpy.py │ └── simple.py └── sec4-cupy │ ├── basic.py │ ├── mandelbrot_c.py │ └── mandelbrot_numba.py ├── 10-dask ├── FY2016-STC-Category-Table.csv ├── sec1-exec │ ├── pandas.py │ └── simple.py ├── sec2-perf │ └── perf.py └── sec3-sche │ ├── arr.py │ ├── basic.py │ └── run.py ├── README.md ├── attic ├── 001-prepare_data.sh ├── 002-convert_to_zarr.py ├── 003-inspect_zarr.py └── 004-MAF.py ├── cover.png └── shared ├── ch3.py └── utilities.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/.gitignore -------------------------------------------------------------------------------- /00-docker/base/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/00-docker/base/Dockerfile -------------------------------------------------------------------------------- /00-docker/dask/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/00-docker/dask/Dockerfile -------------------------------------------------------------------------------- /00-docker/gpu/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/00-docker/gpu/Dockerfile -------------------------------------------------------------------------------- /00-docker/numba/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/00-docker/numba/Dockerfile -------------------------------------------------------------------------------- /02-python/005-lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/005-lists.py -------------------------------------------------------------------------------- /02-python/006-memoization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/006-memoization.py -------------------------------------------------------------------------------- /02-python/sec1-io-cpu/load.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec1-io-cpu/load.py -------------------------------------------------------------------------------- /02-python/sec1-io-cpu/load_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec1-io-cpu/load_cache.py -------------------------------------------------------------------------------- /02-python/sec2-cpu/_prepare_distances.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec2-cpu/_prepare_distances.py -------------------------------------------------------------------------------- /02-python/sec2-cpu/distance_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec2-cpu/distance_cache.py -------------------------------------------------------------------------------- /02-python/sec2-cpu/locations.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec2-cpu/locations.csv -------------------------------------------------------------------------------- /02-python/sec2-cpu/lprofile_distance_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec2-cpu/lprofile_distance_cache.py -------------------------------------------------------------------------------- /02-python/sec3-basic-ds/compute_maf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec3-basic-ds/compute_maf.py -------------------------------------------------------------------------------- /02-python/sec3-basic-ds/exists_temperature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec3-basic-ds/exists_temperature.py -------------------------------------------------------------------------------- /02-python/sec3-basic-ds/id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec3-basic-ds/id.py -------------------------------------------------------------------------------- /02-python/sec3-basic-ds/marray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec3-basic-ds/marray.py -------------------------------------------------------------------------------- /02-python/sec3-basic-ds/shift.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec3-basic-ds/shift.py -------------------------------------------------------------------------------- /02-python/sec3-basic-ds/simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec3-basic-ds/simple.py -------------------------------------------------------------------------------- /02-python/sec4-memory/alloc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec4-memory/alloc.py -------------------------------------------------------------------------------- /02-python/sec4-memory/compute_allocation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec4-memory/compute_allocation.py -------------------------------------------------------------------------------- /02-python/sec4-memory/multi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec4-memory/multi.py -------------------------------------------------------------------------------- /02-python/sec5-lazy/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec5-lazy/generator.py -------------------------------------------------------------------------------- /02-python/sec5-lazy/load_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec5-lazy/load_cache.py -------------------------------------------------------------------------------- /02-python/sec5-lazy/plot_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/02-python/sec5-lazy/plot_generator.py -------------------------------------------------------------------------------- /03-concurrency/sec1-async/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec1-async/client.py -------------------------------------------------------------------------------- /03-concurrency/sec1-async/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec1-async/server.py -------------------------------------------------------------------------------- /03-concurrency/sec1-async/sleep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec1-async/sleep.py -------------------------------------------------------------------------------- /03-concurrency/sec2-naive/naive_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec2-naive/naive_server.py -------------------------------------------------------------------------------- /03-concurrency/sec3-thread/threaded_mapreduce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec3-thread/threaded_mapreduce.py -------------------------------------------------------------------------------- /03-concurrency/sec3-thread/threaded_mapreduce_sync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec3-thread/threaded_mapreduce_sync.py -------------------------------------------------------------------------------- /03-concurrency/sec4-multiprocess/chunk_mp_mapreduce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec4-multiprocess/chunk_mp_mapreduce.py -------------------------------------------------------------------------------- /03-concurrency/sec4-multiprocess/futures_mapreduce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec4-multiprocess/futures_mapreduce.py -------------------------------------------------------------------------------- /03-concurrency/sec4-multiprocess/futures_mapreduce_0.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec4-multiprocess/futures_mapreduce_0.py -------------------------------------------------------------------------------- /03-concurrency/sec4-multiprocess/mp_mapreduce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec4-multiprocess/mp_mapreduce.py -------------------------------------------------------------------------------- /03-concurrency/sec4-multiprocess/mp_mapreduce_0.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec4-multiprocess/mp_mapreduce_0.py -------------------------------------------------------------------------------- /03-concurrency/sec5-all/chunk_mp_mapreduce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec5-all/chunk_mp_mapreduce.py -------------------------------------------------------------------------------- /03-concurrency/sec5-all/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec5-all/server.py -------------------------------------------------------------------------------- /03-concurrency/sec5-all/server_robust.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/03-concurrency/sec5-all/server_robust.py -------------------------------------------------------------------------------- /04-numpy/aurora.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/aurora.jpg -------------------------------------------------------------------------------- /04-numpy/manning-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/manning-logo.png -------------------------------------------------------------------------------- /04-numpy/sec1-basics/generate_figure.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/sec1-basics/generate_figure.sh -------------------------------------------------------------------------------- /04-numpy/sec1-basics/image_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/sec1-basics/image_processing.py -------------------------------------------------------------------------------- /04-numpy/sec1-basics/performance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/sec1-basics/performance.py -------------------------------------------------------------------------------- /04-numpy/sec2-views/generate_figure.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/sec2-views/generate_figure.sh -------------------------------------------------------------------------------- /04-numpy/sec2-views/image_views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/sec2-views/image_views.py -------------------------------------------------------------------------------- /04-numpy/sec2-views/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/sec2-views/views.py -------------------------------------------------------------------------------- /04-numpy/sec3-vectorize/array_and_broadcasting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/sec3-vectorize/array_and_broadcasting.py -------------------------------------------------------------------------------- /04-numpy/sec3-vectorize/average_color.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/sec3-vectorize/average_color.py -------------------------------------------------------------------------------- /04-numpy/sec3-vectorize/double_wo_overflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/sec3-vectorize/double_wo_overflow.py -------------------------------------------------------------------------------- /04-numpy/sec3-vectorize/image_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/sec3-vectorize/image_ops.py -------------------------------------------------------------------------------- /04-numpy/sec3-vectorize/make_grayscale.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/04-numpy/sec3-vectorize/make_grayscale.py -------------------------------------------------------------------------------- /05-cython/filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/filter.png -------------------------------------------------------------------------------- /05-cython/sec2-intro/add4.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec2-intro/add4.pyx -------------------------------------------------------------------------------- /05-cython/sec2-intro/apply_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec2-intro/apply_filter.py -------------------------------------------------------------------------------- /05-cython/sec2-intro/cyfilter.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec2-intro/cyfilter.pyx -------------------------------------------------------------------------------- /05-cython/sec2-intro/test_add4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec2-intro/test_add4.py -------------------------------------------------------------------------------- /05-cython/sec3-profiling/apply_filter_lprof.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec3-profiling/apply_filter_lprof.py -------------------------------------------------------------------------------- /05-cython/sec3-profiling/apply_filter_prof.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec3-profiling/apply_filter_prof.py -------------------------------------------------------------------------------- /05-cython/sec3-profiling/cyfilter_lprof.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec3-profiling/cyfilter_lprof.pyx -------------------------------------------------------------------------------- /05-cython/sec3-profiling/cyfilter_prof.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec3-profiling/cyfilter_prof.pyx -------------------------------------------------------------------------------- /05-cython/sec4-memoryview/apply_filter_mv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec4-memoryview/apply_filter_mv.py -------------------------------------------------------------------------------- /05-cython/sec4-memoryview/cyfilter_mv.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec4-memoryview/cyfilter_mv.pyx -------------------------------------------------------------------------------- /05-cython/sec4-memoryview/cyfilter_mv_clean.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec4-memoryview/cyfilter_mv_clean.pyx -------------------------------------------------------------------------------- /05-cython/sec5-ufunc/apply_filter_uf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec5-ufunc/apply_filter_uf.py -------------------------------------------------------------------------------- /05-cython/sec5-ufunc/cyfilter_uf.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec5-ufunc/cyfilter_uf.pyx -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/cquadlife.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/cquadlife.pyx -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/generate_video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/generate_video.py -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/generate_video.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/generate_video.sh -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/gui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/gui.py -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/patterns.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/patterns.py -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/quad_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/quad_main.py -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/suppl/01-border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/suppl/01-border.png -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/suppl/01-border.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/suppl/01-border.txt -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/suppl/01-hardware.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/suppl/01-hardware.png -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/suppl/01-hardware.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/suppl/01-hardware.svg -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/suppl/01-life.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/suppl/01-life.png -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/suppl/01-life.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/suppl/01-life.txt -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/suppl/01-network.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/suppl/01-network.svg -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/suppl/do_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/suppl/do_image.py -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/suppl/hardware_fig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/suppl/hardware_fig.py -------------------------------------------------------------------------------- /05-cython/sec6-quadlife/suppl/network_fig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec6-quadlife/suppl/network_fig.py -------------------------------------------------------------------------------- /05-cython/sec7-parallel/cquadlife.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec7-parallel/cquadlife.pyx -------------------------------------------------------------------------------- /05-cython/sec7-parallel/quad_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/sec7-parallel/quad_main.py -------------------------------------------------------------------------------- /05-cython/support/do_montage.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/05-cython/support/do_montage.sh -------------------------------------------------------------------------------- /06-hardware/sec1-arch/motivation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/06-hardware/sec1-arch/motivation.py -------------------------------------------------------------------------------- /06-hardware/sec2-blosc/all_blosc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/06-hardware/sec2-blosc/all_blosc.py -------------------------------------------------------------------------------- /06-hardware/sec3-numexpr/expressions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/06-hardware/sec3-numexpr/expressions.py -------------------------------------------------------------------------------- /07-pandas/sec1-intro/read_csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/07-pandas/sec1-intro/read_csv.py -------------------------------------------------------------------------------- /07-pandas/sec2-speed/index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/07-pandas/sec2-speed/index.py -------------------------------------------------------------------------------- /07-pandas/sec2-speed/traversing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/07-pandas/sec2-speed/traversing.py -------------------------------------------------------------------------------- /07-pandas/sec3-numpy-numexpr-cython/traversing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/07-pandas/sec3-numpy-numexpr-cython/traversing.py -------------------------------------------------------------------------------- /07-pandas/sec3-numpy-numexpr-cython/traversing_cython_impl.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/07-pandas/sec3-numpy-numexpr-cython/traversing_cython_impl.pyx -------------------------------------------------------------------------------- /07-pandas/sec3-numpy-numexpr-cython/traversing_cython_top.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/07-pandas/sec3-numpy-numexpr-cython/traversing_cython_top.py -------------------------------------------------------------------------------- /07-pandas/sec4-arrow-intro/read_csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/07-pandas/sec4-arrow-intro/read_csv.py -------------------------------------------------------------------------------- /07-pandas/sec5-arrow-plasma/compute_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/07-pandas/sec5-arrow-plasma/compute_stats.py -------------------------------------------------------------------------------- /07-pandas/sec5-arrow-plasma/list_csvs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/07-pandas/sec5-arrow-plasma/list_csvs.py -------------------------------------------------------------------------------- /07-pandas/sec5-arrow-plasma/load_csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/07-pandas/sec5-arrow-plasma/load_csv.py -------------------------------------------------------------------------------- /07-pandas/sec5-arrow-plasma/show_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/07-pandas/sec5-arrow-plasma/show_results.py -------------------------------------------------------------------------------- /08-persistence/sec1-fsspec/dummy.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/08-persistence/sec1-fsspec/dummy.zip -------------------------------------------------------------------------------- /08-persistence/sec1-fsspec/git_https.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/08-persistence/sec1-fsspec/git_https.py -------------------------------------------------------------------------------- /08-persistence/sec2-parquet/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/08-persistence/sec2-parquet/dataset.py -------------------------------------------------------------------------------- /08-persistence/sec2-parquet/start.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/08-persistence/sec2-parquet/start.py -------------------------------------------------------------------------------- /08-persistence/sec3-chunk/chunking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/08-persistence/sec3-chunk/chunking.py -------------------------------------------------------------------------------- /08-persistence/sec3-chunk/convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/08-persistence/sec3-chunk/convert.py -------------------------------------------------------------------------------- /08-persistence/sec4-zarr/creation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/08-persistence/sec4-zarr/creation.py -------------------------------------------------------------------------------- /08-persistence/sec4-zarr/load.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/08-persistence/sec4-zarr/load.py -------------------------------------------------------------------------------- /09-gpu/sec2-numba/mandelbrot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/09-gpu/sec2-numba/mandelbrot.py -------------------------------------------------------------------------------- /09-gpu/sec2-numba/mandelbrot_numpy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/09-gpu/sec2-numba/mandelbrot_numpy.py -------------------------------------------------------------------------------- /09-gpu/sec3-real/mandelbrot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/09-gpu/sec3-real/mandelbrot.py -------------------------------------------------------------------------------- /09-gpu/sec3-real/mandelbrot_numpy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/09-gpu/sec3-real/mandelbrot_numpy.py -------------------------------------------------------------------------------- /09-gpu/sec3-real/simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/09-gpu/sec3-real/simple.py -------------------------------------------------------------------------------- /09-gpu/sec4-cupy/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/09-gpu/sec4-cupy/basic.py -------------------------------------------------------------------------------- /09-gpu/sec4-cupy/mandelbrot_c.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/09-gpu/sec4-cupy/mandelbrot_c.py -------------------------------------------------------------------------------- /09-gpu/sec4-cupy/mandelbrot_numba.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/09-gpu/sec4-cupy/mandelbrot_numba.py -------------------------------------------------------------------------------- /10-dask/FY2016-STC-Category-Table.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/10-dask/FY2016-STC-Category-Table.csv -------------------------------------------------------------------------------- /10-dask/sec1-exec/pandas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/10-dask/sec1-exec/pandas.py -------------------------------------------------------------------------------- /10-dask/sec1-exec/simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/10-dask/sec1-exec/simple.py -------------------------------------------------------------------------------- /10-dask/sec2-perf/perf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/10-dask/sec2-perf/perf.py -------------------------------------------------------------------------------- /10-dask/sec3-sche/arr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/10-dask/sec3-sche/arr.py -------------------------------------------------------------------------------- /10-dask/sec3-sche/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/10-dask/sec3-sche/basic.py -------------------------------------------------------------------------------- /10-dask/sec3-sche/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/10-dask/sec3-sche/run.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/README.md -------------------------------------------------------------------------------- /attic/001-prepare_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/attic/001-prepare_data.sh -------------------------------------------------------------------------------- /attic/002-convert_to_zarr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/attic/002-convert_to_zarr.py -------------------------------------------------------------------------------- /attic/003-inspect_zarr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/attic/003-inspect_zarr.py -------------------------------------------------------------------------------- /attic/004-MAF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/attic/004-MAF.py -------------------------------------------------------------------------------- /cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/cover.png -------------------------------------------------------------------------------- /shared/ch3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/shared/ch3.py -------------------------------------------------------------------------------- /shared/utilities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiagoantao/python-performance/HEAD/shared/utilities.py --------------------------------------------------------------------------------