{"id":13568592,"url":"https://github.com/dendibakh/perf-book","last_synced_at":"2025-05-14T05:10:50.054Z","repository":{"id":45802351,"uuid":"435609557","full_name":"dendibakh/perf-book","owner":"dendibakh","description":"The book \"Performance Analysis and Tuning on Modern CPU\"","archived":false,"fork":false,"pushed_at":"2025-02-20T15:43:51.000Z","size":124870,"stargazers_count":2945,"open_issues_count":14,"forks_count":204,"subscribers_count":77,"default_branch":"main","last_synced_at":"2025-04-10T00:15:39.876Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://book.easyperf.net/perf_book","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dendibakh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"dendibakh","patreon":"dendibakh","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://paypal.me/DenisBakhvalov"]}},"created_at":"2021-12-06T18:45:43.000Z","updated_at":"2025-04-09T15:11:18.000Z","dependencies_parsed_at":"2024-01-31T14:25:27.860Z","dependency_job_id":"924fdedc-6135-4ba6-839d-2258d0a0c094","html_url":"https://github.com/dendibakh/perf-book","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dendibakh%2Fperf-book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dendibakh%2Fperf-book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dendibakh%2Fperf-book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dendibakh%2Fperf-book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dendibakh","download_url":"https://codeload.github.com/dendibakh/perf-book/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254076850,"owners_count":22010611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T14:00:28.784Z","updated_at":"2025-05-14T05:10:49.989Z","avatar_url":"https://github.com/dendibakh.png","language":"TeX","funding_links":["https://github.com/sponsors/dendibakh","https://patreon.com/dendibakh","https://paypal.me/DenisBakhvalov"],"categories":["TeX","Learning Resources","Learning Resources 📚","CPU_RISC-V","Linux生态圈Dev\u0026Ops工具与服务","Low Level Stuff"],"sub_categories":["Blogs 🖋️","资源传输下载","Lists of programming projects to try to implement"],"readme":"[![X (formerly Twitter) Follow](https://img.shields.io/twitter/follow/dendibakh)](https://twitter.com/dendibakh)\n![GitHub Repo stars](https://img.shields.io/github/stars/dendibakh/perf-book)\n\n# \"Performance Analysis and Tuning on Modern CPUs\" by Denis Bakhvalov, et al.\n\n## Building a book (pdf)\n\nAt the moment, building the PDF book only works on Windows and Linux. MacOS requires building some components (e.g. pandoc-crossref) from sources.\n\nRequirements:\n\n * Python3. Install natsort module: `pip install natsort`.\n * [Pandoc](https://pandoc.org/installing.html). Install [version 2.9](https://github.com/jgm/pandoc/releases/tag/2.9.2.1)\n * `pandoc-fignos` and `pandoc-tablenos`. Run `pip install pandoc-fignos pandoc-tablenos`.\n * `pandoc-crossref`. This one requires manual installation. I just downloaded the binary from [here](https://github.com/lierdakil/pandoc-crossref/releases/tag/v0.3.6.4) and copied it to the same place where `pandoc-fignos` is.\n * [MiKTeX](https://miktex.org/download). Check `Yes` for automatic package installation.\n\nRun:\n```bash\n# Linux bash and Windows cmd prompt\npython export_book.py \u0026\u0026 pdflatex book.tex \u0026\u0026 bibtex book \u0026\u0026 pdflatex book.tex \u0026\u0026 pdflatex book.tex\n\n# Windows powershell\nfunction Run-Block-With-Error($block) {\n    $ErrorActionPreference=\"Stop\"\n    Invoke-Command -ScriptBlock $block\n}\nRun-Block-With-Error {python.exe export_book.py; pdflatex book.tex; bibtex book; pdflatex book.tex; pdflatex book.tex}\n```\n\nAs a result, `book.pdf` will be generated. The first compilation may be slow.\n\n## License\n\n[Creative Commons Zero v1.0 Universal](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdendibakh%2Fperf-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdendibakh%2Fperf-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdendibakh%2Fperf-book/lists"}