mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-11-22 21:17:33 +00:00
David Vogel
65f7cb4e60
- Use QuickSelect algorithm for median filtering - Use lists of uint8 instead of int for median filtering - Fix GridifyRectangle - Remove HilbertifyRectangle - Add profiling.go - Remove Profile.bat - Add median blend tile-limit flag - Print stitch duration - Reduce StitchedImage cache image height - Reduce StitchedImageCacheGridSize - Improve StitchedImage caching - Improve ImageTile caching - Separate entity and entities - Update stitcher README.md - Add comments
22 lines
558 B
Go
22 lines
558 B
Go
// Copyright (c) 2022 David Vogel
|
|
//
|
|
// This software is released under the MIT License.
|
|
// https://opensource.org/licenses/MIT
|
|
|
|
package main
|
|
|
|
import (
|
|
_ "net/http/pprof"
|
|
)
|
|
|
|
func init() {
|
|
/*port := 1234
|
|
|
|
go func() {
|
|
http.ListenAndServe(fmt.Sprintf(":%d", port), nil)
|
|
}()
|
|
log.Printf("Profiler web server listening on port %d. Visit http://localhost:%d/debug/pprof", port, port)
|
|
log.Printf("To profile the next 10 seconds and view the profile interactively:\n go tool pprof -http :8080 http://localhost:%d/debug/pprof/profile?seconds=10", port)
|
|
*/
|
|
}
|