Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
agilob@programming.dev to Java@programming.dev · 2 years ago

Java is Very Fast, If You Don’t Create Many Objects

blog.vanillajava.blog

external-link
message-square
22
fedilink
37
external-link

Java is Very Fast, If You Don’t Create Many Objects

blog.vanillajava.blog

agilob@programming.dev to Java@programming.dev · 2 years ago
message-square
22
fedilink
You still have to watch how many objects you create. This article looks at a benchmark passing events over TCP/IP at 4 billion events per ...
  • FriendOfFalcons@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    I’m not so sure if the JVM startup was the culprit in your situation. The Computer Language Benchmarks Game shows that even for short runtimes, the startup doesn’t affect their performance numbers that much

    • Aloso@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      That link just compares benchmarks with and without warmup, but not without startup. The JVM’s startup can take upwards of 2 seconds, depending on the program.

      • FriendOfFalcons@kbin.social
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        Oh, I’m dumb. Thanks for clearing this up :)

Java@programming.dev

java@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: !java@programming.dev

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

Visibility: Public
globe

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

  • 17 users / day
  • 17 users / week
  • 17 users / month
  • 141 users / 6 months
  • 9 local subscribers
  • 1.75K subscribers
  • 210 Posts
  • 327 Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • JackbyDev@programming.dev
  • Tom@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org