Benchee & formatters - easy and extensible (micro) benchmarking

library
benchee
#21

This is why this a bad idea. You’ve edited a real post and now require admins to come undo a prank.

I got Aprils Fools when I was a child. As an adult it seems like a waste of everyone’s time, now to include the forum admins who have to edit the post.

:-1:

Edit: Furthermore, you’ve parked a package on Hex that no one else can use now as a prank. If everyone starts doing this hex will be a wasteland.

This is truly in poor taste

1 Like

#22

Sorry you don’t like this, I didn’t mean to offend anyone with this. It was meant to put a little smile on some peoples face.

I didn’t edit the title of the post, it was done by an admin (I can’t edit it myself and wouldn’t have done so).

Regarding hex, the package remains functional - it’s not anymore a wasteland than people who build something and push it up for fun and then abandon it.

1 Like

#23

That’s something we shouldn’t encourage people to do though and when respected members of the community start to do it, it signals to other people that it’s acceptable.

Just something to keep in mind.

Ninja Edit: You’re right though. There is a lot of abandoned packages and placeholders. It’s something we should actively work to fight against. I’m the first to comment on posts of threads in which people advocate parking names or pushing up empty/useless packages.

1 Like

#24

I fell for it as well and changed the title of the thread to reflect the ‘new’ name :icon_redface: have reverted the changes.

It would be good to free-up the Hex name in case someone has a use for it.

4 Likes

#25

I wonder if there are any policies in place to deal with unused packages?

0 Likes

#26

In a time, long, long ago (maybe 1-2 years now?) I believe Eric actually went through Hex and booted off empty and abandoned packages. I’m not sure it’s actively enforced.

But it’s a real problem. I came across a blog post last week that was just the author encouraging people to push up Hex packages with hello world in them. :cold_sweat:

2 Likes

#27

Wow hat sounds bad :frowning:

I just checked and there’s no way in the API that let’s you delete a package. You can only “retire” package versions that shouldn’t be used anymore. But they’re still available.

I mean, I guess it’s good to avoid a “left_pad”-situation… but maybe if a package has all its versions retired and they have 0 “recent” downloads" maybe then a package can be fully retired and the namespace reclaimed?

edit: Also thanks @AstonJ and sorry - I really didn’t wanna full anyone :icon_redface:

0 Likes

#28

I didn’t want to be the first to say it, but I agree. Claiming a name on hex is bad. You should have been sure that it could be reversed before publishing it.

Regarding the prank, you should never assume people will see through a prank on the internet, especially when such people might come from a completely different culture or have a poor grasp of the language you’ve written in (I’m not saying any of these was at play here, this is just a general admonition).

In my opinion (and this is a very subjective topic), a new forum tolic would have been acceptable, as would have been a new github repo, but claiming a hex package name is in really bad taste. Changing the title of the topic was also kinda bad, but I can see it wasn’t your fault.

These kinds of pranks only work well in a broadband communication channel (like communication in real life) in a relatively homogeneous community. Communication through text with strangers on he internet is as far from the above as you can get…

1 Like

#29

No problem about the title Toby - I was in ‘auto’ mode so didn’t really pay any more attention than I felt I had to.

I wonder if it’s is worth bringing the wider issue - of unused or ‘throwaway’ uses of Hex - to the attention of @ericmj - Eric, we can split this into a dedicated thread or start a new one if you think it’s worth discussing further?

1 Like

#30

Parking names or package squatting is against the code of conduct so if you notice it please let us know at support@hex.pm. The bunny package does not break this rule since it has functionality.

Unused or abandoned packages will always stay on hex.pm because there is no way of knowing if they are in fact unused in reality. We have never gone through and deleted unused packages, but we may delete packages with no functionality or with only “hello word” because they are against the squatting policy.

You can take over the name of an abandoned package but all old versions will remain and can only publish new versions.

4 Likes

#31

benchee 0.13.0 is finally released and ready for you to try out brand new memory measurements :wink: changelog

4 Likes

#32

And 0.13.1 is live for your pleasure - includes fixes to memory measurements that were exposed by @michalmuskala! Fun stuff like you know, heap_size in the garbage collection information isn’t actually the heap size but the size of the young generation apparently. Anyhow, we’re happy if more people try out memory measurements and break them.

Changelog

3 Likes

#33

And 0.14.0 is finally live for your pleasure! The major feature is drastically increased precision when measuring: from microseconds to nanoseconds! There’s a blog post showing off the most important changes but you can also check out the Changelog with all the changes.

6 Likes

#34

It has its own thread but I think it’s worth mentioning here as well: benchee_markdown - the first formatter not written by me/benchee maintainers which makes me very happy because that’s what I always wanted. :slight_smile:

Also we’re gearing up for 1.0 (finally!) - stay tuned :sunglasses: Not too many changes incoming but more the promise of a stable API/data structure until 2.0 which is hopefully a long way off.

As a preparation of this and showcasing that benchee is a project many people contribute to (be it code, reviews, input etc. @devonestes @wasnotrice or “just” ideas, testing and help with a lot of the really hard stuff or the occassional emoji react so one knows something is a good idea @OvermindDL1 @michalmuskala) benchee and related libraries were moved to https://github.com/bencheeorg :slight_smile: Other good side effect, people other than myself (namely devon and eric so far) can add people manage things etc.

@mods / @AstonJ / ??? could we maybe rename this thread to just be “benchee & formatters - easy and extensible (micro) benchmarking”, because I mean there’s benchee_html, benchee_json we could also name them all in the title but that’d get long and just having benchee/benchee_csv there seems kinda irritating :slight_smile:

3 Likes

#35

So here is what was promised! Benchee 0.99 and 1.0 (along with all plugins) are a reality :tada: :tada::tada:

There aren’t many super hardcore new features, except for showing the absolute difference in the average of measurements to help arguments & informed decisions. Otherwise it’s some polish, documentation, house keeping etc.

0.99 introduces a bunch of deprecation warnings, when you eliminate them you should be good to upgrade to 1.0.

Changelog
Blog Post

I also want to thank everyone here for their input etc :green_heart:

Happy benchmarking

8 Likes