haskman, to javascript
@haskman@functional.cafe avatar

Since the #Moonbit #JavaScript backend post (https://www.moonbitlang.com/blog/js-support) is trending, I thought I'd compare #PureScript backend optimizer (https://github.com/aristanetworks/purescript-backend-optimizer) output to see how it fares. The results were pretty good!

With basically this PureScript code -

run = fromArray  
 >>> flatMapF (fromArray <<< _.members)  
 >>> filterF _.gender  
 >>> mapF (\x -> min 100 (x.score + 5))  
 >>> mapF grade  
 >>> filterF (_ == 'A')  
 >>> foldF (\_ x -> x+1) 0  

the benchmark results are as follows. PureScript is roughly 6x faster than plain JS, and 6x slower than Moonbit output ( -

┌─────────┬──────────────┬─────────────┬────────────────────┬──────────┬─────────┐  
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │  
├─────────┼──────────────┼─────────────┼────────────────────┼──────────┼─────────┤  
│ 0 │ 'Moonbit' │ '34,67,542' │ 288.38869989829305 │ '±0.06%' │ 1733772 │  
│ 1 │ 'Plain Js' │ '74,816' │ 13365.983827421464 │ '±0.54%' │ 37409 │  
│ 2 │ 'Kotlin Js' │ '1,90,241' │ 5256.474017304151 │ '±0.38%' │ 95121 │  
│ 3 │ 'PureScript' │ '4,99,456' │ 2002.1768597161156 │ '±0.70%' │ 249729 │  
└─────────┴──────────────┴─────────────┴────────────────────┴──────────┴─────────┘  

#FunctionalProgramming #Frontend #Benchmarks

ErikJonker, to ai Dutch
@ErikJonker@mastodon.social avatar

NYTimes makes a good point (giftlink ): A.I. Has a Measurement Problem
A.I. Has a Measurement Problem https://www.nytimes.com/2024/04/15/technology/ai-models-measurement.html?unlocked_article_code=1.kk0.oMBm.397ORl_r-8Tq

SomeGadgetGuy, to tech
@SomeGadgetGuy@techhub.social avatar

MAJOR update to my benchmark and test charts!
https://www.patreon.com/posts/xiaomi-14-galaxy-99340774

Adding the Xiaomi 14, Vivo V30 Pro, and the Galaxy S24 Ultra!
Full run down on synthetic benchmarks, video editing, podcast mixing, photo processing and file compression tests. Let's see how these phones REALLY compare using actual apps for work!

hankg, to intel

Intel: “Was that wrong? Should we not have done that?” #intel #hardware #benchmarks
Intel accused of inflating CPU benchmark results

hankg, to Flutter

An interesting article on benchmarks that shows Dart is by no means the fastest but holds its own fine among the major languages. I have an implementation of the 1brc that I need to share. Sadly in that case the best I could get was as fast as Java single threaded. #DartLang #flutter #programming #benchmarks
How fast is your programming language? New contest and benchmarks spark debate • DEVCLASS

drahardja, (edited ) to iOS
@drahardja@sfba.social avatar

I finally have benchmarks for Mergeable Libraries! Here are the results on my iPhone 14 Pro. I took app startup measurements with 0–100 small frameworks in three batches: plain old dynamic frameworks, directly merged dynamic frameworks, and using one intermediate framework to merge the frameworks. See the results for yourself. The second image is a close-up near the origin.

The results are measured from the time the app begins running (the process is created) to just before the UIKit initialization signpost. Process creation time varies wildly, but typically ranges from 100–400 ms.

Blog post here: https://www.humancode.us/2024/01/02/measuring-mergeable-libraries.html

EDIT: Added measurement using static frameworks instead of dynamic.

#ios #iPhone #Xcode #performance #benchmarks

drahardja,
@drahardja@sfba.social avatar

Full blog post is here: “Measuring the performance of mergeable libraries in iOS apps”

#ios #iPhone #Xcode #performance #benchmarks

https://www.humancode.us/2024/01/02/measuring-mergeable-libraries.html

Linux, to linux
@Linux@linuxrocks.online avatar

::: Linux vs. Windows in 10 games - Linux 17% faster on average :afire:

Times have changed have they not :thinkergunsunglasses:

With macOS seemingly dropping out of the gaming field altogether & Linux only rising - where might Linux be in couple of years? :thinkhappy:

=> https://video.hardlimit.com/w/uZGK12oU5FeSsy8CDLP4hD

#Linux #vs #Windows #benchmarks #Peertube #performance #gaming @cosmic_happiness

ErikJonker, to ai
@ErikJonker@mastodon.social avatar

GPT-Fathom an Interesting paper on the development path of LLMs , it shows that new versions of models can be worse on some aspects while improving on others. Also there are differences between webversions and API versions.
#AI #LLM #GPT #GenerativeAI #Benchmarks
https://paperswithcode.com/paper/gpt-fathom-benchmarking-large-language-models

pauldoo, to linux
@pauldoo@mastodon.scot avatar

Looking for a more powerful version of the ‘time’ tool on #Linux. Any suggestions?
I’m doing some simple #Benchmarks that I’m driving from a shell script. The ‘time’ command is a cheap and easy starting point but I’d love to be able to measure in more detail including total IO (in bytes, not IO count like ‘time’ does) and peak filesystem space usage. I suspect some of this could be figured out using ‘strace’ logs, but that would need a bit more work.

ameo, to machinelearning
@ameo@mastodon.ameo.dev avatar

Did some #machinelearning
#benchmarks on my 7900 XTX GPU and wrote up notes: https://cprimozic.net/notes/posts/machine-learning-benchmarks-on-the-7900-xtx/

TL;DR performance on AMD GPUs is pretty bad, but it's likely a software issue.

I tested the raw hardware using some scripts from #tinygrad, and the raw FLOPS are excellent.

josephsalmon, to random
@josephsalmon@sigmoid.social avatar

The amount of benchmarks available in benchopt going ↗️ :

https://benchopt.github.io/

Feel free to mention new problems you would like to address, we would love to hear form you!

Interested in helping the optimization community to provide fair comparisons between solvers? Join us on github:

https://github.com/benchopt/benchopt

#benchopt #benchmarks #optimization

Great work with @tommoral @mathusmassias @agramfort @pablin @vaiter @tomdlt @jolars @matdag and many more.

futurebird, to random
@futurebird@sauropods.win avatar

Is there anyone serious who is saying this? Or is this just another way to make the tech seem more powerful than it is?

I don't get this "we're all gonna die" thing at all.

I do get the "we are too disorganized and greedy to integrate new technology well without the economy getting screwed up and people suffering... but that's another matter..."

hobs,
@hobs@mstdn.social avatar

@msh
Not true. All the say otherwise. You have to look past the hyped to the bread and butter BERT and BART models, but the trend is undeniable:

https://paperswithcode.com/area/natural-language-processing

You name an NLP problem and there's an LLM that is now better at it than the average human. Not so 2 yrs ago. Times they are a change'n.
@futurebird

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines