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

mgreter / libsass / 2397 / 1
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: move-ci-from-travis-to-github-actions
DEFAULT BRANCH: master
Ran 15 Jan 2017 10:40AM UTC
Files 105
Run time 4s
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

15 Jan 2017 10:30AM UTC coverage: 84.101%. Remained the same
AUTOTOOLS=no COVERAGE=yes BUILD=static

push

travis-ci

mgreter
Add fast casting for classes that are final

Cleaning up a few static casts on they way.

Due to the new unified way to cast nodes, we can now
easily introduce a way to have a faster up-casting for
classes we know are final. This is done in a centralized
way. You simply keep calling `Cast` to up-cast to a more
specific type. The compiler will automatically choose the
faster type-id check, if the involving class is final. We
have to produce the list of the classes that act as bases
by hand. It turned out to be the much shorter list than
listing all final classes. Maybe the compiler could deduce
this information from a final keyword on the class, but his
approach seems safe and accomplishes the job either way.

FTR: Performance profiling showed that dynamic cast can
take up around 20% of the whole runtime. So having faster
casts for classes we now are safe seems to be a good thing.
Having its configuration centralized makes it also very
easy to maintain and regular code does not need to worry!

10865 of 12919 relevant lines covered (84.1%)

591920.47 hits per line

Source Files on job 2397.1 (AUTOTOOLS=no COVERAGE=yes BUILD=static)
  • Tree
  • List 0
  • Changed 18
  • Source Changed 0
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2397
  • Travis Job 2397.1
  • 207ac1e5 on github
  • Prev Job for AUTOTOOLS=no COVERAGE=yes BUILD=static on refactor/cleanup-shared-ptr (#2395.1)
  • Next Job for AUTOTOOLS=no COVERAGE=yes BUILD=static on refactor/cleanup-shared-ptr (#2401.3)
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

© 2026 Coveralls, Inc