Skip to content

Instantly share code, notes, and snippets.

View DrAlbedo's full-sized avatar
🎯
Focusing

Dr Albedo DrAlbedo

🎯
Focusing
  • UoE | Ravenclaw | Sumeru Akademiya
  • New Eridu | Teyvat
View GitHub Profile
@DrAlbedo
DrAlbedo / numpy-benchmark.py
Created April 22, 2021 17:44 — forked from markus-beuckelmann/numpy-benchmark.py
A short Python script to benchmark NumPy and show your BLAS setup
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# Roughly based on: http://stackoverflow.com/questions/11443302/compiling-numpy-with-openblas-integration
from __future__ import print_function
import numpy as np
from time import time