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

mgreter / libsass / 2394
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: move-ci-from-travis-to-github-actions
DEFAULT BRANCH: master
Ran 15 Jan 2017 10:17AM UTC
Jobs 2
Files 105
Run time 5min
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
2394

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 static. We
have to produce the list of the classes that are not final
by hand. It turned out the 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!

12396 of 14779 relevant lines covered (83.88%)

1050805.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2394.1 (AUTOTOOLS=no COVERAGE=yes BUILD=static) 15 Jan 2017 10:17AM UTC 0
84.1
Travis Job 2394.1
3 2394.3 (AUTOTOOLS=no COVERAGE=yes BUILD=static) 15 Jan 2017 10:23AM UTC 0
83.79
Travis Job 2394.3
Source Files on build 2394
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2394
  • 3145906c on github
  • Prev Build on refactor/cleanup-shared-ptr (#2393)
  • Next Build on refactor/cleanup-shared-ptr (#2395)
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