google / google/draco

Very long glb compression time

Open
#688 0 comments 0 reactions 1 assignee Claimed by @ondys View on GitHub
bug
Dominant language
C++
Stars
7.5k
Forks
1.1k
Avg merge
47m
Merged PRs (30d)
1

Description

Hi,

We compress glb files with draco with gltf-pipeline :
`gltf-pipeline -i file.glb -o output.glb --binary --draco.compresssMeshes --draco.quantizePositionBits 16 --draco.unifiedQuantization true --draco.compressionLevel 10`

With [this glb file](https://fromsmash.com/foiRaO-eeG-ct), draco compression took 45 min.
With [this glb file](https://fromsmash.com/1kjWyKmxlq-ct), draco compresion took 27 min.

We tried to use `--draco.compressionLevel 1`but compression time still remains the same.

We have an average compression time of 5min on 112 glb so we don't understand why the 2 glb above take so much time.

Our Draco compression run in a docker image `node:12-stretch-slim`

**Hardware Specifications**
- Debian 10
- CPU : Intel Xeon E3 1240v6 3,70GHz
- RAM : 32 GB

Thanks in advance !

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.