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

pfalcon / micropython / 1150
97%
master: 98%

Build:
Build:
LAST BUILD BRANCH: pfalcon
DEFAULT BRANCH: master
Ran 03 Jan 2018 09:37PM UTC
Jobs 1
Files 227
Run time 10s
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
1150

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.

17513 of 17814 relevant lines covered (98.31%)

311061.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1150.1 03 Jan 2018 09:37PM UTC 0
98.31
Travis Job 1150.1
Source Files on build 1150
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1150
  • 6119f83a on github
  • Prev Build on pfalcon (#1148)
  • Next Build on pfalcon (#1151)
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