Giter Site home page Giter Site logo

redpandaqaq / perf-book Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dendibakh/perf-book

0.0 0.0 0.0 24.66 MB

The book "Performance Analysis and Tuning on Modern CPU"

Home Page: https://book.easyperf.net/perf_book

License: Creative Commons Zero v1.0 Universal

Python 15.79% TeX 84.21%

perf-book's Introduction

Build PDF Windows Build PDF Linux

X (formerly Twitter) Follow GitHub Repo stars

perf-book

This is a repository with source files of the book "Performance Analysis and Tuning on Modern CPU" by Denis Bakhvalov, et al.

Second edition work in progress! Planned changes are outlined in the google document. The planned new table of contents is in new_toc.md.

My goal is to accumulate as much knowledge as possible from all the best experts in the industry. And of course, share that knowledge with you. Contributions are welcome.

Contributing

There are many ways how you can help.

  • You can author a section(s) on a topic you are an expert in. But let me know before you start.
  • Small improvements are welcome without prior approval, just open a new PR.
  • Feel free to propose ideas for new content.
  • Reviewers with all backgrounds are needed.

Check out the discussions page to start.

For examples on how to add images, table, code listings, etc, see how-to.md.

Building a book (pdf)

At the moment, building a PDF only works on Windows and Linux. MacOS requires building some components (e.g. pandoc-crossref from sources).

Requirements:

  • Python3. Install natsort module: pip install natsort.
  • pandoc - install version 2.9.
  • install pandoc filters: pip install pandoc-fignos pandoc-tablenos
  • install pandoc-crossref. This one requires manual installation. I just downloaded the binary from here and copied it to the same place where pandoc-fignos is.
  • MiKTeX - check Yes for automatic package installation

Run:

# Linux bash
python export_book.py && pdflatex book.tex && bibtex book && pdflatex book.tex && pdflatex book.tex

# Windows Powershell
function Run-Block-With-Error($block) {
    $ErrorActionPreference="Stop"
    Invoke-Command -ScriptBlock $block
}
Run-Block-With-Error {python.exe export_book.py; pdflatex book.tex; bibtex book; pdflatex book.tex; pdflatex book.tex}

As a result, book.pdf will be generated. The first compilation may be slow due to the installation of required packets.

License

Creative Commons Zero v1.0 Universal

perf-book's People

Contributors

dendibakh avatar aaupov avatar cf-natali avatar alois-xx avatar denisbakhvalov avatar jan-wassenberg avatar chusab avatar thewatchmen avatar thetheodor avatar thanelmas avatar

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.