• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

edx / opaque-keys
97%
master: 96%

Build:
Build:
LAST BUILD BRANCH: jawayria/github-ci
DEFAULT BRANCH: master
Repo Added 29 May 2014 05:25PM UTC
Files 34
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH ormsbee/reapply_optimizations
branch: ormsbee/reapply_optimizations
CHANGE BRANCH
x
Reset
  • ormsbee/reapply_optimizations
  • 0.1.1
  • 0.1.2
  • 0.2.0
  • 0.2.1
  • 0.3.0
  • 0.3.1
  • 0.3.2
  • 0.3.3
  • 0.3.4
  • 0.4.0
  • 0.4.1
  • 0.4.2
  • 0.4.3
  • 0.4.4
  • 1.0.0
  • 1.0.1
  • 2.0.0
  • 2.0.1
  • 2.0.2
  • 2.1.0
  • 2.1.1
  • 2.2.0
  • 2.2.1
  • 2.2.2
  • 2to3
  • BOM-1017
  • BOM-1017-Upgrade
  • BOM-1843-ddt
  • Jawayria/upgrade-python-requirements
  • add-openedx-yaml
  • adding-common-constraint
  • aed/django-fields
  • aj/tnl2435-fix-studio-studio-schedule-details-broken-page
  • awais786/BOM-1017
  • awais786/testing
  • bug/old_namespaces
  • cale-password-change-test
  • cale/fix-password
  • clintonb/cleanup
  • clintonb/comparison-logging
  • clintonb/py35-test
  • clintonb/pylint-cleanup
  • clintonb/python3
  • clintonb/test-export
  • clintonb/update-version
  • dependabot/pip/requirements/bleach-3.3.0
  • dependabot/pip/requirements/django-2.2.20
  • deprecation-warnings-removal
  • dhm/asset_charset
  • dhm/copy_identity
  • dhm/deprecated
  • dhm/kill_package_id
  • dhm/readme
  • diana/add-tests-back
  • django30_warnings
  • e0d/update-version
  • enable-warnings
  • feanil/docs_ci
  • flowerhack/explicit-course-run
  • flowerhack/fix-asset-usage-key-makers
  • flowerhack/merge-ssck-and-cl
  • hassan/catch-unicode-encode-error
  • hassan/fix-unicode-error
  • jenkins/cleanup-python-code-1267a00
  • jenkins/cleanup-python-code-c19ac6f
  • jenkins/cleanup-python-code-f218850
  • jenkins/upgrade-python-requirements-0283c95
  • jenkins/upgrade-python-requirements-085963d
  • jenkins/upgrade-python-requirements-0c7ab7d
  • jenkins/upgrade-python-requirements-1054452
  • jenkins/upgrade-python-requirements-10b6c5b
  • jenkins/upgrade-python-requirements-177e355
  • jenkins/upgrade-python-requirements-243fe18
  • jenkins/upgrade-python-requirements-25931eb
  • jenkins/upgrade-python-requirements-2a22e59
  • jenkins/upgrade-python-requirements-2c13b3c
  • jenkins/upgrade-python-requirements-2ceb0b7
  • jenkins/upgrade-python-requirements-342e0bf
  • jenkins/upgrade-python-requirements-345db2a
  • jenkins/upgrade-python-requirements-3a1f581
  • jenkins/upgrade-python-requirements-3b06dd2
  • jenkins/upgrade-python-requirements-3b51d3b
  • jenkins/upgrade-python-requirements-3bdd137
  • jenkins/upgrade-python-requirements-3d59e24
  • jenkins/upgrade-python-requirements-40237af
  • jenkins/upgrade-python-requirements-509643b
  • jenkins/upgrade-python-requirements-57fa569
  • jenkins/upgrade-python-requirements-615c2b9
  • jenkins/upgrade-python-requirements-63b9ef8
  • jenkins/upgrade-python-requirements-696ea67
  • jenkins/upgrade-python-requirements-6c63a44
  • jenkins/upgrade-python-requirements-6fe5254
  • jenkins/upgrade-python-requirements-71d42b9
  • jenkins/upgrade-python-requirements-7b11273
  • jenkins/upgrade-python-requirements-818153a
  • jenkins/upgrade-python-requirements-8e309ee
  • jenkins/upgrade-python-requirements-93228af
  • jenkins/upgrade-python-requirements-9ee2d50
  • jenkins/upgrade-python-requirements-a14022f
  • jenkins/upgrade-python-requirements-aa33eb1
  • jenkins/upgrade-python-requirements-acd1b90
  • jenkins/upgrade-python-requirements-c19ac6f
  • jenkins/upgrade-python-requirements-c805a41
  • jenkins/upgrade-python-requirements-cd7cab6
  • jenkins/upgrade-python-requirements-da43387
  • jenkins/upgrade-python-requirements-dbc3fdf
  • jenkins/upgrade-python-requirements-dda80c5
  • jenkins/upgrade-python-requirements-e526534
  • jenkins/upgrade-python-requirements-e5d6f9b
  • jenkins/upgrade-python-requirements-e63b9f9
  • jenkins/upgrade-python-requirements-ec41f7c
  • jenkins/upgrade-python-requirements-f1d036a
  • jenkins/upgrade-python-requirements-f218850
  • jenkins/upgrade-python-requirements-f90e5fd
  • jenkins/upgrade-python-requirements-ff12bf2
  • jeskew/test_course_with_trailing_newline
  • jeskew/update_changelog_0_3_4
  • jmbowman/OEP-7
  • jmbowman/PLAT-1885
  • jmbowman/PLAT-2066
  • juliasq/bump_version_post_upgrade_requirements
  • master
  • mathewpeterson/add-more-deprecation
  • mathewpeterson/replace-deprecation-passing
  • mikix/depr-16
  • mikix/prep-1.0
  • moving-djangopin
  • ned/trove-classifiers
  • nedbat/fix-190
  • nedbat/fix-find-packages
  • ormsbee/add_subpackage_to_setup
  • ormsbee/revert_caching
  • ormsbee/str_key
  • ormsbee/version_bump
  • pylint-handle-multiline-violations
  • pytests
  • requirements-fix
  • revert-84-ormsbee/reapply_optimizations
  • robrap/constrain-ddt
  • sarina/adjust-coverage
  • sarina/deprecation-warnings
  • sarina/fix-version-call
  • sarina/handle-old-new-keys-transparently
  • sarina/merge-locators-locations
  • sarina/update-deprecation-warnings
  • sarina/upgrade-pylint
  • sarina/warnings-filter
  • setup-doc-build
  • timmc/drop-py27
  • timmc/fix-make-upgrade
  • timmc/fix-requirements
  • timmc/restore-extras
  • usamasadiq/bom-2548-add-common-constraints
  • usamasadiq/pin-importlib-metadata
  • usamasadiq/pin-pytest-django
  • usamasadiq/remove-constraints
  • usamasadiq/unpin-importlib-metadata
  • youngstrom/adjust-hypothesis-code
  • zub/ENT-211-add-aggregate-course-key
  • zulqarnain/BOM-1538

pending completion
748

push

travis-ci

ormsbee
Optimize equality, hashing, serialization.

* Cache from_string() inputs so we create fewer OpaqueKeys.
* Locally cache the hash and serialized form on the individual keys.
* Use object identity and hash values to short circuit equality checks
  for common patterns.

These optimizations were first introduced in 0.3.2, but had to be
rolled back because doing direct assignment to an OpaqueKey's _unicode
attribute from the serialized string passed to OpaqueKey.from_string
caused issues with trailing newlines.

2140 of 2213 relevant lines covered (96.7%)

0.97 hits per line

Relevant lines Covered
Build:
Build:
2213 RELEVANT LINES 2140 COVERED LINES
0.97 HITS PER LINE
Source Files on ormsbee/reapply_optimizations
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
748 ormsbee/reapply_optimizations Optimize equality, hashing, serialization. * Cache from_string() inputs so we create fewer OpaqueKeys. * Locally cache the hash and serialized form on the individual keys. * Use object identity and hash values to short circuit equality checks f... push 27 Jan 2017 04:26PM UTC ormsbee travis-ci pending completion  
746 ormsbee/reapply_optimizations Optimize equality, hashing, serialization. * Cache from_string() inputs so we create fewer OpaqueKeys. * Locally cache the hash and serialized form on the individual keys. * Use object identity and hash values to short circuit equality checks f... push 27 Jan 2017 04:21PM UTC ormsbee travis-ci pending completion  
744 ormsbee/reapply_optimizations fixup: changelog and redundant imports push 27 Jan 2017 04:34AM UTC ormsbee travis-ci pending completion  
See All Builds (929)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc