Code Monkey home page Code Monkey logo

flaxpdf's Introduction

FlaxPDF

FlaxPDF is a fast, nice multithreaded PDF viewer for the desktop.

As long as there are more pages than cores, every core will get a workout.

Light on dependencies, trimming borders, and aggressive caching are its major points. Okular and Evince are nice but heavy; and the point for starting this project, ePDFview, is dead.

EPDFview was nice and light, but lacking in a couple ways:

  • no caching, if you wanted to backtrack one page, it reloaded slowly

  • no automatic zoom to content/trim

Now with my main PDF viewer being dead, why not build a fresh one with those two itches scratched?

Requirements

Poppler, LZO, and FLTK 1.3.

Comparison

Evince 3.10.3, FlaxPDF 0.6.1 and ePDFview 0.1.8 were tested. The same document was scrolled repeatedly to check the cpu usage, the binary size was measured, as well as RAM use.

		CPU		RAM		Binary
Evince		90%		56.8 MB		507 KB (evince + libpdfdocument.so)
ePDFView	72%		46.3 MB		124 KB
FlaxPDF		57% (5% *)	36.5 MB		45 KB
  • To be fair to all, these measurements were done using the Vesa driver. FlaxPDF, as the only one of the three, is able to take advantage of the GPU, dropping its CPU use when scrolling to 5% (tested on radeon).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.