Skip to content

Instantly share code, notes, and snippets.

View typesupply's full-sized avatar

Tal Leming typesupply

View GitHub Profile
@typesupply
typesupply / speed.py
Last active June 14, 2018 17:30 — forked from typemytype/quick_ufoLibTest.py
Test for ufoLib validation and speed improvements.
"""
This compares the speed of experimental changes in ufoLib
with the experimental ufoLib in fontTools. This requires the
"Roboto-Regular.ufo" font to be located next to this script.
"""
import os
import shutil
import timeit
import cProfile
import sys
sys.path.insert(0, '/Users/frederik/Downloads/fonttools-ufoLib/Lib')
import os
import shutil
import ufoLib
from fontTools.pens.basePen import NullPen
import sys
sys.path.insert(0, '/Users/frederik/Downloads/fonttools-ufoLib/Lib')
import os
import shutil
import ufoLib
from fontTools.pens.basePen import NullPen