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

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

blog.vanillajava.blog

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

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

blog.vanillajava.blog

agilob to Java · 2 years ago
message-square
22
link
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
      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

java

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: [email protected]

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.

  • 1 user / day
  • 30 users / week
  • 43 users / month
  • 122 users / 6 months
  • 443 local subscribers
  • 1.68K subscribers
  • 200 Posts
  • 324 Comments
  • Modlog
  • mods:
  • Ategon
  • JackbyDev
  • Tom
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org