Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4240656
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:11:41+00:00 2026-05-21T03:11:41+00:00

I am currently doing some performance tests on Hibernate / Hibernate.Search with Lucene in

  • 0

I am currently doing some performance tests on Hibernate / Hibernate.Search with Lucene in Java and the pendent in C#. Currently I am using the newest releases of both versions.

I had some interesting results in the tests but what i am now doing is to find some performance tests or better some explanation of possible performance differences in both languages.

For example: What I know is that generics in C# are more efficient because they don’t use boxing at runtime because they are type-safe. Furthermore two different Lists with referenced types can share the JIT-Code in C#. So in C# there is now boxing-overhead. (knowledge came from this article)

This is an example I searched for.

But I would like to know if there are more differences in those two language that could cause performance differences. But I need some references as well, since these test will be summarised in a scientific paper.

I have found many papers / books about differences, but not much about performance differences in specific shared features of those two languages.

But important to say is that I am not just searching for some tests that are made but also deeper explanations why one languages is faster than the other in that feature.

Thanks for any hints and help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T03:11:42+00:00Added an answer on May 21, 2026 at 3:11 am

    C# language contains many more abstractions and that, theoretically, can make the compiler/plataform understand more what the programmer wants, and then apply more optimizations, like the one you mentioned about statically type-safe generics.

    On the other hand, platform maturity is very important. JVM is usually much faster than .NET runtime because garbage collection and optimization are much more sophisticated and evolved in Java than in .NET, as of today. Even in the absense of good language abstractions, a platform can identify program patterns and optimize accordingly.

    But because they are similar in nature and use similar architectures, when deciding between C# or Java, performance is a very small issue. Normally when one have performance problems, he/she can select other algorithms, perform tunning or simply use better hardware.

    If you want to write a paper about language performance, I suggest you include C++ and talk about code optimization to better use hardware resources (such as special instructions), because these is what produce top performance today. Libraries can have assembly-crafted routines to squeeze CPU for some mass data operations. Interpreted languages can make more load-specific and hardware-specific optimizations, but that said, the remaining optimizations are pretty much the ones of static code analysis.

    http://en.wikipedia.org/wiki/Program_optimization

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am doing some performance critical work in C++, and we are currently using
I am doing some performance tests of a HTML stripper (written in java), that
I'm currently doing some testing to determine the performance implications of including an index
We're currently looking into doing some performance tweaking on a website which relies heavily
I'm currently doing some performance testing with the free pastry DHT. Freepastry is an
I am currently doing some research in using PhoneGap instead of write different code
I'm currently doing some last-measure optimizations, mostly for fun and learning, and discovered something
I am currently doing some network programming and had a couple questions concerning timeouts.
I am currently doing some kind of reporting system.the figures, tables, graphs are all
I am doing some PloneFormGen work. Currently PloneFormGen stores entered form entries internally as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.