Conference paper (in proceedings)

Java Vector API : benchmarking and performance analysis

  • Basso, Matteo Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
  • Rosà, Andrea Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
  • Omini, Luca Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
  • Binder, Walter ORCID Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
Show more…
  • 2023
Published in:
  • CC 2023: Proceedings of the 32nd ACM SIGPLAN International Conference on Compiler Construction. - New York : Association for Computing Machinery. - 2023, p. 1-12
English The Java Vector API is a new module introduced in Java 16, allowing developers to concisely express vector computations. The API promises both high performance, achieved via the runtime compilation of vector operations to hardware vector instructions, and portability. To the best of our knowledge, there is no study evaluating the performance of the new Java Vector API. To bridge this gap, we propose JVBench, to the best of our knowledge, the first open-source benchmark suite for the Java Vector API. JVBench extensively exercises the features introduced by the Java Vector API, resulting in high API coverage. We use JVBench to evaluate the performance and portability of the Java Vector API on multiple architectures supporting different vector instruction sets. We compare the performance of the Java Vector API on our benchmarks w.r.t. other semantically equivalent implementations, including scalar (non-auto-vectorized) Java code as well as Java code auto-vectorized by the Just in Time (JIT) compiler. Finally, we report patterns and anti-patterns on the use of the Java Vector API significantly affecting application performance.
Collections
Language
  • English
Classification
Computer science and technology
License
License undefined
Open access status
green
Identifiers
Persistent URL
https://n2t.net/ark:/12658/srd1325667
Statistics

Document views: 60 File downloads:
  • Basso_2023_ACM.pdf: 95