{"id":18585353,"url":"https://github.com/tyhopp/markdown-to-html","last_synced_at":"2025-05-16T06:09:02.081Z","repository":{"id":44980012,"uuid":"431433284","full_name":"tyhopp/markdown-to-html","owner":"tyhopp","description":"API with Rust and Node implementations","archived":false,"fork":false,"pushed_at":"2022-01-15T03:52:41.000Z","size":68,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-17T16:52:29.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tyhopp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-24T10:05:40.000Z","updated_at":"2021-12-17T08:49:54.000Z","dependencies_parsed_at":"2022-09-24T21:41:38.480Z","dependency_job_id":null,"html_url":"https://github.com/tyhopp/markdown-to-html","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Fmarkdown-to-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Fmarkdown-to-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Fmarkdown-to-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Fmarkdown-to-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyhopp","download_url":"https://codeload.github.com/tyhopp/markdown-to-html/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254478193,"owners_count":22077676,"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-11-07T00:33:16.766Z","updated_at":"2025-05-16T06:09:02.057Z","avatar_url":"https://github.com/tyhopp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# markdown-to-html\n\nAPI that transforms markdown into HTML. It has implementations in [Rust](./rust/README.md) and [Node](./node/README.md).\n\nThe goal is to compare the performance of a typical endpoint in each language. The benchmark should be read as a ballpark figure rather than a rigorous test.\n\nKey results:\n\n- **Node** implementation can handle roughly **0.9k to 1k requests per second**\n- **Rust** implementation can handle roughly **13k to 14k requests per second**\n\nThings to consider:\n\n- The underlying libraries used are entirely different\n- Only one benchmarking tool was used on a single local machine\n- I am more familiar with Node than Rust\n\n## Usage\n\nSee respective [Rust](./rust/README.md) and [Node](./node/README.md) READMEs for usage.\n\n## Benchmark\n\nBenchmarking is done with [ApacheBench](https://httpd.apache.org/docs/2.4/programs/ab.html), which is built into macOS and [can be installed on Windows systems](https://httpd.apache.org/docs/2.4/platform/win_compiling.html).\n\nTo execute the benchmark, see instructions in the [Rust](./rust/README.md) and [Node](./node/README.md) READMEs. Generally you will:\n\n- Make sure one of the servers (Node or Rust) is running at `http://localhost:3000`\n- In the benchmark directory, run `bash benchmark.sh`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyhopp%2Fmarkdown-to-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyhopp%2Fmarkdown-to-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyhopp%2Fmarkdown-to-html/lists"}