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

pfalcon / micropython / 1148
97%
master: 98%

Build:
Build:
LAST BUILD BRANCH: pfalcon
DEFAULT BRANCH: master
Ran 29 Dec 2017 08:00AM UTC
Jobs 1
Files 227
Run time 9s
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

pending completion
1148

push

travis-ci

pfalcon
py/objstr: Add MICROPY_PREFER_QSTRS option.

Check whether an interned string (qstr) is already available when allocating
strings in most cases. This *can* save heap, but *makes* string allocation
noticeably slower.

This addresses deficiencies introduced in 8d956c26d15, 1f1d5194d775. More
details are at
https://github.com/micropython/micropython/issues/3376#issuecomment-346254960 :

> One idea I had was to simply iterate over all qstrs and use
> mp_load_method_maybe() to check if that qstr is available in the object.
> ...
> But it is noticeable on slow MCUs: the microbit runs at 16MHz and using the
> qstr iteration makes pressing "tab" at a bare prompt quite slow, around
> 150-200ms slow.

I.e. it's considered not normal to have latency 150-200ms for interactive
use, but normal to have delay of that order when creating any string
programmatically.

17511 of 17812 relevant lines covered (98.31%)

311900.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1148.1 29 Dec 2017 08:00AM UTC 0
98.31
Travis Job 1148.1
Source Files on build 1148
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1148
  • 4f356c05 on github
  • Prev Build on pfalcon (#1145)
  • Next Build on pfalcon (#1150)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc