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

NextThought / nti.externalization
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 2.3.0
DEFAULT BRANCH: master
Repo Added 15 Sep 2017 02:15PM UTC
Files 61
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 faster_removeAllProxies
branch: faster_removeAllProxies
CHANGE BRANCH
x
Reset
  • faster_removeAllProxies
  • 1.0.0
  • 1.0.0a1
  • 1.0.0a10
  • 1.0.0a11
  • 1.0.0a12
  • 1.0.0a13
  • 1.0.0a14
  • 1.0.0a8
  • 1.0.0a9
  • 1.1.0
  • 1.1.1
  • 1.1.2
  • 1.1.3
  • 2.0.0
  • 2.1.0
  • 2.3.0
  • auto-anon-dict-fields
  • benchmarks
  • better-anon-fallback
  • dep-updates
  • deprecated-imports
  • drop-object-hook
  • eid-persistent-allowed
  • externalize-fraction
  • factory
  • feature/EID-allow-non-str
  • feature/call-adapters
  • fix-sphinx-doctests
  • gha
  • import-sorts
  • issue102
  • issue104
  • issue105
  • issue109
  • issue111
  • issue117
  • issue16
  • issue21
  • issue23
  • issue27
  • issue28
  • issue30
  • issue33
  • issue35
  • issue43
  • issue48
  • issue51
  • issue52
  • issue52-refactor
  • issue52-refactor-ext
  • issue59
  • issue60
  • issue63
  • issue64
  • issue67-clean
  • issue73
  • issue73-2
  • issue90
  • issue92
  • issue94
  • issue97
  • lint
  • locateddict-fixes
  • master
  • nopickle-persistent
  • persistent44
  • prefs
  • premature-optimization
  • require-updater-anon
  • set-primitive_out_ivar
  • state-is-maintained-recursion-error
  • tighter-anon-dict
  • unicode-field-names
  • will-update-events
  • zcml-factory
  • zope-interface5

pending completion
60

push

travis-ci

jamadden
Drop hard dependency on Acquisition and speed up removeAllProxies

Acquisition is still used if available, and is still a test
dependency, but it is not a hard installation dependency anymore.

The function proxy.removeAllProxies is called typically at least twice
for every object we externalize (when getting oids), making its speed
important. The function was naievly written and quite slow.

For a deeply wrapped object (10 layers of proxies), the new
implementation is roughly 2.9x faster (16.9s vs 6.0s). For (the common
case of) an object with no wrapper, it's about 2.2x faster (2.23s vs
1.05s). (All numbers in CPython 2.7.)

3501 of 3501 relevant lines covered (100.0%)

4.0 hits per line

Relevant lines Covered
Build:
Build:
3501 RELEVANT LINES 3501 COVERED LINES
4.0 HITS PER LINE
Source Files on faster_removeAllProxies
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
60 faster_removeAllProxies Drop hard dependency on Acquisition and speed up removeAllProxies Acquisition is still used if available, and is still a test dependency, but it is not a hard installation dependency anymore. The function proxy.removeAllProxies is called typical... push 28 Sep 2017 11:19PM UTC jamadden travis-ci pending completion  
See All Builds (371)
  • 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