Linux.Community
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
petsoi@discuss.tchncs.de
cake
to Linux@programming.dev · 5 months ago

Measuring code size and performance

nibblestew.blogspot.com

external-link
message-square
3
link
fedilink
21
external-link

Measuring code size and performance

nibblestew.blogspot.com

petsoi@discuss.tchncs.de
cake
to Linux@programming.dev · 5 months ago
message-square
3
link
fedilink
Are exceptions faster and/or bloatier than using error codes? Well... The traditional wisdom is that exceptions are faster when not taken, s...
alert-triangle
You must log in or register to comment.
  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    7
    ·
    5 months ago

    Uhm… You went to all that effort and then didn’t actually answer the question! Can you put the data in a readable format so we can see whether using exceptions made a difference?

    • petsoi@discuss.tchncs.de
      cake
      OP
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      Do you mean the files in the repo? https://github.com/jpakkane/codesize

      • FizzyOrange@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        5 months ago

        I mean the bar charts are not useful for deciding whether or not each parameter makes a difference. You need to plot e.g. the speed difference turning on exceptions makes in each case. Maybe use some colour coding and line styles to group other attributes.

Linux@programming.dev

linux@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@programming.dev

A community for everything relating to the GNU/Linux operating system

Also check out:

  • !linux_memes@programming.dev
  • !linuxphones@lemmy.ca

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 556 users / day
  • 1.54K users / week
  • 2.83K users / month
  • 7.62K users / 6 months
  • 7 local subscribers
  • 7.79K subscribers
  • 1.37K Posts
  • 10.4K Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • adr1an@programming.dev
  • dwraf_of_ignorance@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org