Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Use v8 for citeproc #3180

Closed
wants to merge 6 commits into from
Closed

[WIP] Use v8 for citeproc #3180

wants to merge 6 commits into from

Conversation

koppor
Copy link
Member

@koppor koppor commented Sep 1, 2017

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
Copy link
Member Author

koppor commented Sep 29, 2019

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