Better HN
topnewbestaskshowjobs
Log inSign up

nvdv

108 karma · joined May 19, 2016 (10y ago) · 12 submissions

Submissions

1.

Quick performance diagnostics(medium.com ↗)

3 points · by nvdv · 9y ago · discuss

2.

Generate Mondrian tiles(github.com ↗)

3 points · by nvdv · 9y ago · 1 comment

3.

Mondrianify – Generate Mondrian Tiles with Typescript(github.com ↗)

2 points · by nvdv · 9y ago · discuss

4.

Mapping string to color with d3(medium.com ↗)

2 points · by nvdv · 9y ago · discuss

5.

CPython memory management(medium.com ↗)

3 points · by nvdv · 9y ago · discuss

6.

How profilers work(hackernoon.com ↗)

1 points · by nvdv · 9y ago · discuss

7.

CPython memory management(medium.com ↗)

2 points · by nvdv · 10y ago · discuss

8.

Generate Mondrian tiles with Typescript(github.com ↗)

2 points · by nvdv · 10y ago · discuss

9.

CPython memory management(medium.com ↗)

5 points · by nvdv · 10y ago · discuss

10.

How profilers work(medium.com ↗)

3 points · by nvdv · 10y ago · discuss

comment 10y ago · link · parent

I haven't profiled any webapps yet, but you can profile functions inside your Flask app.

First you start profiler in remote mode

    vprof -r 
and then use vprof.profiler.run function:

    profiler.run(foo, 'cmh', args=(arg1, arg2), host='localhost', port=8000)
(replace host and port if you run your webappp on another maching with address of machine you run "vprof -r" on).

This will run profiler and send stats to server in JSON format.

12.

Visual profiler for Python(github.com ↗)

213 points · by nvdv · 10y ago · 36 comments