bytedeco/javacpp

Loading native libraries on Windows 10 takes a long time

Open

#452 ouverte le 31 janv. 2021

Voir sur GitHub
 (21 commentaires) (0 réactions) (0 assignés)Java (620 forks)batch import
help wantedquestion

Métriques du dépôt

Stars
 (4 279 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I am using javacpp/ffmpeg on Windows 10 (2004) and found that loading the native libraries takes longer for Javacpp version 1.5.4 in comparison to 1.5.3. On 1.5.4 it takes roughly 7 seconds to load the libraries, which is in contrast to the 1.5 seconds version 1.5.3 takes.

In the gist below you find timestamped logs of the native libraries being loaded. Without having looked at the loader sources I am surprised to find that more time is spent in loading api-ms-win-crt-*

https://gist.github.com/edwinRNDR/676ea1a75548b31edc07cd699010f75e

Guide contributeur