Skip to content

[WIP] Use v8 for citeproc#3180

Closed
koppor wants to merge 6 commits into
masterfrom
use-V8-for-citeproc
Closed

[WIP] Use v8 for citeproc#3180
koppor wants to merge 6 commits into
masterfrom
use-V8-for-citeproc

Conversation

@koppor

@koppor koppor commented Sep 1, 2017

Copy link
Copy Markdown
Member

This is a try to get the V8 engine into JabRef. This is a follow up to #2250, where a discussion of this is made.

V8 requires different JARs to be built as the V8 JARs are platform dependent. This is not easily possible and the stackoverflow question has no answer directly applicable.

Open issues:

  • Produce multiple fat jars
  • Integration in install4j
  • Update of the homepage

Context: When a user uses a preview based on citation styles, the preview gets slow:

grafik

To illustrate the performance gain, I made two videos using screentogif:

without V8

without-v8

with V8

with-v8

  • Change in CHANGELOG.md described
  • Tests created for changes
  • Screenshots added (for bigger UI changes)
  • Manually tested changed features in running JabRef
  • Check documentation status (Issue created for outdated help page at help.jabref.org?)
  • If you changed the localization: Did you run gradle localizationUpdate?

shitikanth and others added 6 commits April 17, 2017 18:17
Add a dependency to com.eclipsesource.J2V8 (Java Bindings for V8) in build.gradle. Citeproc-java detects that V8 is present in the classpath and starts using it automatically.
# Conflicts:
#	build.gradle
#	external-libraries.txt
@koppor

koppor commented Sep 29, 2019

Copy link
Copy Markdown
Member Author

Alternative could be https://github.com/graalvm/graaljs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants